You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Session A Mwamufiya <sm...@andrew.cmu.edu> on 2007/08/03 21:51:27 UTC

obtaining the selected item in s:tree

Hi,

Forgive the flurry of posts.  I'd like to be able to do two things with tree nodes:
- determine which one was clicked from my action code (getting the corresponding id is enough)
- display the nodes in different colors depending on the type of the object.  I can determine the type of the object in the getName() method, but is there a way to provide font color information so that the returned name reflects it?

Thanks,
Session


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org