Can someone kindly help me out? Given that the following chunck of code is a tile, call it Source A:
********** Begin Source A *********************** <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <jsp:useBean id="scheduleInfoForm" class="com.abc.xyz.bean.ScheduleInformationForm" scope="session"> </jsp:useBean> <FIELDSET><LEGEND align="top">Weekly Options</LEGEND> <P> Recur every <html:text property="recurrence" name="scheduleInfoForm"></html:text> weeks(s) on: </P> <P> <logic:iterate name="scheduleInfoForm" property="days" id="element"> <bean:write name="element" /> </logic:iterate> </P> </FIELDSET> <FIELDSET> <P> Begin Date <html:text property="begindate" name="scheduleInfoForm"></html:text> End Date <html:text property="enddate" name="scheduleInfoForm"></html:text> <html:checkbox property="noenddate" name="scheduleInfoForm"></html:checkbox>No End Date </P> </FIELDSET> *************** End Source A ***************** What could be the possible source of not being able to use the <logic:iterate> to simply display the contents of the days array? I keep getting the following error: ServletException in:/tiles/weekly_schedule.jsp] Cannot find bean element in any scope' My ActionForm is as follows (reduced to show things that relate to the error): ************* Begin Source B ****************** public class ScheduleInformationForm extends ActionForm { /* Class members */ private String [] selectedDays = new String[0]; private String [] days = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}; public void reset(ActionMapping mapping, HttpServletRequest request) { this.selectedDays = new String[0]; } public String[] getSelectedDays() { return selectedDays; } public String[] getDays() { return days; } public void setDays(String[] days) { this.days = days; } public void setSelectedDays(String[] selectedDays) { this.selectedDays = selectedDays; } ************** End Source B ********************* Thanks in advance, Dave __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]