incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjuna Wijeyekoon (JIRA)" <>
Subject [jira] Commented: (ADFFACES-209) stateManagerImpl does not preserve state for UIViewRoot Correctly.
Date Sat, 30 Sep 2006 22:34:20 GMT
    [ ] 
Arjuna Wijeyekoon commented on ADFFACES-209:

unfortunately, calling restoreState on the sun RI UIViewRoot does not clear out the event
This is true for both 1.1_01 and 1.1_02.

specifically, if an error happens during processUpdateModel the event list is not cleared.
However, if the error happens during decode or validate, the event list is cleared.

So I cannot cache the UIViewRoot.  I will have to create a new one and copy over the state
from the old one,
using save/restoreState().

> stateManagerImpl does not preserve state for UIViewRoot Correctly.
> ------------------------------------------------------------------
>                 Key: ADFFACES-209
>                 URL:
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Arjuna Wijeyekoon
> Currently, Trinidad's StateManagerImpl recreates the UIViewRoot component on every request.
> This causes the following bugs:
> 1. not all state is copied from the old UIViewRoot to the new UIViewRoot, specifically:
>  unique id counters and faces listeners, etc ...
> 2. If  the class for UIViewRoot component is redefined in faces-config.xml, this will
break after first the first restoreState call.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message