Hmmm, 
could it be that JspStateManagerImpl.saveSerializedView only does save changes 
done to the FacesContext when it is called for the first time?

        
  | ...
  | if (serializedView == null)
  |         {
  |             // first call to saveSerializedView --> create SerializedView
  |             Object treeStruct = getTreeStructureToSave(facesContext);
  |             Object compStates = getComponentStateToSave(facesContext);
  |             serializedView = new StateManager.SerializedView(treeStruct, 
compStates);
  |             
externalContext.getRequestMap().put(SERIALIZED_VIEW_REQUEST_ATTR,
  |                                                 serializedView);
  |         }
  | ...
  | 
well it gets called twice from StateManagerInterceptor.saveSerializedView the 
second time after the @Factory/@Begin call w/ the updated FacesContext and this 
code segment gets skipped...

cu,


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912611#3912611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912611


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to