The action itself is placed upon the valuestack, so just have a method (such
as getFoo()), and then the query "foo" will call getFoo().

-Pat

----- Original Message -----
From: "Morten Wilken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 3:00 PM
Subject: [OS-webwork] putting something on the stack from within an action?


> hi all,
> i have a jsp fragment that i would like to include from two places:
>
> 1. from within an iterator (in this case the object that i use is on top
of
> the stack)
> 2. from an action directly (in this case the object i use is in a
> getobject() method in the action action.
>
> in the first case i can get it with <webwork:property vlaue="." and in the
> second with <webwork:property vlaue="object".
>
> So ask,  is it possible to put something on top of the stack from within
the
> doExecute method(), so in the second scenario i could push object on top
and
> use the same jsp fragment?
>
> sincerely
> morten wilken
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost and
> disoriented. TotalView can help you find your way. Available on major UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to