Try using a Tiles controller to dynamically specify the tile's
content, based on whatever it is your actions are doing.
david
Le 05-07-30 à 20:20, Curtney Jacobs a écrit :
Greetings!
This is my last attempt before giving up on Tiles for my current
project. Has anyone successfully used Tiles and MyFaces in a project
where action events triggers dynamic loading of tile definitions. For
example, command link "A" trigger loading of tile definition "A",
command link "B" trigger loading of tile definition "B", etc.
I am aware that because my url address never changes I will
continue to
load the same tile definition. Is there anyway around that, using
Tiles
and MyFaces ofcourse. Not resorting to using <x:aliasBean>
I have tried redirecting, but my jsf view does not reflect the app
current state, however, I do load the correct tile definition.
I have tried dynamically setting a new view using code similar to the
following:
context.getApplication().getViewHandler().createView (context,
"/myview.jsfp");
context.setViewRoot (view);
context.renderResponse();
Perhaps, I should switch to SiteMesh? Has anyone encountered any
problems using SiteMesh and MyFaces?
Please, your feedback is greatly appreciated.
Thanks,
Curtney