using javax.faces.context;\r
using System.Diagnostics;\r
using System.Web.UI;\r
+using javax.faces.render;\r
+using javax.faces;\r
\r
namespace Mainsoft.Web.Hosting\r
{\r
public abstract class BaseFacesStateManager : StateManager\r
{\r
+ protected static readonly string VIEWSTATE = "__VIEWSTATE";\r
+ protected static readonly RenderKitFactory RenderKitFactory = (RenderKitFactory) FactoryFinder.getFactory (FactoryFinder.RENDER_KIT_FACTORY);\r
+\r
public override StateManager.SerializedView saveSerializedView (FacesContext facesContext) {\r
Object treeStruct = getTreeStructureToSave (facesContext);\r
Object compStates = getComponentStateToSave (facesContext);\r
}\r
\r
protected override sealed Object getTreeStructureToSave (FacesContext facesContext) {\r
- return null;\r
+ return String.Empty;\r
}\r
\r
public override UIViewRoot restoreView (FacesContext facesContext,\r