On 3/23/06, Hagay Avisar <[EMAIL PROTECTED]> wrote:
> Does <t:saveState> requires submitting the page? Cause I can see that the
> data I have insert in input text in tab1 does not update the value in my
> Bean….
Yes. t:saveState is a server-side process, not a javascript trick.
On 3/23/06, Hagay Avisar <[EMAIL PROTECTED]> wrote:
> How can we do submit and navigation in same time?
<UICommand action="#{myBean.myAction}>
In myBean.myAction, do your submit logic. Then return a String that
indicates what page to navigate to next (or null to stay on the same
page).
> How can I update bean from couple of pages when I am navigating from one
> page to the other?
Use a request-scoped bean and use t:saveState to recreate it each page.
Or use a session-scoped bean.
> Why the data I insert in one page doesn't save in bean when I navigate to
> other page?
Not enough information to guess.