1. #1
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default New Validation message type: 'side' (screenshot)

    New Validation message type: 'side' (screenshot)


    New validation msgTarget of "side" displays an icon and this nice formatted quick tip (going into SVN tonight):

    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  2. #2
    Developer... jon.whitcraft's Avatar
    Join Date
    Mar 2007
    Posts
    391
    Vote Rating
    0
    jon.whitcraft is on a distinguished road

      0  

    Default


    AWESOME!!
    Jon
    Lead Internal Application Engineer - SugarCRM
    h2ik.co

  3. #3
    Ext User brian's Avatar
    Join Date
    Mar 2007
    Posts
    57
    Vote Rating
    0
    brian is on a distinguished road

      0  

    Default


    very niiice!

  4. #4
    Sencha User trbs's Avatar
    Join Date
    Mar 2007
    Posts
    310
    Vote Rating
    0
    trbs is on a distinguished road

      0  

    Default


    Great work Jack !

    this looks very very good, and the rounded qtips are just stunning

  5. #5
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    60
    Vote Rating
    0
    justheatingup is on a distinguished road

      0  

    Default


    Hot!

  6. #6
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    The shadow is still kind of square, but not much I could do there. :/
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  7. #7
    Ext JS Premium Member mikegiddens's Avatar
    Join Date
    Mar 2007
    Location
    Denver, Colorado
    Posts
    273
    Vote Rating
    1
    mikegiddens will become famous soon enough

      0  

    Default


    This is a much better improvement then the old text under the field idea. Much cleaner. Do you sleep? hahah

    I have been playing with the new forms stuff and have to say I love it greatly. My questions is will there be a way to hook up a Data.store to the form to load values from server side and map the the form.fields when creating a form dynamically? [Fingers Crossed]
    Mike Giddens
    =======================
    Opportunity is missed by most people because it is dressed in overalls and looks like work - Thomas Edison

  8. #8
    Ext JS Premium Member mikegiddens's Avatar
    Join Date
    Mar 2007
    Location
    Denver, Colorado
    Posts
    273
    Vote Rating
    1
    mikegiddens will become famous soon enough

      0  

    Arrow


    Well after looking at the new form code I realized there is a load function and I must say SWEEEEETTTNNESSSS.

    So I have this nice attachment that shows the data loaded from serverside text field and 2 combo boxes.

    Here is what I used to load my data:

    PHP Code:
            simple.render('myForm');
        
    simple.load({
                
    url 'server/load_object.php',
                
    waitMsg 'Loading Data...'
        
    }); 
    NOTE: If you do not include the waitMsg it gets suppressed.

    And here is what I am sending.

    Code:
    { 
    	success:true, 
    	data:{label:'Cool',type:'ComboBox',value_type:'Feet'}
    }
    So my question now is my combo boxes have id's and was trying to see how to pass the id to match in the combo box's that use a local SimpleStore. I guessed on the response format and it seems to work but was wondering if there is anything else I need include?
    Mike Giddens
    =======================
    Opportunity is missed by most people because it is dressed in overalls and looks like work - Thomas Edison

  9. #9
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    It looks like you pretty much have it. Yours is the default format for a load and there is an alternative format of:

    Code:
    {success:true,
     data: [
        {id: 'label', value:'Cool'},
        {id: 'type', value:'Combobox'},
        {id: 'value_type', value:'Feet'}
     ]
    };
    Also, the field matching is pretty exhaustive. There search order it uses to find your field are:

    dataIndex: config value can be set on the field. useful for mapping to data stores as you suggested
    id: the field's id property
    name: the field's name
    hiddenName: for fields that have a hidden field

    Direct binding to a data store isn't currently available, however it could be done with very little code. Another example I am working on will have a helper class that will make it trivial. The setValues function of the form can use a record's data directly:

    form.setValues(record.data);
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  10. #10
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    One more thing to note. The form actions API (e.g. 'load' and 'submit') is designed to allow custom actions to be plugged in. Take a look at Ext.form.Action (Action.js) and you will see where they are defined. Similar to the data and store stuff, this should allow easy integration with other frameworks such a DWR.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

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..." hd porno faketaxi