struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garner Shawn" <shawndgar...@gmail.com>
Subject [Struts 2] link not rending from iterator
Date Wed, 13 Sep 2006 13:01:10 GMT
	<s:iterator value="#session.downloadsList">
			<tr>
				<td>
					<s:property value="name"/>
				</td>
				<td>
					
					<s:property value="description"/>
				</td>
				<td>
					<s:property value="type"/>
				</td>
				<td>
					
					<s:property value="maxVersion"/>.<s:property value="minVersion"/>
				</td>
				<td>
					<s:property value="date"/>
				</td>
				<td>
					
					<a href="<s:url value='%{url}' includeParams='none'/>"
target="_blank">Click to Download</a>
				</td>
			</tr>
		</s:iterator>

Renders the link as blank but the rest of the vales render fine.
And it does print out if I do <s:property value="url"/>

<a href="" target="_blank">Click to Download</a>

What am I doing wrong to reference the value?
Do I need to assign it to the iterator id and then reference that?

Shawn

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


Mime
View raw message