RE: beanutils.populate with formbeans and vectors

2002-12-20 Thread Yee, Richard K,,DMDCWEST
; From: Michael Olszynski [SMTP:[EMAIL PROTECTED]] > Sent: Friday, December 20, 2002 2:24 AM > To: Struts Users Mailing List > Subject: Re: beanutils.populate with formbeans and vectors > > Hi Richard > > you have following methods in your Action form (see below) >

Re: beanutils.populate with formbeans and vectors

2002-12-20 Thread Michael Olszynski
"; > } > } > > > > In the JSP page > > property="myItems" id="myObject"> > in iterate /> /> > > > The output: > in iterate John Doe 1 Main St. > in iterate Jane Doe 2 Main St. > > > Hope that helps, >

Re: beanutils.populate with formbeans and vectors

2002-12-20 Thread Michael Olszynski
IL PROTECTED]> Sent: Thursday, December 19, 2002 10:03 PM Subject: Re: beanutils.populate with formbeans and vectors > Michael, > This code works: > > TestActionForm.java > --- > package com.test; > > import java.util.*; > import org.apache.struts.a

Re: beanutils.populate with formbeans and vectors

2002-12-19 Thread Richard Yee
gt; > > > -- > Fehlerfreie Software wirkt weniger komplex und > diskreditiert damit den > Entwickler! > - Original Message - > From: "Richard Yee" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > <[EMAIL PROTECTED]>

Re: beanutils.populate with formbeans and vectors

2002-12-19 Thread Michael Olszynski
ecember 19, 2002 7:16 PM Subject: Re: beanutils.populate with formbeans and vectors > Michael, > How are you accessing the indexed property in the JSP? > > -Richard > > --- Michael Olszynski <[EMAIL PROTECTED]> wrote: > > Hi Richard, > > > > thanks again fo

Re: beanutils.populate with formbeans and vectors

2002-12-19 Thread Richard Yee
et.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp > atcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD > ispatcher.java:575) > at > org.apache.catalina.cor

Re: beanutils.populate with formbeans and vectors

2002-12-19 Thread Michael Olszynski
e.ApplicationDispatcher.include(ApplicationDis > patcher.java:498) > at > org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary > .java:820) > at > org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.jav > -- > Fehlerfreie Softwa

Re: beanutils.populate with formbeans and vectors

2002-12-19 Thread Michael Olszynski
ct: Re: beanutils.populate with formbeans and vectors > Michael, > You need to put the methods that I sent in the > FormBean class and not your Vector subclass. You > really don't need to subclass the Vector. > > > ex. > > public class MyForm extends ActionForm > { >

Re: beanutils.populate with formbeans and vectors

2002-12-19 Thread Richard Yee
Michael, You need to put the methods that I sent in the FormBean class and not your Vector subclass. You really don't need to subclass the Vector. ex. public class MyForm extends ActionForm { private Vector myFoos = new Vector(); /** * getter for indexed property in myFoos */ public