Sorry for not being specific, Anyway, I don't know why you want to get the component context from the JSP.
In your JSP, if there already a context setting, you can always access your Tiles attributes via Tiles' Tags, and that is all you need. As, for changing Content of a Tile component without change other is the right way to encapsulate Behavior specific to the component it selft and this is why Tiles is so powerful That Web View component is truly reusable. There are two why to do this, as I can Remember, you got the first one and the second with I used a lot is to implement the Controller interface. In the method that you implement for the controller interface You can access the TileContext. Danny, Ps. Let me know if there is any other thing that I can help. -----Original Message----- From: yoko hama [mailto:myohott@;hotmail.com] Sent: Thursday, November 07, 2002 5:20 PM To: [EMAIL PROTECTED] Subject: RE: [Tiles]TilesAction and contents changing dynamically First of all,thanks for your response,Trieu. Could you tell me how can i realize it or can you show me some example? I tried to create an action extends TilesAction,and set it as a control action for one tiles definition.When i use it from the tiles definition,it works fairly well,but when i call it from a link in the jsp,it throws an exception sounds it can't find a context from the Tiles.Oh,i see,may be i should call an action from a link to do some process then forward it to the definition.I will try it,to find that the other part of the jsp can contain their status or just return to their default status. Anyway,thanks a lot. Thomas.W >From: "Trieu, Danny" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> >Subject: RE: [Tiles]TilesAction and contents changing dynamically >Date: Thu, 7 Nov 2002 09:21:29 -0800 > >Sure you can.... > >-----Original Message----- >From: yoko hama [mailto:myohott@;hotmail.com] >Sent: Wednesday, November 06, 2002 6:52 PM >To: [EMAIL PROTECTED] >Subject: [Tiles]TilesAction and contents changing dynamically > > >Hi,guys. >I am a newbie to struts and tiles. >I wonder how can i get a part of my contents changed in a jsp >dynamically without changing the other part by using tiles,although i >can do it by frame.After search the tiles documents,i found maybe i can >do it by extends the TilesAction.But how can i get the component >context from the jsp? > >Thanks in advance > >Thomas.W > > > >_________________________________________________________________ >Help STOP SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > > >-- >To unsubscribe, e-mail: ><mailto:struts-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: ><mailto:struts-user-help@;jakarta.apache.org> > >-- >To unsubscribe, e-mail: ><mailto:struts-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: ><mailto:struts-user-help@;jakarta.apache.org> _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>