The problem I am having is that I cannot get a reference to the
Value stack when I am using frames in my JSP. Basically I have a jsp called
desktop.jsp which defines three frames that call three other JSPs,
leftmenu.jsp, menu.jsp and top.jsp. In my view.properties I define the
following action query.success=desktop.jsp. In leftmenu.jsp I want to call
an ArrayList called "purchaseOrderList" which is populated in another class.
The problem is the leftmenu.jsp cannot get a reference to the value stack
that contains "purchaseOrderList". So when I try to call it I get null.
<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="webwork" prefix="ui" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<frameset rows="89,*" frameborder="NO" border="0" framespacing="0"
cols="*">
<frame name="topFrame" scrolling="NO" noresize src="top.jsp" >
<frameset cols="200,*" frameborder="YES" border="1"
framespacing="1" rows="*" bordercolor="#000000"/>
<webwork:property value="goodsReceiptList">
<frame name="leftFrame" scrolling="NO" noresize
src="<jsp:include page="leftmenu.jsp"/>" />
</webwork:property>
<webwork:property value="baseTable"/>
<frame name="leftFrame" scrolling="NO" noresize
src="leftmenu.jsp"/>
<frame name="mainFrame" scrolling="NO" noresize src="menu.jsp"/>
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">
</table>
</body></noframes>
</html>
In my view.properties I have
query.action=MyActionClass
query.success=desktop.jsp
then in leftmenu.jsp I'm trying to do the following
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2>
<TR>
<TH>Purchase Orders</TH>
</TR>
<webwork:iterator value="purchaseOrderList">
<tr>
<td>
<a href="<webwork:url
page="query.action?tableKey=?baseTable="/><webwork:property
value="tableKey"/><webwork:property value="transactionHeader"/>"
TARGET="_blank"><webwork:property value="transactionName"/>
<webwork:property value="baseTable"/></a>
</td>
</tr>
</webwork:iterator>
</table>
<br>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2>
<TR>
<TH>Goods Receipts</TH>
</TR>
<webwork:iterator value="goodsReceiptList">
<tr>
<td>
<a href="<webwork:url
page="query.action?baseTable="/><webwork:property
value="baseTable"/>&tableKey=<webwork:property value="tableKey"/>"
TARGET="_blank"><webwork:property value="transactionName"/><webwork:property
value="transactionDescription"/></a>
</td>
</tr>
</webwork:iterator>
</table>
-------------------------------------------------------
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