• Post Reply Bookmark Topic Watch Topic
  • New Topic

Partial State Saving, initial state and so on

 
Volodymyr Iurin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

One of the nice features of JSF 2 is Partial State Saving.
Standard JSF2 components (Mojarra 2.1)intensively uses it.
Unfortunately there are several bugs and I would to understand what is going wrong.
Could somebody recommend me resources about implementation of partial state saving and such functions as markInitialState,
UIComponentBase.saveBehaviorsState(), UIComponentBase.restoreBehaviorsState().

Probably somebody already know how this stuff implemented and why this way.

Thanks,
 
Angel Taveras
Ranch Hand
Posts: 84
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Volodymir, i concur with what you saying. Today i've encountered the same issue with an ajax behavior, even when i've mark the initialState of the behavior it gets reset and end it in not rendering the state and after that it throws an ArrayOutOfBoundException in the postback of the ajax request. I'm hoping that someday this feature work as accorded in the spec.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!