Cristi, See below.
Cristi Toth wrote:
Hi, I am using a <t:panelTabbedPane> with serverSideTabSwitch turned on I have some input fields on a tab and others on another tab. If I enter some data into the first tab's fields, then switch to the other tab and then submit the form, the first tab's data is not submitted!!! How to make the tab switching submit the form? (like an immediate="false")
Try: 1) Putting the tabs in the form 2) Putting the submit buttons outside the form. Use the buttons "render" attribute to control when it is displayed.
And another curious thing on tabs: I have some data shown on a tab (not the first tab) and I want it loaded (from DB) only when the tab is shown. So I load the data in the getter of a property of a field in that tab. But the getter is called up even if the tab is not yet shown and serverSideTabSwitch is turned on!!! Why?
In general getters are called may time, even when the element is NOT rendered. The "why" is defined in the JSF spec. In short, limit the amount of work done in getters. In many cases the work can be moved to listeners.
Thanks for any help! Cristi ------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.22/590 - Release Date: 12/16/2006 5:39 PM
Paul Spencer

