Re: logic:iterate questions

2001-04-22 Thread Craig R. McClanahan
On Sat, 14 Apr 2001, Jim Crossley wrote: See below. "Craig R. McClanahan" wrote: 2) I have a bean that has a collection of Phone objects, accessible via its getPhones() method. Shouldn't I be able to return EITHER a Phone[] or a java.util.Collection? The following element

Re: logic:iterate questions

2001-04-14 Thread Jim Crossley
See below. "Craig R. McClanahan" wrote: 2) I have a bean that has a collection of Phone objects, accessible via its getPhones() method. Shouldn't I be able to return EITHER a Phone[] or a java.util.Collection? The following element works fine when a Collection is returned, but I get

Re: logic:iterate questions

2001-04-13 Thread Craig R. McClanahan
On Mon, 9 Apr 2001, Jim Crossley wrote: Two questions, please. 1) Why do I have to include the 'name' attribute of logic:iterate when inside an html:form element? It seems gross to have the same string in both the JSP page and the form-bean element in struts-config.xml. The

logic:iterate questions

2001-04-09 Thread Jim Crossley
Two questions, please. 1) Why do I have to include the 'name' attribute of logic:iterate when inside an html:form element? It seems gross to have the same string in both the JSP page and the form-bean element in struts-config.xml. 2) I have a bean that has a collection of Phone objects,