1 Reply Latest reply on Feb 10, 2012 4:22 AM by Gaurav Pandey

    Drag and Drop Support for rich:select

    Gaurav Pandey Newbie

      Drag and drop support is showcased for a static list.

      I am not able to extend it for a combobox. I should be able to drag combobox options to a different target (like we did for a list).

       

       

      <rich:select enableManualInput="true" defaultLabel="start typing for select">

      <a4j:outputPanel>

        <rich:dragIndicator id="ind4" acceptClass="accept"

         rejectClass="reject" draggingClass="default">

         <h:outputText value="test" />

        </rich:dragIndicator>

        <rich:dragSource type="test" dragIndicator="ind4"

         dragValue="abc" />

        <f:selectItems value="#{dragDropBean.targetHCP}" var="fm" />

      </a4j:outputPanel>

      </rich:select>