Hey Doug,

I was able to get the check boxes to work. Thanks for your help on that.
However there is another problem that I am not able to get to work.

I have created another panel with a checkbox tree in it and i want that
panel to show only when I check one of the child nodes in my main checkbox
tree. i.e. I have Panel1 and Panel2 for a page both having a checkbox tree
component in them say checkboxtree1 and checkboxtree2 respectively. I want
the Panel2 to show up (along with the tree) only when a node of the
checkboxtree1 is selected. I tried to add the panel dynamically in the
onNodeCheckUpdated() method of the main panel but it doesn't work like that. 

Any ideas about how i can get this to work.

Regards,
vishy_sb


Doug Leeper wrote:
> 
> If the tree is pre-loaded, it is easier.  When the checkbox is selected,
> iterate through the children nodes and set its state to selected.
> 
> The dynamically loaded is alot trickier...as you would have to load the
> tree from the selected node and then iterate and set the children notes to
> selected.
> 
> Are you sure you want to select the children nodes or is it the parent
> nodes you want to select?
> 

-- 
View this message in context: 
http://www.nabble.com/Checkbox-tree-component-tp13433102p18326913.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to