You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by LORENA MASSIMO <MA...@sella.it> on 2001/05/31 08:16:29 UTC

R:use JSP variable as a value of property in t ag

i think tha you should change .tld file adding the follow

      <rtexprvalue>true</rtexprvalue>

bye MaxL
> ----------
> Da:	someil[SMTP:cyril.someil@intech.lu]
> Risposta a: 	struts-user@jakarta.apache.org
> Inviato:	mercoledì 30 maggio 2001 14.42
> A:	struts-user@jakarta.apache.org
> Oggetto:	use JSP variable as a value of property in <html:select ...>
> tag
> 
> Hi,
> 
> I would like use an expression such as :
> 	<html:select property=<%= var%> size="1">
> but I can't do this.
> 
> The error obtained is : "Attribute value should be quoted"
> 
> So, I tried : <html:select property="<%= var%>" size="1">
> then it results a new error : "Attribute <% has no value"
> 
> that is the problem?
> How can I consider a JSP variable for an attribute value?
> 
> Thanks for your response ...
> 
> - Cyril -
>