hi,

we have a wicket 1.5.7 tree (org.apache.wicket.extensions.markup.html.tree)
that we are loading subnodes into via ajax. the tree supports ajax dnd
events using wiquery (dnd to copy/move/link page objects into the tree
nodes) and it works great when the page loads (e.g at level one in the
tree).

when we add subnode (level two) to the tree via ajax (lazy loading nodes),
these nodes are at first not droppable. after loading an additional
sublevel (level three), then the nodes of  level two are droppable. the
level three nodes are not. and this continues down the tree level by
level... alternately, when the page is refreshed (f5) all nodes in the tree
are droppable.

i know that jquery brings a live() function for reacting to ajax-y DOM
changes. i cannot figure out how this plays into the wiquery context or how
we can get the ajax nodes to be ui-droppable right after loading.

advice appreciated. thanks.

best regards
-chris

-- 
Chris Turchin <ch...@turchin.net>

Reply via email to