0 Replies Latest reply on Apr 10, 2008 10:20 AM by Artur Vilsov

    Dynamic actionparam for drag and drop

    Artur Vilsov Newbie

      I have a dragSupport panel with such code:

      <h:panelGroup id="dragPanel">
       <h:outputText styleClass="draggable" value="#{search.code}"/>
       <rich:dragSupport dragType="article" dragIndicator="indicator">
       <a4j:actionparam value="#{someBean.someField1}" name="id"/>
       <a4j:actionparam value="????" name="number"/>
       </rich:dragSupport>
      </h:panelGroup>
      


      Also I have inputNumberSpinner on the page.
      <h:inputText value="#{someBean.someValue}" id="inputNumber" />
      


      User can change value in this element on client-side, then start dragAndDrop operation and I need to submit this new value during my drop operation.

      Is there any way of doing this?