Control 'partial state saving' on a per-component basis?
I am trying to migrate my component library from JSF 1.2 to JSF 2.0. One of my immediate problems is with partial state saving.
My component works if I set 'javax.faces.PARTIAL_STATE_SAVING' to 'false' in web.xml. However this applies globally, and besides I don't want to force my users to do that.
Until I get partial state saving support working correctly for my component, can I disable it on a per-component basis? I note it is enabled by implementing PartialStateHolder, but UIComponentBase already implements this by default?
Can I disable it within my UIComponentBase subclass? Or do I have to extend UIComponent directly and re-implement all that UIComponentBase goodness (support for rendered, facets, etc).