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

    Drag from DragSupport to Tree

    dcracauer

      Greetings,
      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?

      Thanks,
      Dave Cracauer