Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

obtaining the selected item in s:tree

Session Mwamufiya

2007-08-03


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@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.