Thanks Brice. Works fine now, and it makes all sense. Ot�vio Augusto
On Wed, 24 Dec 2003 10:27:46 -0600 Brice Ruth <[EMAIL PROTECTED]> wrote: > the paramId value of html:link will be the name of the parameter that > gets passed in the query string, the paramName attribute will be the > name of a bean that is used (toString) to generate the value of that > parameter. So, something like this: > > <c:set var="myTopic" value="Struts"/> > <html:link action="/myAction" paramId="topic" paramName="myTopic">my > link</html:link> > > Should generate a link like so: > > <a href="/myAction.do?topic=Struts">my link</a> > > Make sense? > > Ot�vio Augusto wrote: > > >U mean i just need to add the paramId ? > > > >thanks > >Ot�vio Augusto > > > >On Wed, 24 Dec 2003 16:11:52 +0000 > >Mark Lowe <[EMAIL PROTECTED]> wrote: > > > > > > > >>just need paramId to set the parameter name. > >> > >> > >>On 24 Dec 2003, at 15:59, Ot�vio Augusto wrote: > >> > >> > >> > >>>Hi all > >>> > >>>I'm trying to add a parameter (yeah,i mean only one) to a link. > >>>actually, it is an logic:iterator tag which generates a table, and one > >>>of the columns is the link to an action which is going to get the > >>>parameter send throw the request, process it and go to a jsp. so, the > >>>code follows: > >>> > >>><logic:iterate id="setor" name="setores"> > >>> <tr> > >>> <td><bean:write name="setor" property="nome" /></td> > >>> <td><bean:write name="setor" property="comentario" /></td> > >>> <bean:define id="idSetor" name="setor" property="id" /> > >>> <td><html:link action="setoradmin" paramProperty="idSetor" > >>>paramName="setor">Detalhes</html:link></td> > >>> </tr> > >>></logic:iterate> > >>> > >>>I correctly generate de table and its values, but i can't generate the > >>>parameter i need to add to the link. Of course, this code might be > >>>wrong. > >>>Any sugestions? > >>> > >>>thanks, and happy holydays. > >>> > >>>Ot�vio augusto > >>> > >>>--------------------------------------------------------------------- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Brice D. Ruth > Sr. IT Analyst > Fiskars Brands, Inc. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

