hi,

The issue:

1. We have implemented a wizard application (with 4 Steps) with action
variables maintained in session.
2. The pages also have train in the top, i.e. from any step he can jump to
any of the other steps.
3. The Step1, 2,3,4 (mentioned above ) are interdependent i.e. based on
selection in step 1 step 2 is influenced; based on selection in step 2 step
3 is influenced and so on

4. Now: In step 1 user entered wrong value (10000 say) for integer field
which is not allowed by validations. He clicks  on save and page throws
validation exceptions (Expected)
5. He then clicks on train 2 i.e. he is jumping to page 2
6. The page is being displayed based on the incorrect value (100000) which
was rejected by validation of first page. If i use the train again and go
back to the 1st step i still see 10000 there

7. Question: When validation error happens aren't the action variable values
restored to the previous once?(say the prev once  is 10 or 0 i think they
should be reset to 10 or 0 when system throws error at 10000). Is there any
way  in which this can  happen? 

is there any way to call an interceptor/ execute a method after the JSP is
rendered? so that i can restore variables back incase of validation errors.

Please help.

cheers,
ravi 



-- 
View this message in context: 
http://www.nabble.com/how-to-fix-Validation-isses-in-a-wizard-application-%2B-Train-tp18625361p18625361.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to