Done this.

I've attached the code. Once update is called, update is called again on the 
redirect.

Here's the logs beginning when update is called.
2008-05-13 09:59:00,383 - TRACE - logEvent - update - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 
107
2008-05-13 09:59:00,399 - TRACE - popRelations - begin - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 93
2008-05-13 09:59:00,399 - TRACE - popRelations - end - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 
100
2008-05-13 09:59:00,414 - TRACE - update - begin - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 
135
2008-05-13 09:59:00,414 - TRACE - update - end - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 
137
2008-05-13 09:59:00,414 - TRACE - popRelationChoices - begin - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 78
2008-05-13 09:59:02,258 - TRACE - popRelationChoices - end - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 86
2008-05-13 09:59:02,258 - TRACE - logEvent - update - 
ca.qc.ircm.proteus.web.user.result.UntreatedRelationAction - (poitrac[P:1]) - 
107
2008-05-13 09:59:02,258 - ERROR - logger - Submission of a wizard form in 
Stripes absolutely requires that the hidden field Stripes writes containing the 
names of the fields present on the form is present and encrypted (as Stripes 
write it). This is necessary to prevent a user from spoofing the system and 
getting around any security/data checks. - 
ca.qc.ircm.proteus.web.handler.ExceptionHandler - (poitrac[P:1]) - 36
net.sourceforge.stripes.exception.StripesRuntimeException: Submission of a 
wizard form in Stripes absolutely requires that the hidden field Stripes writes 
containing the names of the fields present on the form is present and encrypted 
(as Stripes write it). This is necessary to prevent a user from spoofing the 
system and getting around any security/data checks.

Christian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Freddy D.
Sent: Monday, May 12, 2008 6:35 PM
To: [email protected]
Subject: Re: [Stripes-users] RedirectResolution calls wrong event with wrizard

Salut Christian,

You want @Wizard(startEvents="done") for this to work.

Cheers,
Freddy

- When
- my action bean uses  <at> Wizard and I return a RedirectResolution from and
- event, it
- tries to call the same event again causing an exception. Removing
-  <at> Wizard prevents the exception.
-
- return new RedirectResolution(this.getClass(), "done").flash(this);
-
- net.sourceforge.stripes.exception.StripesRuntimeException: Submission of a
- wizard form in Stripes absolutely
- requires that the hidden field Stripes writes containing the names of the
- fields
- present on the form is present and encrypted (as Stripes write it). This is
- necessary to prevent a user from spoofing the system and getting around any
- security/data checks.
-
- Christian
- PS
- : I use stripes 1.5 revision
- 905



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) 
Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Attachment: UntreatedRelationAction.java
Description: UntreatedRelationAction.java

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to