4 Replies Latest reply on Aug 18, 2010 7:40 AM by Ilya Shaikovsky

    Richfaces Drag and Drop not working?!

    Ahmed Zaroui Newbie
      I try  to make draggable components and to do this I am based on this example:
      and i started with this example but the component does not give any indication that is draggable:
              <!---------------- Indicator -------->
              <rich:dragIndicator id="indicator" />
                   <table border="0">
                             <td valign="top"><rich:panel>
                             <td valign="top"><rich:panel id="afficherTest">
                                  <rich:dataGrid value="#{afficherTestBean.listTest}" var="test"
                                       columns="2" elements="6" width="600px">
                                       <rich:panel style="cursor: move">
                                             <!---------------draggable Zone-------------------->
                                            <rich:dragSupport dragIndicator=":indicator"
                                                 dragType="#{test.nomTest}" dragValue="#{test.nomTest}">
                                                 <rich:dndParam name="label" value="#{test.nomTest}" />
                                            <f:facet name="header">
                                                 <h:outputText value="#{test.categorie}"></h:outputText>
                                            <h:panelGrid columns="2">
                                                 <h:outputText value="Nom Test:" styleClass="label"></h:outputText>
                                                 <h:outputText value="#{test.nomTest}" />
                                                 <h:outputText value="Description Test:" styleClass="label"></h:outputText>
                                                 <h:outputText value="{test.description}" />
                                                 <a4j:commandLink value="Ajouter"></a4j:commandLink>
                                       <f:facet name="footer">
      please help me to create draggable component,i need your help ):'
      Environement:Spring 2.5.5,Richfaces 3.3.2 SR and JSF 1.2