3 Replies Latest reply on Mar 30, 2007 11:07 AM by David Cracauer

    Drag from DragSupport to Tree

    David Cracauer Newbie

      Is there any way to setup a drag from a <rich:dragSource> (like in the example app) onto the tree? It appears that this is not supported , as I get a ClassCastException like this:
      java.lang.ClassCastException: org.richfaces.component.html.HtmlDragSupport
      at org.richfaces.renderkit.DnDEventsExchangeMailer.mailEvent(DnDEventsExchangeMailer.java:122)
      at org.richfaces.renderkit.DropzoneRendererContributor.decode(DropzoneRendererContributor.java:150)
      at org.richfaces.renderkit.CompositeRenderer$1.execute(CompositeRenderer.java:74)

      Looking at the code in DnDEventsExchangeMailer, it looks like if the target is itself draggable, it can't be used as a dropzone. Is this true? Am I out of luck?

      Dave Cracauer