0 Replies Latest reply on Aug 13, 2010 2:43 PM by Vlade Maksimovic

    Better solution to discover drop location?

    Vlade Maksimovic Newbie

      Hello, I work on one page which should have drag and drop support.

      I see example from Richfaces live demo, and I made page... but I'm dynamically loading position in which to drop components...

      And all drop positions use same dropListener



      Now, I this situation I do not now how to discover where I drop(on which location I drop)?


      I try to discover location using:


      <a4j:support event="onmouseup" action="#{packageManagementBean.setCurrentDropLocation}">
              <f:setPropertyActionListener value="#{qwe.qweID}" target="#{packageManagementBean.currentDropLocation}" />


      and this is working, but I try to find better solution...