Re: Dynamic properties in ActionForms with custom tag

2002-01-05 Thread Ted Husted
Mapped properties are supported in the nightly build. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Building Java web applications with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ Freek Segers wrote: > > Hello again, > > I've partially solved my problem. I foun

Re: Dynamic properties in ActionForms with custom tag

2002-01-05 Thread Ted Husted
Freek Segers wrote: > > Hello, > > I'm currently working on my first Struts application and I'm facing two problems. > > First, I've created a custom tag that creates different types of HTML form fields. > The number of fields generated varies and the names of the fields are dynamic. > I can't

Re: Dynamic properties in ActionForms with custom tag

2002-01-03 Thread Freek Segers
Hello again, I've partially solved my problem. I found the new commons-beanutils package that has new methods in PropertyUtils (getMappedProperty() and setmappedProperty()). To solve my second problem I now hardcoded my form bean's name into the custom tag implementation to look it up in pageCon

Dynamic properties in ActionForms with custom tag

2002-01-02 Thread Freek Segers
Hello, I'm currently working on my first Struts application and I'm facing two problems. First, I've created a custom tag that creates different types of HTML form fields. The number of fields generated varies and the names of the fields are dynamic. I can't figure out how to let Struts populate

Re[4]: Properties in ActionForms

2001-01-11 Thread Oleg V Alexeev
er MC> Tumbleweed Communications MC> - Original Message - MC> From: "Oleg V Alexeev" <[EMAIL PROTECTED]> MC> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> MC> Sent: Thursday, January 11, 2001 1:31 PM MC> Subject: Re[2]: Properties in A

Re: Re[2]: Properties in ActionForms

2001-01-11 Thread Martin Cooper
y 11, 2001 1:31 PM Subject: Re[2]: Properties in ActionForms > Hello martin, > > Thursday, January 11, 2001, 10:50:00 PM, you wrote: > > mctc> Something I am working on at the moment is a very simple utility that > mctc> generates a form bean from an XML definition. The goal is simply

Re[2]: Properties in ActionForms

2001-01-11 Thread Oleg V Alexeev
Hello martin, Thursday, January 11, 2001, 10:50:00 PM, you wrote: mctc> Something I am working on at the moment is a very simple utility that mctc> generates a form bean from an XML definition. The goal is simply to reduce mctc> typing in generating beans - as Roger mentioned, it is kinda tedi

Re[2]: Properties in ActionForms

2001-01-11 Thread Oleg V Alexeev
Hello Craig, Thursday, January 11, 2001, 9:46:45 PM, you wrote: CRM> We're talking futures in terms of Struts here, but my question is ... aren't you CRM> doing the Locale-specific conversion a little bit too early? CRM> My thinking is that business logic objects maintain data objects in a CRM>

Re: Properties in ActionForms

2001-01-11 Thread martin . cooper
Something I am working on at the moment is a very simple utility that generates a form bean from an XML definition. The goal is simply to reduce typing in generating beans - as Roger mentioned, it is kinda tedious. I'm using something like this to specify a bean: Pretty simplist

Re: Properties in ActionForms

2001-01-11 Thread Craig R. McClanahan
Oleg V Alexeev wrote: > Hello Ted, > > In my application I use import/export methods in Form classes. For the > first time I try to use PropertyUtils.copyProperties(), but this > method convert properties without locale choosing. I need to process > different time/date and number formats for diff

Re: Properties in ActionForms

2001-01-11 Thread Ted Husted
>I wonder if any of you have implemented an automatic way of populating the properties in the ActionForm? Doing more with "auto beans" is being discussed for the 1.1 timefreame. Meanwhile, the latest builds support the next best thing: You can define generic data beans for your business logic da

Re: Properties in ActionForms

2001-01-11 Thread Craig R. McClanahan
Roger Kjensrud wrote: > Hello, > > I wonder if any of you have implemented an automatic way of populating the > properties in the ActionForm? It's kind of tedious to write all these setter > and getter methods > For generating the code of a form bean automatically, that is something I want t

RE: Properties in ActionForms

2001-01-11 Thread Schachter, Michael
ECTED] Subject: Properties in ActionForms Hello, I wonder if any of you have implemented an automatic way of populating the properties in the ActionForm? It's kind of tedious to write all these setter and getter methods I found an article(http://www.javaworld.com/javaworld/jw-12-20

Properties in ActionForms

2001-01-11 Thread Roger Kjensrud
Hello, I wonder if any of you have implemented an automatic way of populating the properties in the ActionForm? It's kind of tedious to write all these setter and getter methods I found an article(http://www.javaworld.com/javaworld/jw-12-2000/jw-1201-struts.html) describing one way of doing