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 ?
Asked
Active
Viewed 8,638 times
5
-
This is also answered by http://stackoverflow.com/questions/5474316/why-does-jsf-need-to-save-the-state-of-ui-components-on-the-server-side/5475564#5475564. Basically, it saves memory and improves thus performance. – BalusC Jan 08 '13 at 13:59
-
@BalusC is this a property that can be configured on per component level or on a application level ? – Geek Jan 08 '13 at 14:34
-
Per application or view. Not per component. – BalusC Jan 08 '13 at 14:35
1 Answers
2
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>

gokhansari
- 2,379
- 1
- 27
- 33