I had the same problem, easy reproducible with

MyFaces 1.2.2, Tomahawk 1.1.6 and RichFaces 3.1.2 SP1.

I switched to RichFaces 3.1.4 GA, and now it works fine.

Regards,
Ognjen


Michael Heinen wrote:
I am facing a problem with t:saveState which could be caused by richfaces/ajax4jsf (but not sure about it)

The saved component is still "living" after leaving and revisiting a page.

I defined a managed bean in request scope:

<managed-bean-name>WorkflowController</managed-bean-name>

<managed-bean-scope>request</managed-bean-scope>

It is saved via:

<t:saveState id="savedWorkflowController" value="#{WorkflowController}"/>

If I enter the page the first time then the Constructor of WorkflowController is called. If I now leave the page and re-enter it I expect that a new instance is created, but it isn't.

I am sure that this feature was working well in the past.

An older version of my workspace with ajax4js4 1.1.0 is running fine. Unfortunately I can't go back to this version in my current workspace due to incompatibilities.

Any ideas how to isolate this problem quickly?

My enviroment:

myFaces 1.1.5

tomahawk 1.1.5 snapshot

richfaces-ui-3.1.4 GA

tiles and jsps (no facelets)

server-side state saving


Reply via email to