>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:[email protected]] 
Sent: Tuesday, April 07, 2009 12:56 PM
To: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to