Posted by moizd
on January 4, 2009 at 3:49 PM PST
I am attempting to build a Windows Explorer like ui using jMaki: using a yahoo.tree widget in the left page and a table in a jmaki.dcontainer in the right pane. The tree contains 3 different kinds of nodes: a root node, which has parent nodes which, in turn, have child nodes. Depending on the type of node selected, I need to show a different detail table in the right pane; one for the root node, one for the parent nodes and a third one for the leaf nodes.
I have looked at the containers sample at http://jmaki.com/jmaki/containers/ and I have read Carla Mott's blog post on building Web 2.0 applications (http://weblogs.java.net/blog/carlavmott/archive/2007/08/building_web_20_... ).
I have attempted all of the tips, but I can't get it to work right. I can get the dcontainer to display a different table only once. After that there is no response to any further events. I can log the events being published to the topic that the dcontainer widget is subscribed to, in glue.js.
Is there an example out there that demonstrates event handling between a tree and a dcontainer?
Any help would be appreciated.