Re: always wants form bean

2001-04-22 Thread Ted Husted
Actually, I just realized I mixed-and-matched regular HTML and Struts tags, like this: Word Search: Which manages to resolve the mappings and retain the session information with or without cookies. The action expects text={word} Jim Crossley wrote: > > So what would the value of your 'prop

Re: always wants form bean

2001-04-22 Thread Jim Crossley
So what would the value of your 'property' attribute be??? Ted Husted wrote: > > > I'm curious... > > For that to work, what property of java.lang.String should the > > tag reference? I'm assuming the single field would use an > > tag, right? > > Mine do, but I don't think it would ma

Re: always wants form bean

2001-04-22 Thread Ted Husted
> I'm curious... > For that to work, what property of java.lang.String should the > tag reference? I'm assuming the single field would use an > tag, right? Mine do, but I don't think it would matter, since all the HTML form fields resolve to strings so they can be transmitted by HTTP. > Ted H

Re: always wants form bean

2001-04-22 Thread Jim Crossley
I'm curious... Ted Husted wrote: > > For a simple form with a single field that doesn't need validation you > can specify a name and type, e.g. > > For that to work, what property of java.lang.String should the tag reference? I'm assuming the single field would use an tag, right?

Re: always wants form bean

2001-04-22 Thread Jim Crossley
Nested properties already provide for "objects as members of the form". See http://jakarta.apache.org/struts/api/org/apache/struts/taglib/bean/package-summary.html#doc.Properties Chris Butler wrote: > > Has there been any interest in allowing ActionForms > to have objects as members of the form

Re: always wants form bean

2001-04-22 Thread Chris Butler
Has there been any interest in allowing ActionForms to have objects as members of the form? ie. dividing registration into user/address/contact/subscriptions sorts of sub-beans... chris At 08:25 AM 4/22/2001 -0400, Ted Husted wrote: >For a simple form with a single field that doesn't need valid

Re: always wants form bean

2001-04-22 Thread Ted Husted
For a simple form with a single field that doesn't need validation you can specify a name and type, e.g. otherwise, yes, you do have to give Struts a bean where it can save the fields in your form. Vimal Kansal wrote: > > Hi, > > I am having a strange problem. > > I have an action nmapping

always wants form bean

2001-04-18 Thread Vimal Kansal
Hi, I am having a strange problem. I have an action nmapping defined as And then in my XDIViewAdminConfigForm.jsp, I have the following : When I request this, I get the following exception : "javax.servlet.jsp.jSpException : Cannot retrieve definition for form bean n