I am having a complicated problem with tiles and ajax.
I have a layout page e.g welcome.faces which contains a Tab Panel.
Tab Page in this tab panel is a place holder ( tiles) which can containg
my other
jsp's like documentList.faces or documentDetail.faces depending
on
some parameters which with Ajax request.
Tab Switching is handled by Ajax request.
What i want is that when i change a tab, a request is generated which
will load the content page.
The restriction is, an f:view can not contain another f:view.
welcome.faces it self contains an f:view and similarly documentList.faces
and documentDetail.faces contains their own f:view tags.
What happens is this when the page is rendered, if i use ajax on some
control in welcome.faces its view is used and when i try to use content's
( docuementList or detail ) it ask to restore view state after which i
loses the other view.
If i remove f:view tag from Content Page Jsp, ajax request can not be
made to that page and content handler does nothing.
Is there any want we can handle this situation when tiles are used and
content handler contains another jsp which is selected on runtime
depending on some parameters???
or is it possible to pass view to inner jsp ( content page ) so that when
it is rendered it uses parent view.
The other restriction in my case is that inner jsp i.e documentDetail and
documentList is constructed programaticaly.
Kindly help in this matter as there seems no direct way to solve such
situation to me.
Thank You
PS: Feel free to ask if some thing is not clear
[ October 30, 2007: Message edited by: Bear Bibeault ]