Have a look at the struts examples webapps (there is a taglib one, as well as struts-example itself).
- Brett
-----Original Message-----
From: Fang, Frank [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 4 October 2001 8:39 AM
To: '[EMAIL PROTECTED]'
Subject: collection attribute in <html:options> tag
Does any one know or have some sample code on how to use collection attribute in <html:options> tag, I tried two ways, but It doesn't work. one of them is defining a arraylist in form bea, but I don't know how to referece it, another is putting an collection on session and in collection attribute reference it, both failed.
can you give me some helpful suggestion
Thanks
Frank
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 5:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Tiles: using tileContent inside another tile
David Corbin wrote:
[snip]
>
> --start "standardList.jsp"----
> <tiles:insert template="standardPage.jsp">
> <tiles:put name="title"><tiles:getAsString name="title/></tiles:put>
> <tiles:put name="body">
> <table border="6" background=""silver">"
> <tiles:getAsString name="listBody"/>
> </table>
> </tiles:put>
> </tiles:insert>
> ----end----
>
> and
>
> ----start exampleList.jsp"----
> <tiles:insert template="standardPage.jsp">
> <tiles:put name="title" value="Home Page">
> <tiles:put name="listBody">
> <TR>
> <TD>Row1</TD>
> </TR>
> <TR>
> <TD>Row2</TD>
> </TR>
> </tiles:put>
> </tiles:insert>
> ----end----
Super! This is exactly the kind of nesting I need to do. Downloading Tiles as I
write this. Thanks for the pointers.
Eric
--
Eric Rizzo, Software Engineer
OpenNetwork Technologies
http://www.opennetwork.com
-----------------------------
I embrace my personality flaws, for without them
I might have no personality at all.