> -----Original Message-----
> From: Howard Miller [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 11, 2002 1:07 PM
> To: [EMAIL PROTECTED]
> Subject: iterate and html:link
> 
> Hi,
> 
> How do I do this....
> 
> <logic:iterate name="user" property="queries" id="query" >
> 
>   <html:link page='/builder.jsp?id=<%= query.getId() %>' />
> 
> </logic:iterate>
> 
> Its the <%= query.getId() %>, bit I'm talking about. This bit 
> of script doesn't get 
> evaluated. I have spent ages sifting through the archives and 
> can't find anything 
> similar... must be a common problem though

You don't need to use a scriptlet for this.  Just set the "paramName" and
"paramProperty" attributes of "html:link" to "query" and "id".  This will
also take care of any URL encoding issues.  Read the API documentation for
this.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to