You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Al Sutton <al...@alsutton.com> on 2008/01/31 11:39:44 UTC
[S2.1] Proposal for additional attribute on s:tree for dynamic trees.
I'm throwing this idea out there for comments, so please let me know what
you think.
Problem : As things currently stand you can specify a child icon for a
static tree node using childIconSrc. If you're creating a dynamic tree there
is no method of specifying the icon for each node.
Proposal : Add a nodeIconSrcParameter attribute to s:tree which would
specify a method to call in a node object which would return icon source.
Each node in the dynamic tree can then control the icon it wants to display.
What do people think?
Al.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org