Multiple submit buttons in first Wizard page cause multiple events on second 
page
---------------------------------------------------------------------------------

                 Key: STS-726
                 URL: http://www.stripesframework.org/jira/browse/STS-726
             Project: Stripes
          Issue Type: Sub-task
    Affects Versions: Release 1.5.2
         Environment: Tomcat 6.0.20, Windows XP
            Reporter: Marcus Kraßmann
            Priority: Blocker


I guess the problem belongs to the parent task, so I created this sub task.

Wizard breaks if a jsp page has more than one submit button in one form.

Scenario:
first.jsp has a form pointing to a wizard action bean. The form contains two 
submit buttons, pointing to the events "one" and "two".
After clicking one of the buttons, you are forwarded to page second.jsp.
If you click any submit button here, multiple events are generated in the 
request.

Reason:
In first.jsp there was one button unclicked. Stripes seems to think that this 
was an empty request, and generates a hidden input field on the next page 
containing this event name. When submitting the second form, the correct and 
the hidden event are sent with the request --> FAIL.

I uploaded a small Eclipse Dynamic Web project containing the source code and a 
deployable .war file here:
http://senduit.com/622a61
http://www.file-upload.net/download-1999359/WizardBug.zip.html (if the first 
link does not work).

This is an absolute show stopper at my company, forcing us to stay on 1.5.1

Kind regards
Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to