struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4590) Allow to use multiple names in result
Date Mon, 18 Jan 2016 19:15:39 GMT
Aleksandr Mashchenko created WW-4590:
----------------------------------------

             Summary: Allow to use multiple names in result
                 Key: WW-4590
                 URL: https://issues.apache.org/jira/browse/WW-4590
             Project: Struts 2
          Issue Type: Improvement
          Components: Plugin - Convention, XML Configuration
    Affects Versions: 2.3.24
            Reporter: Aleksandr Mashchenko
            Assignee: Aleksandr Mashchenko
             Fix For: 2.5


Allow to use multiple values in {{result}} tag {{name}} attribute and in {{Result}} annotation
{{name}}.

This typical configuration:

{code}
<action name="save">
    <result>success.jsp</result>
    <result name="error">input-form.jsp</result>
    <result name="input">input-form.jsp</result>
</action>
{code}

Can be shorten to this:

{code}
<action name="save">
    <result>success.jsp</result>
    <result name="error, input">input-form.jsp</result>
</action>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message