[Jsptree-devel] Extra values passed through to template
Status: Pre-Alpha
Brought to you by:
modano
|
From: Alex <a.b...@xs...> - 2004-12-14 15:15:59
|
Hi,
Been using the library to do a straight forward JSP tree, however, would
like to display multiple values in one row and I would like to add
formatting to the template not the label.
For example I have a multiple column row, but the only way to pass the =
value
to the template is via the label which would then have to be delimited =
w/
the html tags (</td><td>.... Etc...). Other values should be allowed to =
be
set. For example attributes that are set in the xml tree shouldn't be
filtered out, they should be passed through so the template can =
reference
them.
E.g.
<node someotherattribute=3D'somevalue' id=3D'1' label=3D'somelabel'/>
Templatefile
<tr><td>${someotherattribute}</td><td>${node_label}</td></tr>
.
.
.
Let me know what you think.
|