struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slattery, Tim - BLS" <Slattery....@bls.gov>
Subject RE: out> tag inside <html:text> tag
Date Wed, 04 Feb 2004 14:54:20 GMT
> Hi...I am facing some problems with using JSTL tags inside 
> struts tags.
> 
> This is the piece of code I wrote for my application:
> 
>  <html:text 
>  name="Customer" 
>  property ="Name" 
>  maxlength="256" 
>  size="256"
>  style="<c:out value="${styleVar}"/>"
>  />

You can't nest tags, so this syntax just is not going to work. But, you can
get the same place by using the "el" tags":

 <html-el:text 
 name="Customer" 
 property ="Name" 
 maxlength="256" 
 size="256"
 style="${styleVar}"/>"
 />


--
Tim Slattery
Slattery@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message