Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-10967

Drag'n'Drop does not work with PARTIAL_STATE_SAVING FALSE

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michpetrov Michal Petrov
                  Reporter:
                  stephan.m Stephan Meisinger
                • Votes:
                  5 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: