p:draggable - How to call method when the dragging is done

UI Components for JSF
Post Reply
KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

04 May 2011, 00:25

I need update the coordinate of the component to the database. Therefore when I drag the item to a new location, I need to save that location. How can I do this?

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

mask_hot
Posts: 34
Joined: 27 May 2011, 10:52

27 May 2011, 10:59

Hi, I have the same need : I need to save the position of a restricted draggable component. So I don't have a droppable component (I believe only droppable object have event listeners).

Does anyone have a tip to handle this?

thanks a lot

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests