Java Mailing List Archive

http://www.junlu.com/

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

Re: How to create a <s:select> using the struts.properties file

Don Brown

2007-02-02

Replies:

The select tag works with a map as well, which the Properties class
implements. What error are you seeing?

Don

On 2/2/07, Struts2 Fan <struts2fan@(protected):
> Hi I want to use the <s:select> using the struts.properties file
>
> struts.properties file
> country.values = Italy,Holland
> country.keys = 1,2
>
> -----------------------------------
> <s:select listKey="country.keys" listValue="country.values">
>
> but <s:select> requires list attribute. How can I solve this problem?
>
> Thanks...
>
>

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

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