Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Partial State Saving Feature in JSF 2

Tags:

jsf-2

Can someone please explain the partial state saving feature in JSF ? I have worked with JSF 1.2 and this feature didn't exist there . I think it is new to JSF 2.0 ? What benefit do we get by partial state saving over regular state saving ?

like image 729
Geek Avatar asked Nov 04 '22 07:11

Geek


1 Answers

It provides to less memory usage by saving just modification on bean. Default is true, you can set it on conf like below;

<context-param>
    <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
    <param-value>false</param-value>
</context-param>
like image 179
gokhansari Avatar answered Nov 15 '22 11:11

gokhansari