Hi,
Before I used MyFaces 1.1.3 I was able manually delete (actually it was hack) serialized view which have been created during using saveState component. But now (I'm started using 1.1.3) serialized view cannot be deleted in this case:
if (session.getAttribute("org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/c/ac/page1.jsp") != null) {
session.removeAttribute("org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/c/ac/page1.jsp ");
}
if (session.getAttribute("org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/c/ac/page2.jsp") != null) {
session.removeAttribute("org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/c/ac/page2.jsp ");
}
session.removeAttribute("org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/c/ac/page1.jsp ");
}
if (session.getAttribute("org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/c/ac/page2.jsp") != null) {
session.removeAttribute("org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/c/ac/page2.jsp ");
}
Now serialized views stores to session object using some collection. Is any choice to delete manually serialized view which have been created by saveState component from Tomahawk?
--
Thanks,
Yura.
--
Thanks,
Yura.

