More info:

When the action is referred to as an import, such as:
        <c:import url="my.action"/>
The imported page makes callbacks as long as I use WebWork tags in my
view, such as:
        <ww:property value="poll/question"/>
However, no callbacks are made if the view uses JSTL tags, such as:
        <c:out value="${poll.question}"/>


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On 
> Behalf Of James Cook
> Sent: Sunday, January 12, 2003 11:55 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] <ww:include> broken in RC1?
> 
> 
> Is anyone having success with the <ww:include> when the value 
> is an action? Sure it executes the action just fine, but I am 
> not getting any callbacks from the view to hit the 
> ValueStack. Calling the action directly, _does_ result in the 
> action and page being executed correctly.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] On 
> > Behalf Of James Cook
> > Sent: Thursday, January 09, 2003 9:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: [OS-webwork] Inclusion of a webwork call invoked by JSTL
> > 
> > 
> > I have a web page coded as a JSP and utilizing JSTL tags. On
> > this page, I have a dynamic report that is generated by a 
> > webwork call. I am using the <c:include> tag to reference the 
> > webwork action, and it is mapped to a JSP view for rendering.
> > 
> > Time for a visual?
> > 
> > index.jsp
> > +----------------------+
> > |                      |
> > |                      |
> > |                      |
> > |             +------+ |
> > |             |      | |
> > |             |      |<------ report.action (mapped to a view
> report.jsp)
> > |             |      | |      invoked by using JSTL <c:import
> > |             +------+ |      url="/report.action"/>
> > |                      |
> > |                      |
> > |                      |
> > |                      |
> > +----------------------+
> > 
> > The <c:include> invokes the webwork action and the view is
> > returned, however the view is returned as a String! It is not 
> > parsed by the JSP engine, so the callbacks to the ValueStack 
> > never occur.
> > 
> > I have also tried the <jsp:include> tag, but it does not
> > render the included JSP either. Perhaps there is a webwork 
> > tag to handle this? I would prefer a pure JSTL solution, but 
> > at this point, I am open. :)
> > 
> > What is the best way to handle this simplified problem?
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something
> > 2 See! http://www.vasoftware.com 
> > _______________________________________________
> > Opensymphony-webwork mailing list 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to