0 Replies Latest reply on May 14, 2009 7:59 AM by sirajbg

    richfaces drag and drop

    sirajbg

      Hi,
      I am able to drag any image or text from drag support. But
      I am not able to drop the image in the drop area

      
      <rich:panel id="dragpanelid" style="width: 300;height: 300;">
       <f:facet name="header">
       <h:outputText value="Drag Region" />
       </f:facet>
       <a4j:outputPanel>
       <rich:dragSupport id="dragid" dragIndicator=":indicator" dragType="singleItem" >
       <rich:dndParam name="label" type="drag">
       <h:graphicImage value="/images/images.jpg" />
       </rich:dndParam>
       <h:graphicImage value="/images/images.jpg" />
       </rich:dragSupport>
       </a4j:outputPanel>
      
       </rich:panel>
      
       <rich:panel id="droppanelid" style="width: 300;height: 300;">
       <f:facet name="header">
       <h:outputText value="Drop Region" />
       </f:facet>
      
       <a4j:outputPanel>
       <rich:dropSupport id="dropid" acceptedTypes="singleItem" dropValue="yyyy" dropListener="#{dragnDrop.dragged}" reRender="droppanelid" >
       </rich:dropSupport>
       </a4j:outputPanel>
      
       </rich:panel>
      
      


      Please help me in fixing this issue.


      siraj.