On 9/13/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
<a href="<s:url value='%{url}'
includeParams='none'/>"
What am I doing wrong to reference the value?
If there is a "getUrl" method on the "downloadsList" object, then try
<s:a href="%{getUrl}">Click to Download</s:a>
If there is not a getUrl method, then it's not clear from where the
value is derived.
Do I need to assign it to the iterator id and then reference that?
No. The properties of downloadsList are made available within the
interator block without an additional reference. (It's a bit like
"using" from other languages.)
-- HTH, Ted.
* http://www.husted.com/struts/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]