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

Reply via email to