Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    178
    Vote Rating
    2
    TampaBay55 is on a distinguished road

      0  

    Default Access Field Value After Form Load

    Access Field Value After Form Load


    Gurus:

    I need your help with this. I am struggling with concepts and I am not sure if I strayed off course and gone into analysis paralysis. My goal is simple.....assign the value of CLI_RECORDID to a local variable after the form load. I thought I had it earlier but I celebrated too quickly.

    Code:
     var cliRecord = Ext.data.Record.create([
        {name:'CLI_RECORDID'},        
        {name:'CLI_CLIENTCODE'},
      ]);              
      var cliReader = new Ext.data.JsonReader({
        id        :'CLI_RECORDID',
        root      :'RECORD'    
      },cliRecord);         
      var cliRecordID = new Ext.form.Field({
        name      :'CLI_RECORDID',
        hidden    : true
      })
      var cliClientCode = new Ext.form.Field({
        fieldLabel: 'Client Code',
        name      : 'CLI_CLIENTCODE',
        width     : 140    
      });  
      cliFormPanel.on('load',function(){
        var cliDataID = ???????  <============Everything I've tried here has led me to disappointment.
      };
      cliFormPanel.getForm().load({
         url:'clidatahandler.json',
         method: 'GET',
         waitMsg:'Loading Data...'
      });
    I throw myself on your mercy. Thanks.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    What... what what on EARTH are you attempting with all that random code?

    What are those first 17 lines there for???

    According to the API docs, what events do FormPanel and BasicForm expose?

    Hint: Use the "Hide Inherited Members" button to filter out inherited members.

    Which event do yoiu think might be useful?

Thread Participants: 1