struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Talbut" <Jim.Tal...@groupgti.com>
Subject What is the correct way to set up options for a <select> component?
Date Wed, 21 Oct 2009 11:45:08 GMT
Hi,

Newbie question:

I want to have an <s:select> component on a jsp page, but the options to
be displayed aren't relevant to the action that results in this page.
So how do I get a collection containing the options onto the stack
without doing so in the action?

I've seen other people asking the same question, but I haven't seen an
answer.
This must be such a common requirement that there has to be a
recommended way to achieve it.

Thanks.

Jim

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


Mime
View raw message