What's the role of your action in this? Do you have a getter that
returns the list? Do you use it in the select tag?

Nils-H

On Tue, Apr 7, 2009 at 7:14 PM, PEGASUS84 <pegasu...@hotmail.it> wrote:
>
> please can you say me any solution
> because i don't undestand the documentation
>
>
>
>
> Security Management wrote:
>>
>> From the documentation: http://struts.apache.org/2.0.14/docs/select.html
>>
>> "" List: Iterable source to populate from. If the list is a Map (key,
>> value), the Map key will become the option 'value' parameter and the Map
>> value will become the option body. ""
>>
>> Now, you have list as "DataOre".  This is not, as the documentation says,
>> an
>> "Iterable source to populate from".
>>
>> M.
>>
>> -----Original Message-----
>> From: PEGASUS84 [mailto:pegasu...@hotmail.it]
>> Sent: Tuesday, April 07, 2009 12:56 PM
>> To: user@struts.apache.org
>> Subject: Re: please help me
>>
>>
>> this is my bean
>> package bean;
>> import java.util.*;
>>
>> public class DataOre {
>>     List giorno=new ArrayList();
>>
>>
>>
>>   public DataOre(){
>>     giorno = new ArrayList();
>>     giorno.add("Sunday");
>>     giorno.add("Monday");
>>     giorno.add("Tuesday");
>>     giorno.add("Wednesday");
>>     giorno.add("Thursday");
>>     giorno.add("Friday");
>>     giorno.add("Saturday");
>> }
>> }
>>
>>
>> anf in the jsp page there is
>>
>> <%...@page import="bean.DataOre"%>
>> <s:select headerKey="1" headerValue="seleziona" list="DataOre"
>> listValue="giorno" />
>> --
>> View this message in context:
>> http://www.nabble.com/please-help-me-tp22933522p22933565.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/please-help-me-tp22933522p22933911.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

here's

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

Reply via email to