Java Mailing List Archive

http://www.junlu.com/

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

Binding a Java 5 Enumeration to a Select Tag

Thorsten Schäfer

2007-08-08

Replies:

Hi,

I'd like to bind an enumeration directly to a select tag, so that all
possible values appear in the ui and I don't need to change the JSP if
the enumeration changes. Does anybody have a code snippet how to do
this? I could not find anything about it in the documentation.

Cheers,

Thorsten


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

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