dcsimg
Multiple layouts using tiles definitions
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sangeetha_P
Posted On:   Tuesday, June 1, 2004 02:09 PM

Hi,


I need to develop an application using struts where the
user can dynamically change the layout. Is there any way to
do this using tiles?


Thanks.

SP

Re: Multiple layouts using tiles definitions

Posted By:   rahul_deshmukh  
Posted On:   Tuesday, June 1, 2004 09:39 PM

See one of the advantage using tiles is that you can change layout of your page dynamically.Its possible, I suggest you to use layout jsp with whatever you want to change dynamically for example your layout.jsp is something like this :
















Now these attributes "xyz" & "abc" refers to seprate JSP which you define in your content tile so based on values of Type1 & Type2 property , your page layout will be changed



Thanks
Rahul
About | Sitemap | Contact