Hi. I'm trying to use displaytag [1] with WW1.3, and I've got it working but I had to hack an ugly work-around in the JSP's:
<%
ValueStack vs = (ValueStack)request.getAttribute("webwork.result");
Object list = vs.findValue("entries");
if(list != null) pageContext.setAttribute("list", list);
%>
<dt:table name="pageScope.list">
<!-- .... -->
</dt:table>
It would be really nice to retrieve objects from the value-stack and put
them in a given context using webwork:
<ww:export value="entries" to_name="list" scope="page">
<dt:table name="pageScope.list">
</dt:table>
</ww:export>
Is there an easier way to interact with DisplayTag (or other
page/request/session/application-oriented tools) than the above?
//Anders
1. http://displaytag.sf.net
--
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. Anders Engstr�m [EMAIL PROTECTED]
. http://www.gnejs.net PGP-Key: ED010E7F
. [Your mind is like an umbrella. It doesn't work unless you open it.]
signature.asc
Description: Digital signature
