Mmm... tried again... I noticed "paramId" as an option hiding in the list. I tried adding that and it worked! (There was nothing at all without it). Is this perhaps a bug - or just the way I have it set up?
Looks better now though. Thanks for help. HM. On 11 Oct 2002 at 21:36, Howard Miller wrote: > Hi, > > Thanks - I did wonder if there was something in <html:link> to do this so I did read > the documentation. > > However I couldn't get it to do anything at all - it didn't add anything, plus the > documentation was very vague (note to whoever - examples for tricky stuff like this > would be brilliant). > > Howard > > On 11 Oct 2002 at 13:18, Karr, David wrote: > > > > -----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]> > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>