Hi Shula,
You need to override isLeaf() in your TreeNode impl to return true.

best,
jim

On 5/10/07, sf <[EMAIL PROTECTED]> wrote:


How can I create an expandable node when the node doesn't have any
children.
it seems as if the '+' sign is added automatically only when children
exist
(I am implementing a lazy loading tree, the children will be added only
when
the user expands the node)?


Thanks
Shula
--
View this message in context:
http://www.nabble.com/newbie-creating-an-expandable-tree-node-with-no-children-tf3722311.html#a10415653
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to