Hello,

I am trying to create a DOJO-based tree (and if it turns out any good, I hope to contribute it back).

DOJO's treenode (http://dojo.jot.com/WikiHome/TreeNode) doesn't use contained markups. Instead, it expects node information to be expressed in DOJO-sepcific attributes such as the following:

<div wicket:id="parent" dojoType="TreeNode" title="<a href='xyz/parent'>My parent node</a>"> <div wicket:id="child" dojoType="TreeNode" title="<a href='xyz/child'>My child node</a>"></div>
</div>

The problem is that I need those hrefs to point to Wicket-pages (say using Link or PageLink), but creating a wicket link requires an id in the corresponding markup. Given that the link is a part of an attribute, there isn't a place for the id for the link. Any ideas on best option in this situation?

-Ramnivas


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to