PDA

View Full Version : tabPanel.setDeferredRender(false) does not work



pepgrifell
25 Mar 2009, 11:58 PM
Hi,

I have a window with a TabPanel with 3 TabItem's nad with fields in each TabItem. When I create the TabPanel I call tabPanel.setDeferredRender(false). The API says that:

"Setting to false would be useful when using forms as validation would need to be applied to all children even if they had not bee selected."

When I open the window, I show the first tab. If I try to call formPanel.isValid() it returns false, because the fields in second and thir tab haven't been rendered. The problems (by now) are with Comboboxes. They have a value of the list set, but when isValid() method is called, it returns false, as isValid() method gets the value using getRawValue() method, and this method returns "" although combobox.getValue() returns the Object selected.

This is a known bug ? I have read that it happened the same to someone with the Checkbox field.

Thanks,
pep.

cormet
25 Apr 2009, 6:23 AM
I am having the same problem.

GXT: 1.2.3
GWT: 1.5.3

Cheers,