Search Type: Posts; User: steffenk

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. Hey,

    this looks nice. I only would use expressions in strings like

    $filter->value = "'{$filter->value}'";

    With date filter you rely on Y-m-d - doesn't look generic :)
  2. dirty flag wasn't handled correct in Ext3 with all field types.
    Therefore i extended the basic form having a clearDirty function, which enumerates all fields and
    clears the dirty, it's like this:...
  3. Replies
    21
    Views
    6,518
    There would be a way to print charts, just as highcharts does. Using batik (batik-rasterizer.jar) it is possible to get the rendered chart into any kind of export:
    ...
  4. use an iframe like this:


    Ext.Ajax.request ({
    url : 'askfordownload',
    timeout : 30 * 60 * 1000, // 30 Minutes should be OK.
    scope : this,
    params : Ext.applyIf(params,...
  5. I'm with you ;) And if 20 people copy it and use it, it doesn't make the wording better :D

    I like toString, it's used in many dialects and is clear and selfdescribing.
    a = mystify(b); :D
  6. the legal way is to post the request to a script (eg php) and this script sends filecontent with file header.
  7. Replies
    12
    Views
    2,782
    it's in the docs



    var tabs = Ext.create('Ext.tab.Panel', {
    width: 400,
    height: 400,
    renderTo: document.body,
    items: [{
    title: 'Home',
  8. Replies
    43
    Views
    5,084
    i absolutely second this. Why not using one tracker, public? I highly recommend YouTrack as it's so fast, best filtering ever.
    reporting bugs here in forum doesn't make sense in the meantime, it was...
  9. Mitchell, surely i try to adapt the Ext way of MVC. But from concept it's all the same.

    I see some limitations in Ext way which are mainly
    * delegating events in controller refs prevent multiple...
  10. maybe a tasty decision ;)

    In php eg the controllers do nothing more than dispatch or delegate, mostly very small ones.

    Most of the actions do any calculation of data, and they are in stores. So...
  11. there are several ways. I prefer to have each control in a single view, and then one view which adds the controls to it's items. This way you can reuse each of the controls.

    Other way would be to...
  12. you make a simple mistake, and if you would inspect "this" when firebug breaks you would see that "this" is your button, which indeed has no method "setInRange"

    This male it work:

    ...
  13. Replies
    14
    Views
    4,254
    but there is anoher way:


    chart.series.clear();

    important to know that chart.series is a MixedCollection.
  14. Replies
    14
    Views
    4,254
    it's a bit tricky, and i'm not sure if this is a bug.


    chart.series.removeAll(chart.series.items);

    I do not understand why removeAll needs an argument.
    Or naming is wrong, should read...
  15. Replies
    9
    Views
    3,089
    i always puzzle it - sure you "enable" cache by setting disableCache to false (brrr).
    So you don't see any more the ?_dc=... with the files to load. Otherwise firebug thinks it's a different file...
  16. Replies
    9
    Views
    3,089
    you have to disable the cache in Ext.loader otherwise BPs are lost.
  17. there is no better way. If you have static items you may create them in initComponent. You might code them direct or use a factory method.
    For dynamic creations you sometimes need informations you...
  18. you should get it with el.dom.value, just browse the element in firebug or other consoles
  19. Sure you can use one store several time.
    Don't expect duplicate events, but you can listen everywhere to the store's load event so it can trigger many things.


    Component1
    this.store.on('load',...
  20. Replies
    5
    Views
    1,439
    exactly. I sent this link as everything is described there. Change all AJAX request globally, add your own params etc. This is exactly what OP asked for.
  21. Replies
    5
    Views
    1,439
    http://docs.sencha.com/ext-js/4-0/#/api/Ext.Ajax
  22. Replies
    5
    Views
    1,195
    why do you use renderTo? Did you tried to use the draw component direct as item?

    this.items = [{
    xtype: 'draw',
    itemId: 'map',
    border: 0,
    listeners: {
    afterrender: this.fillMap
    ...
  23. Replies
    1
    Views
    523
    Hi,

    i have a panel with 2 items in vbox, a carousel and a list.
    To have it completely scrollable, i disabled scrolling in list and have set the panel to scroll: 'vertical'

    Now the effect: in...
  24. You should do this with a simple Ajaxrequest. Just ask for a timestamp and compare it with the saved one in a special settings store. If timestamp is higher, load your store with data.

    To have it...
  25. Replies
    7
    Views
    2,493
    it's nothing special, just


    this.mediaPlayer = new Ext.Audio({
    url : src,
    renderTo : document.body,
    enableControls : false
    });
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4