You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by st...@gmail.com on 2007/06/05 18:42:25 UTC
Softer action mappings
Is there a way to get the current request substituted in an action mapping?
<action name="PayrollUpdate_*" method="{1}" class="prAction">
<result name="input" type="tiles">${currentRequest}</result>
I'd rather not stash this in a session variable if it's available someplace!
--
Scott
stanlick@gmail.com
Re: Softer action mappings
Posted by stanlick <st...@gmail.com>.
Yes. I'd like to see what is available to string into the mappings before I
start putting breadcrumbs in the session. For instance, I would like the
"input" to map to whatever tiles name the validation failed on.
Musachy Barroso wrote:
>
> do you mean the request url?
>
> musachy
>
> On 6/5/07, stanlick@gmail.com <st...@gmail.com> wrote:
>>
>> Is there a way to get the current request substituted in an action
>> mapping?
>>
>> <action name="PayrollUpdate_*" method="{1}" class="prAction">
>> <result name="input"
>> type="tiles">${currentRequest}</result>
>>
>> I'd rather not stash this in a session variable if it's available
>> someplace!
>>
>> --
>> Scott
>> stanlick@gmail.com
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
>
--
View this message in context: http://www.nabble.com/Softer-action-mappings-tf3872906.html#a10995901
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Softer action mappings
Posted by Musachy Barroso <mu...@gmail.com>.
do you mean the request url?
musachy
On 6/5/07, stanlick@gmail.com <st...@gmail.com> wrote:
>
> Is there a way to get the current request substituted in an action
> mapping?
>
> <action name="PayrollUpdate_*" method="{1}" class="prAction">
> <result name="input"
> type="tiles">${currentRequest}</result>
>
> I'd rather not stash this in a session variable if it's available
> someplace!
>
> --
> Scott
> stanlick@gmail.com
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd