Hi Paul,

3)My backing-bean has request scope indeed , but I use <t:saveState> on that
page.
1)The tabs and the button are already in the form.
I forgot to mention that the submit button is out of the tabbed panel, so I
can click it no matter what tab is selected.
So in fact, what I want is to be able to submit the data from within all the
tabs, when I click the submit button.
For example: I enter some data into the first tab, go to the second one and
enter some data, then submit.
And I want the first tab's data to be submitted too (probably when the tab
is switched).

Thanks for helping!

Cristi

On 12/18/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Cristi,
Below are some correction to my previous response and additional
information.

Paul Spencer wrote:
> 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.
>
#2 is optional.  The submit button can be on a form.

3) What is the scope of the managed bean, I suspect it is request.
   In that case you can either change the scope of the bean, or use
   a dialog manager like Shale's dialog manager[1].

>>
<snip>
>> Thanks for any help!
>> Cristi
>>
>>
>
> Paul Spencer
>

Paul Spencer

[1] http://shale.apache.org/shale-dialog/index.html

Reply via email to