I'm using jsTree jQuery plugin for drawing a tree. When user clicks a node, an ajax request containing node's id is send to server.
In my response I generating such piece of html (this is done in separate servlet):
<li id="node_id_1"><a href="foobar">Child item 1</a></li>
<li id="node_id_2"><a href="foobar">Child item 2</a></li>
<li id="node_id_3"><a href="foobar">Child item 3</a></li>
<li id="node_id_4"><a href="foobar">Child item 4</a></li>
<li id="node_id_5"><a href="foobar">Child item 5</a></li>
And this items are drawn under the selected node.
The question is: what value should I use for href attribute for referring wicket pages? I.e. I need links pointing to class MainPage with some parameters.