You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Thorsten Schäfer <sc...@informatik.tu-darmstadt.de> on 2007/08/08 10:12:07 UTC

Binding a Java 5 Enumeration to a Select Tag

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@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Binding a Java 5 Enumeration to a Select Tag

Posted by Thorsten Schäfer <sc...@informatik.tu-darmstadt.de>.
S2

> S1 or S2?

> > I'd like to bind an enumeration directly to a select tag, 


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


Re: Binding a Java 5 Enumeration to a Select Tag

Posted by Paul Benedict <pb...@apache.org>.
S1 or S2?

On 8/8/07, Thorsten Schäfer <sc...@informatik.tu-darmstadt.de> wrote:
>
> 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@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>