struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "spencer p (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-1862) Chaining result from input to another action never excutes chained target.
Date Wed, 28 Mar 2007 04:41:52 GMT

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

spencer p updated WW-1862:
--------------------------

    Summary: Chaining result from input to another action never excutes chained target.  (was:
Chaining result retains result type of prior action)

> Chaining result from input to another action never excutes chained target.
> --------------------------------------------------------------------------
>
>                 Key: WW-1862
>                 URL: https://issues.apache.org/struts/browse/WW-1862
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: spencer p
>
> I have two actions.  The first submits to the other.
> <action name="x" class="y">
>  <result name="success">
>  ...
>  </result>
> </action>
> <action name="z" class="a">
>  <result name="input" type="chain">
>    x
>  </result>
> </action>
> If I don't define an result in action 'x', it complains.  Fair enough.  Once I define
the result, the class 'y' is never executed.  It tries to render the template provided in
the result under the x action.  is it because I am returning input instead of success?  Is
it possible to map from one result name to another so I can get class y to execute?

-- 
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