When I use ComponentContext and get the attributes in the context, is there a way to determine that attribute "A" is a Tile and I can then drill into that Tile and get a list of its attributes? Can I do an "instanceof" against the Object returned from "getAttribute" to compare it to some class that will have "getAttribute" and "getAttributeNames" methods?
-Ryan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shelley, Ryan Sent: Tuesday, September 30, 2008 1:26 PM To: Struts Users Mailing List Subject: RE: Inspect Tile Definitions Well, I just need to know if Tile definitions A, B and C are in the chain of Tiles to be inserted in the particular page render, and if so, put some variables in the Request or Page scope for the JSP to pick up during render. -Ryan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Petrelli Sent: Tuesday, September 30, 2008 12:04 PM To: Struts Users Mailing List Subject: Re: Inspect Tile Definitions 2008/9/30 Shelley, Ryan <[EMAIL PROTECTED]>: > Interesting! Is there a URL to some documentation or examples or are > there any examples of Tile Controllers in any of the packages? The only thing that I can find is this: http://www.theserverside.com/tt/articles/article.tss?l=Tiles101 > So in theory, if we put a custom Tile Controller on the primary Tile > definition, that Controller class could inspect down into the Tile tree > for that view and set page-level values that could be accessed when the > JSP is rendered? Not exactly, it could inspect attributes that you put in, it won't inspect JSP pages. Antonio --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]