Hello Kal,

I trying to understand you issue a little more.  You have something like a
login page that upon successful login redirects to another page?  If there
is an error it is displayed on the login page?  But if the use has invalid
login information entered, but clicks a command button to navigate to
another page the error still displays on the new page?

Is the error caused by a validator/converter, or with-in an action method?
Because this type of functionality is alot like a "cancel" button - you want
it to navigate, but not process validations.

This myfaces wiki page talks about one solution ( wiki
)<http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works>Using
the immediate attribute on command components.

-Jay

On 2/2/07, kal stevens <[EMAIL PROTECTED]> wrote:

I have a page that is redirected in faces-config.xml file

And my problem is that on this page, if the user gives an invalid input
there is an error message.
I would like it if when the user refreshes the page (or hits a back
breadcrumb) if that error message was not displayed again.

Is there a better way to do this?
The page can not resubmit the action, so I had to do a redirect.

Thanks

Kal

Reply via email to