struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rutger Heijmerikx <rutg...@gmail.com>
Subject Iterate question
Date Thu, 31 Mar 2005 17:47:04 GMT
Hi all,

Maybe it's clear what my problem exactly is when i post the jsp
contents and my question.

JSP contents:

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglibs-string" prefix="str"%>
<html>
<head>
<title>test</title>
<link rel="stylesheet" type="text/css" href="styles/default.css" />
</head>
<BODY>

<logic:iterate name="items" id="item">

>From <bean:write name="item" property="from" />
Subject <bean:write name="item" property="subject" />
In reply to <bean:write name="item" property="inreplyTo" />
messageId <bean:write name="item" property="messageId" />
references <bean:write name="item" property="references" />
Message<br />

<str:replace replace="NL" with="<br/>NL" carriageToken="NL">
<bean:write name="item" property="mailcontent" />
</str:replace>

Parent : <bean:write name="item" property="parent" />
</logic:iterate>

</BODY>
</html>



Now, the problem is, that the bean property "parent" is a new bean
itself. How can i iterate through this bean in the same jsp?

Hopefully you understand my problem, if not i'll be glad to explain it better.

Rutger

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message