primefaces tree dnd problem

UI Components for JSF
Post Reply
suyouwanggang
Posts: 13
Joined: 17 Apr 2011, 17:37

06 Aug 2011, 04:53

when I draged a tree node to a new node, then fresh the page with F5, the tree is not dragable any more
what causes the problem ?

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

06 Aug 2011, 13:24

I think something is wrong with cookies. The tree buffers its closed / expanded state and shows the same state if you call other pages from labs showcase and then go back to the DND example. DND doesn't work after any kind of refresh.

Other DND-issues:

1) Assume we have

Code: Select all

- Node 0.0
    - Node 0.0.0
    - Node 0.0.1
If we drag the Node 0.0.0 and drop it into 0.0, the Node 0.0.0 appears after the Node 0.0.1. We have

Code: Select all

- Node 0.0
    - Node 0.0.1
    - Node 0.0.0
If we drag the second Node 0.0.1 and drop it into 0.0, nothing is changed.

2) DND-implementation doesn't allow to drop a node between any other nodes http://code.google.com/p/primefaces/iss ... il?id=1961

I suppose to create an issue.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 50 guests