4 Replies Latest reply on Oct 15, 2013 9:45 AM by Shen B

    rich:dragIndicator not working in Richfaces4.3.1

    Shen B Newbie

      Hi,

       

      I am trying to implement the basic richfaces drag-drop support as showcased in the Richfaces live demo.

      I am using Richfaces 4.3.1 and working with JBoss Tools in Eclipse Juno. I have used <rich:dragSource> in the source component and <rich:dropTarget> at the target component. Also I have included these two tags within

      < a4j:outputPanel layout="block" as advised in the guide, http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=dragDrop&sample=dragDrop&skin=blueSky

      My <rich:dragIndicator> is as follows:

      <rich:dragIndicator id="ind" acceptClass="accept" rejectClass="reject" rendered="true"/>

      I have the above classes defined in my xhtml.

       

      When I run this (in Tomcat v7.0) I see the hand cursor when I click on the source to drag but don't see the drag indicator at all and also none of the events are triggered.

       

      Please suggest if I am missing out on anything. Also if anyone has used this feature, request you to please help me with some example code as I am not sure if I am using the components correctly.

      Any suggestions/clue would be highly appreciated!

       

      Thanks!

      Shen