1. #151
    Ext User
    Join Date
    Jul 2007
    Posts
    6
    Vote Rating
    0
    kenshinlk is on a distinguished road

      0  

    Default


    I find one bug about data initialization.
    When I add store property to the combo just like this below,it seems fine.
    Code:
    {
        xtype : "combo",
        mode : "local",
        fieldLabel : "Text",
        name : "combovalue",
        hiddenName : "combovalue",
        valueField : "value",
        displayField : "text",
        store : /*BEGIN*/new Ext.data.SimpleStore({ fields: ['value', 'text'], data: [[0,'YES'],[1,'NO']]})/*END*/
      }
    and then,i save this config to the database.But when i load the config from database again to the page,and using
    Code:
    designer.setConfig(/*config loaded from database*/);
    I found that the store property will become to null.
    Code:
    {
        xtype : "combo",
        mode : "local",
        fieldLabel : "Text",
        name : "combovalue",
        hiddenName : "combovalue",
        valueField : "value",
        displayField : "text",
        store : /*BEGIN*/null /* Class  has no initialConfig *//*END*/,
      }

    Hope that I can describe the bug clearly.

  2. #152
    Ext User
    Join Date
    May 2008
    Posts
    27
    Vote Rating
    0
    dahool is on a distinguished road

      0  

    Default loading message

    loading message


    Hi all, I made a simple hack to show a 'Loading' message.

    It has, loadMask (true by default), msg and msgCls.

    The zip contains the modified Ext.ux.JsonPanel.js and also a diff patch.

    It is based on beta 3.

    Regards.
    Attached Files

  3. #153
    Ext User
    Join Date
    Aug 2007
    Posts
    119
    Vote Rating
    0
    sierk is on a distinguished road

      0  

    Default


    Quote Originally Posted by dahool View Post
    Hi all, I made a simple hack to show a 'Loading' message.

    It has, loadMask (true by default), msg and msgCls.

    The zip contains the modified Ext.ux.JsonPanel.js and also a diff patch.

    It is based on beta 3.

    Regards.
    Thanks for the fix will put it into the next release.

    Sierk

  4. #154
    Sencha User
    Join Date
    Jun 2007
    Posts
    125
    Vote Rating
    1
    bhaidaya is on a distinguished road

      0  

    Default


    Coming along nicely!

    FYI - I get an error
    Failed to update elementTypeError: invalid 'instanceof' operand Ext.form.Form
    when i do a layout using this JSON:
    /* This file is created with Ext.ux.plugin.GuiDesigner */
    PHP Code:
    {
    layout "border",
    items : [{
        
    region "center",
        
    title "test center"
      
    },{
        
    region "west",
        
    title "test west",
        
    width 250,
        
    height /*BEGIN*/null/*END*/,
        
    split true,
        
    collapsible false,
        
    titleCollapse true,
        
    layout "anchor",
        
    items : [{
            
    title "logo",
            
    layout "auto",
            
    anchor "100% 8%"
          
    },{
            
    title "main"
          
    }]
      }]



    and after changing any property on any panel ( specifically west logo panel anchor )

  5. #155
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    528
    Vote Rating
    0
    Eric24 is on a distinguished road

      0  

    Default


    A truly useful tool--Great work! Something that I believe would be very valuable is to limit (or as least mark in some way) the list of available config options that can be applied to only those that pertain to the selected component.

  6. #156
    Ext User
    Join Date
    Mar 2008
    Posts
    8
    Vote Rating
    0
    epsylon is on a distinguished road

      0  

    Default


    Hello!

    What you think - When you release version with "Load and save function including backend"? That simply suggestion that i wrote you in private - you should use it?

  7. #157
    Ext User
    Join Date
    Aug 2007
    Posts
    119
    Vote Rating
    0
    sierk is on a distinguished road

      0  

    Default


    Quote Originally Posted by Eric24 View Post
    A truly useful tool--Great work! Something that I believe would be very valuable is to limit (or as least mark in some way) the list of available config options that can be applied to only those that pertain to the selected component.
    This is allready build in the code, but i did not find the time yet to go trough all the options (Ext.ux.plugin.Desginer.Properties.josn) and add the instanceof property. If this property is set it will only be shown for those instance. If you have the time to help you are welcome.

    Sierk

  8. #158
    Ext User
    Join Date
    Aug 2007
    Posts
    119
    Vote Rating
    0
    sierk is on a distinguished road

      0  

    Default


    Quote Originally Posted by kenshinlk View Post
    I find one bug about data initialization.
    When I add store property to the combo just like this below,it seems fine.
    Code:
    {
        xtype : "combo",
        mode : "local",
        fieldLabel : "Text",
        name : "combovalue",
        hiddenName : "combovalue",
        valueField : "value",
        displayField : "text",
        store : /*BEGIN*/new Ext.data.SimpleStore({ fields: ['value', 'text'], data: [[0,'YES'],[1,'NO']]})/*END*/
      }
    and then,i save this config to the database.But when i load the config from database again to the page,and using
    Code:
    designer.setConfig(/*config loaded from database*/);
    I found that the store property will become to null.
    Code:
    {
        xtype : "combo",
        mode : "local",
        fieldLabel : "Text",
        name : "combovalue",
        hiddenName : "combovalue",
        valueField : "value",
        displayField : "text",
        store : /*BEGIN*/null /* Class  has no initialConfig *//*END*/,
      }

    Hope that I can describe the bug clearly.
    You set the code (setConfig) as a object (so it is allready evaluated by JavaScript) and not as String. When you set the code as string we do the evaluation and can determin the code of an object, so it can be used in designer. If you pass us an object we try to find the constructor of object to recreated the code. In your case we cannot reconstruct the code and therefor you get the message Class has no initialConfig .

    Solution just add the code as String or call the loadConfig(url) method which will be available in new release (2.0.4).


    Sierk
    Last edited by sierk; 21 Jun 2008 at 5:46 AM. Reason: Created feedback after private message

  9. #159
    Ext User
    Join Date
    Jun 2008
    Posts
    94
    Vote Rating
    0
    peacock is on a distinguished road

      0  

    Default


    very good
    thank!

  10. #160
    Ext User
    Join Date
    Aug 2007
    Posts
    119
    Vote Rating
    0
    sierk is on a distinguished road

      0  

    Default Version 2.0.4 Release

    Version 2.0.4 Release


    Hi all,

    Just before my holiday util end of july a new release. Not everthing i wanted to finish has finished but the code is stable, therefor i decided to release it. Next release 2.0.5 will be the documentation and code cleaning release (august).

    Then in september i will start with version 2.1 which will include databinding options.

    Version 2.0.4:
    + Loading indicator
    + Documentation window added under Question Mark
    + Added loadConfig method for loading from URL
    + Added autoLoad option in config to load json from URL
    + Added Cookie files
    - Remove debug message Created, for special scope objects
    * Config is now shown in window
    * Fixed layout problem

    Sierk

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."