You should write it like this :

<html:hidden property="pk_lookupkey" value="<%=\"\"+tb.getLinkValue().get(row)%>"/>

and 

<html:hidden property="name" value="<%=request.getParameter(\"Name\")%>"/>

All quotes used in a scriplet in a taglib parameter should be prefix by an \


As you wrote it the parser saw the parameters value with a value of "<%=" in the first 
tag and "<%=request.getParameter(" in the second one.

arno


> -----Message d'origine-----
> De:   Antonio Weber [SMTP:[EMAIL PROTECTED]]
> Date: jeudi 6 septembre 2001 10:49
> À:    '[EMAIL PROTECTED]'
> Objet:        Is this a bug ??
> 
> Hi !!
> 
> I had the problem that the tags wasn't translated in the html code
> something like this
> 
> </td><td><center>2001-01-01</center>
> </td><td><center>2009-12-12</center>
> <html:hidden property="pk_lookupkey" value="72.0"/>
> 
> I added the taglib import. I works, but only in some cases.
> In some cases not, something like this
> <html:hidden property="pk_lookupkey"
> value="<%=""+tb.getLinkValue().get(row)%>"/>
> it wouldn't work
> but when I changed it to
> <html:hidden property="pk_lookupkey"
> value="<%=tb.getLinkValue().get(row).toString()%>"/>
> it works !
> At the end is another example.
> Is the problem in the "" ?
> Or is it documented and I didn't find it ;)
> 
> 
> <html:hidden property="pk_lookupkey"
> value="<%=""+tb.getLinkValue().get(row)%>"/>   to
> <html:hidden property="pk_lookupkey"
> value="<%=tb.getLinkValue().get(row).toString()%>"/>
> ...
> 
> 
> <html:hidden property="name" value="<%=request.getParameter("Name")%>"/>
> 
> TO
> 
> <%
>   String name = request.getParameter("Name");
> %>
> <html:hidden property="name" value="<%=name%>"/>

Reply via email to