In the "contrib" directory of the Struts distribution, you'll find the "Struts-EL" distribution, which is a "port" of the Struts tag library that uses the JSTL EL engine to evaluate attribute values. Search the archives for "Struts-EL". There is a "README" in the Struts-EL distribution, and there's a few paragraphs in the Struts website documentation. Despite the extreme paucity of documentation for it, it should be relatively clear how to use it, along with references from the archives.
> -----Original Message----- > From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] > > 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 > value='${basicView.itemId}'/>"/><br> > </c:forEach> > > 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? > > Regards, > > Joshua > > > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]