1 Reply Latest reply on Jul 22, 2013 7:17 AM by Michal Petrov

    richfaces5 drag and drop not work at all ,please help

    jim wang Newbie

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"

                xmlns:h="http://java.sun.com/jsf/html"

                xmlns:f="http://java.sun.com/jsf/core"

                xmlns:ui="http://java.sun.com/jsf/facelets"

                xmlns:r="http://richfaces.org/rich">

                <h:head></h:head>

                <r:dragIndicator id="ind">

              Drag the item to proper area..

          </r:dragIndicator>

                <h:graphicImage value="../../resources/images/MainMenu_bg.gif" >

                             <r:dragSource dragIndicator="ind"></r:dragSource>

                </h:graphicImage>

      </ui:composition>

       

       

      i use the latest richfaces5 and apply drag and drop functionality into the image. when i try to drag the image MainMenu_bg.gif, nothing happen .it seems that the image is not given the draggable ability at all.

      any advice is appreciated .thanks.