Hybrid View

  1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    20
    Vote Rating
    0
    cormet is on a distinguished road

      0  

    Default GXT 1.2.4 Multi tabs FormPanel Validation

    GXT 1.2.4 Multi tabs FormPanel Validation


    Hi All,

    I am still having the same problem on formpanel validation in mutiple tabs situation.
    Each Tabs Item had it's own formpanel and when user click a button, the events basically
    get each of the formpanel and called isValid().

    As well, The tab panel is using getLayout().setDeferredRender(false).
    It looks like the setDefferentRender does not work.

    For testing purpose:
    * I click button which trigger validation on both formpanel, it does not work.
    * I click on other tab item and then click on button which trigger validation on both formpanel, the validation is working.

    Any suggestion how to get around this?

    Cheers,

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Yes, the problem is within layouting nested, not visible panels. Also this was reported several times. There is no need to open a new thread for that.

  3. #3
    Ext User
    Join Date
    Nov 2008
    Posts
    36
    Vote Rating
    0
    monzonj is on a distinguished road

      0  

    Default


    I would recommend that you perform validation before changing tabs. If the form is valid, you allow to change the tab, otherwise, you stay in the same tab until the form is validated.

    You can do this implementing some tab's listeners

  4. #4
    Ext User
    Join Date
    Feb 2009
    Posts
    5
    Vote Rating
    0
    jhontue is on a distinguished road

      0  

    Question


    Hi,

    I am still having the same issue with form validation, the form is not valid until all tabs with validation perform have been rendered. Do you have any solution to that ?

    I have tried tabPanel.setDeferredRender(false) but it doesn't works.

    Any suggestion?

    Eduardo

  5. #5
    Ext User
    Join Date
    Apr 2007
    Posts
    20
    Vote Rating
    0
    cormet is on a distinguished road

      0  

    Default


    I haven't found any solution to this and hopefully migrating to GXT 2.0.1 will fixed it. but still having a lot of issues on migration to it.

  6. #6
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    0
    Arno.Nyhm is on a distinguished road

      0  

    Default


    you can switch to the tab each time before you call the isValid() on the tab

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar