Drag'n'Drop does not work with PARTIAL_STATE_SAVING FALSE
---------------------------------------------------------

                 Key: RF-10967
                 URL: https://issues.jboss.org/browse/RF-10967
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-drag/drop
    Affects Versions: 4.0.0.Final
         Environment: tomcat 6.0.32
RichFaces 4.0.0-Final 
            Reporter: Stephan Meisinger


if partital state saving is off
 <context-param>
  <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
  <param-value>false</param-value>
 </context-param>

droping of items does noth work and causes a NullPointerException
        at 
org.richfaces.event.MethodExpressionDropListener.processDrop(MethodExpressionDropListener.java:47)
        at org.richfaces.event.DropEvent.processListener(DropEvent.java:74)
        at 
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:777)
        at 
org.richfaces.component.AbstractDropTarget.broadcast(AbstractDropTarget.java:122)
        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
        at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
        at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
... 18 more

imho MethodExpressionDropListener should be serializable, otherwise 
methodExpression can't be set by the SafeStateHolder.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to