You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Alex N." <a....@web.de> on 2007/07/14 13:08:51 UTC
Problem with frames, server state saving and restore_view
Hi,
I've a problem with frames, the component tree and server side state saving.
The frameset contains a tree frame (with a tree2 component ) and a data
frame.
After several actions in the data frame, the NUMBER_OF_VIEWS_IN_SESSION is
reached and after that a click on a command link in the tree frame fails (
the action method of the link of the tree item ist not called ).
I think that myfaces can't find the view-id of the tree in the component
tree and is not able to execute the action.
I experienced with the context-param NUMBER_OF_VIEWS_IN_SESSION.
If I set it to a low value, the error occures very early.
If I set it to a high value the error occures after a long time clicking
arround.
What can I do to solve this problem?
I read some things about ViewController's, but I'm not sure what is the
right thing to do in this situation.
Thanks, for your help :)
--
View this message in context: http://www.nabble.com/Problem-with-frames%2C-server-state-saving-and-restore_view-tf4078751.html#a11592918
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Problem with frames, server state saving and restore_view
Posted by Nurten Jewabreh <n....@web.de>.
Alex N. <a.nitzschke <at> web.de> writes:
>
>
> Hi,
>
> I've a problem with frames, the component tree and server side state saving.
>
> The frameset contains a tree frame (with a tree2 component ) and a data
> frame.
>
> After several actions in the data frame, the NUMBER_OF_VIEWS_IN_SESSION is
> reached and after that a click on a command link in the tree frame fails (
> the action method of the link of the tree item ist not called ).
>
> I think that myfaces can't find the view-id of the tree in the component
> tree and is not able to execute the action.
>
> I experienced with the context-param NUMBER_OF_VIEWS_IN_SESSION.
> If I set it to a low value, the error occures very early.
> If I set it to a high value the error occures after a long time clicking
> arround.
>
> What can I do to solve this problem?
>
> I read some things about ViewController's, but I'm not sure what is the
> right thing to do in this situation.
>
> Thanks, for your help :)
>
Hi,
this is my second question.
I have the same problem with frames, component tree and server side saving.
I also experienced with context-param NUMBER_OF_VIEWS_IN_SESSION with the same
result.
Have you solve the problem?
Danke
Nurten