PanelTabbedPane:  selecting tab during rendering can cause exceptions
---------------------------------------------------------------------

         Key: MYFACES-1286
         URL: http://issues.apache.org/jira/browse/MYFACES-1286
     Project: MyFaces Core
        Type: Bug

  Components: General  
    Versions: 1.1.1    
 Environment: XP/JDK 1.5/Firefox and IE on Windows
    Reporter: Steve Peterson


1.  Create a tabbed pane layout with several tabs.  Have one of the panels 
include a boolean field (primitive) in the backing bean, fronted by a 
SelectOneMenu.  Make the panel with the boolean on it take a little while to 
render.

2.  Quickly move among the tabs.  You will get exceptions of the form:

[[/id-barcode]] Cannot set value for expression 
'#{designHandler.design.contrastOutlineText}' to null.
javax.faces.el.EvaluationException: Cannot set value for expression 
'#{designHandler.design.contrastOutlineText}' to null.
at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:310)
at javax.faces.component.UIInput.updateModel(UIInput.java:287)
at javax.faces.component.UIInput.processUpdates(UIInput.java:223)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:715)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:715)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:715)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:715)
at javax.faces.component.UIForm.processUpdates(UIForm.java:87)
at 
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:715)
at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:158) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to