Dan Langer ha scritto:
When invoking a tile through a JSP, one can do a
<tiles:put name="headerInfo" beanName="gridC" beanScope="request"/>
to bring a bean named gridC into the tile (under the name headerInfo),
where said bean was defined elsewhere (with a
request.setAttribute("gridC",grid).
Here is what beanName and beanScope attributes are for!
How do you do this when you're using tile definitions (centralized into
one file)? This
<put name="headerInfo" beanName="gridC"/>
isn't valid within a <definition> according to the DTD.
I think you cannot do it (for now). Anyway you can use JSTL and Struts
tags to manage bean inside your JSPs as you do in JSPs without Tiles.
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]