Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [FIXED] 1.2.1 FormPanel.isValid() when using nested TabPanels

  1. #11
    Sencha User
    Join Date
    Mar 2009
    Denver, CO


    Sven, this is interesting. I just took shermdog01's "Full Source" from the original post, plugged it into a new GWT project running with GXT 2.0.1, and the problem is there. I made no modifications to shermdog01's code whatsoever.

    Bring up the app in hosted mode, click on the Submit button for the tabbed form panel example, and you will see that initially the form is invalid. Now click on the "Phone Numbers" tab, then the Submit button again. The form is now valid. This tells me that the "valid" attributes for the fields (and, thus, the formpanel) aren't being computed until the tab (or, more precisely the form fields?) are rendered.

    Note, this test code does not use setDeferredRender(false) on the TabPanel. When you do use setDeferredRender(false), this solves the problem. So, my question is are you saying this problem doesn't happen in GXT 2.0.1 IFF you use setDeferredRender(false) on the TabPanel?

    Now, the interesting part. In my app, I see the exact opposite behavior (again, running GXT 2.0.1), but I'll wait to describe that until I hear your response (hoping you can try the same thing above with shermdog01's example code) on the above first.


  2. #12
    Sencha Premium Member
    Join Date
    Sep 2007


    You will need to disable deferred rendering. This is also documented. I suggest to use the help forum.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts