Yes, during the result of the invoked action, the invoked action will
be on the top of the stack, but it is available "by name" in the
stack, only outside the "action" tag.

musachy

On Wed, Jan 28, 2009 at 5:40 AM, Alexander Baetz
<baetz.paderb...@arcor.de> wrote:
> Hi,
>
> are you sure about the tag-action beeing on top of the stack during the
> execution of its result?
> i use an action-tag to generate a view component (a little info box on my
> page) and on one of my pages there is the situation that the tag-action is
> of the same class as the original action.
>
> in this situation my info-box is "wrong" and all struts:if tests on the
> result page of the tag-action seem to be done with the values of the
> original action and not the tag-action.
> this confuses me, because it seems as if the original action is higher on
> the stack than the tag-action.
>
> Greetings,
> Alexander
>
> Musachy Barroso schrieb:
>>
>> Inside the action tag, the action will be on top of the stack, so you
>> can reference it using #top. The action is added to the context under
>> the "id" (2.0), or "var" (2.1) name, on the end of the tag, so you
>> cannot reference it by name inside the action tag. Wow, that was some
>> very confusing explanation in fact :)
>>
>> musachy
>
> ---------------------------------------------------------------------
> 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