How can we do submit and navigation in
same time?
How can I update bean from couple of pages
when I am navigating from one page to the other?
Why the data I insert in one page doesnt save
in bean when I navigate to other page?
(Each tab is rendered as iframe).
From: Hagay Avisar [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 23, 2006
1:19 PM
To: MyFaces Discussion
Subject: RE: Update ManageBean
from different pages.
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
.
From: Murat Hazer
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006
10:24 PM
To: MyFaces Discussion
Subject: Re: Update ManageBean
from different pages.
<t:savestate> is a
good practice, also you should make your backing bean session scoped.
On 3/22/06, CONNER,
BRENDAN (SBCSI) < [EMAIL PROTECTED]>
wrote:
Are you using <t:saveState> to save
the state of the bean?
-----Original Message-----
From: Hagay
Avisar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 22, 2006
12:31 PM
To: [email protected]
Subject: Update ManageBean from
different pages.
Hi
All,
I
have a page that displays 2 tabs.
Each
tab is of course another JSF page.
Meaning
I have pageFrame.jsf that displays 2 tabs,
and another 2 pages page1.jsf, page2.jsf. (One for
each tab)
All
pages are related to the same manage bean.
The
problem is when I am navigate between tabs the data is not saved, meaning when
navigate from tab1 to tab2 all the data I have insert
In
tab1 is disappears. In addition I would like after pressing OK button (from
tab1 or from tab2) to get the data from both tabs.
How
can I do it?
What
do I need to do to save the data from disappearing when moving between tabs?
How
can I get the data from all the pages?
What
is the best practice?
Thanks,
Hagay.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
Murat HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________