[jQuery] [treeview] Giving more parameters to the async load function ?

[jQuery] [treeview] Giving more parameters to the async load function ?


Hello,
In the treeview plugin in async mode, a parameter "root" is given to
the json call in the file jquery.treeview.async.js, it helps
identifying what branch of the tree is requested. But I am trying to
handle all my application's tree by the same servlet (same url
parameter from treeview script), but with just the id of the node, it
is not possible. So I was trying to get this work but didn't find a
"best solution".
What I first though about setting "richer" id, by adding some more
information (id of the tree + delimiter + id of the node). But it
implies a delimiter and a little code on server side to get the 2
parameters. What I dislike in this solution is the delimiter, but It
can work. I would have prefer http parameters.
I secondly try to give parameters to the load function from the file
treeview.async.js. So I add some parameters with the " url:
source.php" in the treeview function that build the treeview. These
parameters can be used in the load function with the "settings" var
from the file jquery.treeview.async.js. But there's a problem, it
implies to modify the file jquery.treeview.async.js because only the
"root" parameter is given...
I could also handle the http request with differents url instead of
one, but I prefer the first solution because I can give "almost real"
parameters.
Maybe adding the parameters directly into the "url" parameters could
do the job, but I didn't try it !
So I was wondering if the file jquery.treeview.async.js is just for a
demo purpose that can be updated or a real jquery treeview file, that
could change with the next release ? Is it possible or expected to add
more than the root parameter in the treeview plugin ? Or do I have to
deal with delimiter on "rich id" ?
Thanks