You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Antonio Weber <an...@akt-infosys.de> on 2001/09/06 10:48:39 UTC

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%>"/>