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

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -