hi scott,

i would if i could :-)

in the second case i point the SUCCESS page directly to the jspfragment, so
i would have to have 2 jsps, the one you suggest, and the jsp fragment
itself, and then set the SUCCESS page to the one you suggest (wich would
then include the original jspfragment).

this would work, but would leave me with one extra jsp file (i'll probably
do this, but i was just wondering if i could bypass it :-))

sincerely
morten wilken
----- Original Message -----
From: "Scott Farquhar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 1:28 AM
Subject: Re: [OS-webwork] putting something on the stack from within an
action?


> In the second case, just do this:
>
> <ww:property value="object">
>    <%@ include file="jspfragment.jsp" %>
> </ww:property>
>
> Cheers,
> Scott
>
> Morten Wilken wrote:
> > 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
> >
>
> --
>
> ATLASSIAN - http://www.atlassian.com
> Expert J2EE Software, Services and Support
> -------------------------------------------------------
> Need a simple, powerful way to track and manage issues?
> Try JIRA - http://www.atlassian.com/software/jira
>
>
>
> -------------------------------------------------------
> 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