myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalra, Ashwani" <ashwani.ka...@capgemini.com>
Subject RE: storing errors in session with multiple screens
Date Thu, 22 Jul 2010 08:23:55 GMT
Hi, Thanks for this info. 
Are you putting your backing bean in session and have written custom validators for each control
to store and clear the errors in session?

-----Original Message-----
From: Vinaya Tirikkovalluru [mailto:vinaya.tirikkovalluru@converge.com] 
Sent: Wednesday, July 21, 2010 6:20 PM
To: MyFaces Discussion
Subject: RE: storing errors in session with multiple screens

My page is in session and I can display the previous pages errors.
But the not with the <t:messages>. I display them with a <t:output>
And errors are the property of the bean underneath the page.




-----Original Message-----
From: Kalra, Ashwani [mailto:ashwani.kalra@capgemini.com] 
Sent: Wednesday, July 21, 2010 11:59 AM
To: myfaces (users@myfaces.apache.org)
Subject: storing errors in session with multiple screens

Hi,

In our Myfaces(1.2x)  application, the business logic is split into
multiple screens.   Each page is having validate, Previous, Next button.

Let us say screens are S1... S7

When   user presses the validate button on  S3 screen, he should be able
to see the error messages for that screen. (Both page specific and on
the fields). When he navigates to S7, he should see the error messages
for S7 and so on.  Also when user presses the next button, even if the
current page is having errors, I need to move to next page, silently
storing the errors so that if he comes back on this page, I can show the
errors.

So  I need to store the errors in session.   Can someone provide inputs
if they have done similar thing in their projects.



Regards
Ashwani

</PRE><p style="font-family:arial;color:grey"
style="font-size:13px">This message contains information that may be
privileged or confidential and is the property of the Capgemini Group.
It is intended only for the person to whom it is addressed. If you are
not the intended recipient, you are not authorized to read, print,
retain, copy, disseminate, distribute, or use this message or any part
thereof. If you receive this message in error, please notify the sender
immediately and delete all copies of this message.</p><PRE>


This electronic message is intended only for the use of the individual(s) or entity(ies) named
above and may contain information which is privileged and/or confidential.  If you are not
the intended recipient, be aware that any disclosure, copying, distribution, dissemination
or use of the contents of this message is prohibited.  If you received this message in error,
please notify the sender immediately.






This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the intended recipient,
you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof.
If you receive this message 
in error, please notify the sender immediately and delete all copies of this message.


Mime
View raw message