> I just started experimenting with jstl and i'd like to
> set a hidden field on MyActionForm using a value  
> (contentId) available as an attribute on the request. 
> Basically, i'd like to do something like this:
> 
> <html:hidden property="contentId" value="<c:out 
> value="${contentId}"/>"/>
>  
> Which does not work.

No, it won't. You're trying to nest tags, and that will not work. Use the el
version of the Struts tags instead:

<html-el:hidden property="contentId" value="${contentId}"/>


--
Tim Slattery
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to