You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/22 08:34:34 UTC

[jira] Updated: (STR-1376) Multiple input hook for multipage forms in processValidate()

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

Paul Benedict updated STR-1376:
-------------------------------

    Fix Version/s: Future
         Assignee:     (was: Struts Developers)

> Multiple input hook for multipage forms in processValidate()
> ------------------------------------------------------------
>
>                 Key: STR-1376
>                 URL: https://issues.apache.org/struts/browse/STR-1376
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Nightly Build
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Dan Allen
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: RequestProcessor.patch
>
>
> I have included here an extension (hack, patch, call it what you will) for the
> RequestProcessor processValidate() method to look for a forward named
> ("input" + getPage()) in the case of a validation error on a multipage form.
>         <action
>             path="/register"
>             name="registrationForm"
>             type="org.example.webapp.RegistrationAction"
>             validate="true"
>             scope="session"
>             input="/WEB-INF/jsp/register1.jsp">
>             <forward name="input1" path="/WEB-INF/jsp/register1.jsp"/>
>             <forward name="input2" path="/WEB-INF/jsp/register2.jsp"/>
>             <forward name="input3" path="/WEB-INF/jsp/register3.jsp"/>
>             <forward name="success" path="/WEB-INF/jsp/showProfile.jsp"/>
>             <forward name="cancel" path="/WEB-INF/jsp/register1.jsp"/>
>         </action>

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