Re: Is it possible to change the base tile on the fly

2003-03-13 Thread Cedric Dumoulin
Hi, I have a very simple solution: * Create a struts action that switch to the appropriate layout (a jsp), according to the user settings: action path=/switchLayout type=... forward name=layout1 path=/layouts/layout1.jsp/ forward

[OT]RE: Is it possible to change the base tile on the fly

2003-03-12 Thread apachep2
I have been seeing those can I change sth on the fly posts recently.More specific, changing tile, changing action forward etc. I am against this idea. Changing on-the-fly lacks the flexibility of using an external xml file to configure the web app. Shall we go back to Servlet and put if-else

Re: Is it possible to change the base tile on the fly

2003-03-12 Thread Cedric Dumoulin
It is possible to change a definition attribute like the path on the fly, but this will not change all the child definitions has you expect. This is because in the actual implementation all definitions have their own copy of the attributes. There is no lookup to the parent value. Cedric

RE: Is it possible to change the base tile on the fly

2003-03-12 Thread Raible, Matt
The reason I want to do this is to have two totally different skins based on a user's settings. How can I change a baseLayout and all children on the fly? Is it possible - can I just point to a specific tiles-config.xml after they login? I realize this is possible using stylesheets and some