struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STR-1943) amend example for wizard form (one big form) with forward and stay/backward steps
Date Tue, 13 Nov 2007 08:22:37 GMT

     [ https://issues.apache.org/struts/browse/STR-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Benedict closed STR-1943.
------------------------------

    Resolution: Won't Fix
      Assignee:     (was: Struts Developers)

> amend example for wizard form (one big form) with forward and stay/backward steps
> ---------------------------------------------------------------------------------
>
>                 Key: STR-1943
>                 URL: https://issues.apache.org/struts/browse/STR-1943
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Nightly Build
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ralf Hauser
>            Priority: Minor
>
> As per the documentation at the above URL, it should be possible to for a
> wildcard stepping through one big form with the wildcard action mapping to not
> only go back to "mainMenu" upon failure or forward upon success, but also to
> stay on the current wizard step until correct?
> The idea is to have a double pattern match in the action path for the current
> and the next wizard step.
>   <action path="/regWizard*To*"
>   	type="com.mydomain.myApp.control.action.RegWizard{1}To{2}Action"
>   	name="regForm"
>   	scope="request"
>   	validate="false" >
>   	<forward fwdName="success" path="/reg{2}.jsp" />
> 	<forward fwdName="failure" path="/reg{1}.jsp" />
>   	<forward  fwdName="start" path="/reg1.jsp" />
>   	<forward  fwdName="done" path="/confirm.jsp" />
>   </action>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message