1. #11
    Ext User
    Join Date
    Mar 2009
    Location
    France, Montpellier
    Posts
    8
    Vote Rating
    0
    a1ex is on a distinguished road

      0  

    Default


    Finally, I thought of something : All my tests were on Host mode.
    I make a test on web mode (with FF) : it's working fine.
    That's all what I need.
    I know that some widgets do not work correctly on hosted mode.

    Thanks for your help.

  2. #12
    Ext User
    Join Date
    Nov 2008
    Location
    Russia, Siberia, Krasnoyarsk
    Posts
    23
    Vote Rating
    0
    dima_toxsoft is on a distinguished road

      0  

    Default


    A1ex, not at all!
    But i test my appliction on FF, Opera and IE in host mode too, it works.
    P.S. Sorry for my poor English.

  3. #13
    Ext User
    Join Date
    Mar 2009
    Location
    France, Montpellier
    Posts
    8
    Vote Rating
    0
    a1ex is on a distinguished road

      0  

    Default


    hum ... You're right. My tests are KO on IE6.
    So i don't know ...
    May be the version. I don't try on 1.2.2.
    Only 1.2.3 and 1.2.4.

    I'm fed up, i will see that later.

    ps : don't worry for your english.

  4. #14
    Sencha User Greffin's Avatar
    Join Date
    Sep 2009
    Location
    Haugesund, Norway
    Posts
    25
    Vote Rating
    0
    Greffin is on a distinguished road

      0  

    Default


    I don't know if anybody is still wondering about this...
    I found the need for this functionality myself, so I made a couple of overrides to the Ext.form.FieldSet component, which works great.
    In the interest of sharing, perhaps somebody else can use this as well.

    Code:
    Ext.form.FieldSet.prototype.getCheckbox = function()  {
      return this.checkbox;
    }
    
    Ext.form.FieldSet.prototype.getValue = function() {
      return this.getCheckbox().dom.checked;
    }
    
    Ext.form.FieldSet.prototype.setValue = function(value) {
      this.getCheckbox().dom.checked = value;
      this.onCheckClick();
    }
    This introduces three new methods on the FieldSet class:
    • getCheckbox returns a html input type element
    • getValue returns either true or false depending on the state of the checkbox
    • setValue will set either true or false to the input type CHECKED attribute.
    Enjoy.

  5. #15
    Ext User
    Join Date
    Jan 2009
    Posts
    14
    Vote Rating
    0
    festr is on a distinguished road

      0  

    Default


    Is it possible to call setValue within getForm().loadRecord(..) ? It seems that the checkbox should be valid Ext field object to support loadRecord.

  6. #16
    Ext User
    Join Date
    Jan 2009
    Posts
    14
    Vote Rating
    0
    festr is on a distinguished road

      0  

    Default


    test