RE: Tiles: Passing a bean to tiles in a definition file

2006-07-07 Thread Dan Langer
-Original Message- From: Antonio Petrelli I agree with you, I think that this functionality isn't there for technical reasons, simply because Tiles definitions, when they are loaded, don't know about page scopes, that is needed to resolve beans. Why don't you open a bug ticket for tha

Re: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Antonio Petrelli
Dan Langer ha scritto: From a design POV, it seems odd that a piece of functionality (the beanName attribute) would be there when invoked one way (JSP), but not when invoked another (XML definition). I agree with you, I think that this functionality isn't there for technical reasons, simply

RE: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Dan Langer
his table. -Original Message- From: Monkeyden Sent: Thursday, July 06, 2006 1:18 PM To: Struts Users Mailing List Subject: Re: Tiles: Passing a bean to tiles in a definition file When you say different beans, will they have different accessor methods? Even if the bean has a collection, yo

Re: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Monkeyden
When you say different beans, will they have different accessor methods? Even if the bean has a collection, you ultimately have to call accessor methods to build the table, save introspection. On 7/6/06, Dan Langer <[EMAIL PROTECTED]> wrote: Antonio, Thanks for the suggestion. From a design PO

RE: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Dan Langer
Antonio, Thanks for the suggestion. From a design POV, it seems odd that a piece of functionality (the beanName attribute) would be there when invoked one way (JSP), but not when invoked another (XML definition). Regardless of that, I'm curious about the suggestion you've made. My goal was to cre

Re: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Antonio Petrelli
Dan Langer ha scritto: When invoking a tile through a JSP, one can do a 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