I think the only way to do that currently, is to define the 2 results
with the same location.

musachy

On Mon, Jul 13, 2009 at 8:13 AM, dcabasson<denis.cabas...@gmail.com> wrote:
>
> Hi all,
>
> I am wondering if there is an "alias" result in struts 2.
>
> The use case for such a result type would be for when some of the results
> are the same. Say SUCCESS and INPUT actually go both to the same location,
> it would be nice to be able to define SUCCESS and have INPUT be only an
> alias of SUCCESS.
>
> An even more specific use of that result would be when you define a global
> result in the struts 2 configuration (say HOME), and you want the INPUT
> result to point to this global result of HOME. You have to name your result
> INPUT on that action, for validation purposes, but currently you have no way
> of telling struts this INPUT result is only an alias of the gloabl HOME
> result.
>
> Does that make sense to you guys? Is that worth entering a JIRA ticket for
> that enhancement?
>
> Thanks!
> Denis.
> --
> View this message in context: 
> http://www.nabble.com/-Struts-2.1-Does-an-alias-result-exist-in-struts-2--tp24463634p24463634.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to