struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "White, Joshua A (HTSC, CASD)" <>
Subject How to use JSTL taglib with struts html taglib
Date Mon, 28 Jul 2003 10:51:59 GMT
I would like to use the struts html taglig to generate a bunch of
checkboxes.  While the following is not correct, it encapsulates what I
would like to do:

<c:forEach items="${myForm.myInformationView}" var="basicView">
    <html:checkbox property="myItems" value="<c:out

I am looping throught the collection using the jstl forEach tag.  The
problem is that c:out is not evaluated as a runtime expression (actually, it
is not evaluated at all).  Using c:set to set a page level variable that you
could use in a runtime expression does not work either.

Is there a way to use both jstl and the struts html taglib here?  How can it
be done?



This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message