jsf - Primefaces add treenode in database -


i'm using primefaces 5.0 , create treenode draggable (as example detailed in http://www.primefaces.org/showcase/ui/data/tree/dragdrop.xhtml).

i update tree node in database don't understand it.

my actual solution first remove database treenode , after add new treenode built user. every item in treenode custom object, getrowkey() method can build new tree index.

is best way?

thanks.


Comments

Popular posts from this blog

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -