my dog learned polymorphism*
The moose likes Other Application Frameworks and the fly likes Stripes Wizard forms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Stripes Wizard forms" Watch "Stripes Wizard forms" New topic
Author

Stripes Wizard forms

Wesley Baker
Ranch Hand

Joined: Aug 20, 2008
Posts: 45
Hello all -

I am having a conundrum with Stripes and some design issues. I have a Wizard ActionBean that is controlling about 4 different pages that all contain forms. The problem exists with two select fields on the first page:



Only one of those select boxes will ever be used, but later on down the line I will manually (inside the Wizard ActionBean) overwrite the value of the other. So, for example, if the "uploadAndProceed" button is pressed, it will take the value from fileId and do some processing, then later on manually populate the evalFileId value. Alternately if the "proceed" button is pushed, it will take the value in evalFileId, do some processing, then later on manually populate the fileId value.

Because of the Wizard annotation, Stripes is forcing the value of the non-used value throughout the entire process. So even if I manually set it to something else inside the ActionBean, it gets reset by Stripes on the next page, likely due to the hidden field it creates to propagate the value.

So my question is, where can I write that value that it will actually stick, and Stripes won't override it?
 
 
subject: Stripes Wizard forms
 
Similar Threads
Query regarding stripes:select in Stripes.
Problem with JSTL
Reloading a parent window 1 after submit from window 2
Frameworks? Do I need one? want one?
Setting default for a dropdown in JSP