Re: Help with struts-example...

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Ryan Cornia wrote: > This makes much more sense now. However, I was looking at the Javadoc, > and it appears PropertyUtils.copyProperties is deprecated. Is there > other functionality somewhere to use to copy the properties from the > form (where properties are all strings)

Re: Help with struts-example...

2001-06-14 Thread Ryan Cornia
This makes much more sense now. However, I was looking at the Javadoc, and it appears PropertyUtils.copyProperties is deprecated. Is there other functionality somewhere to use to copy the properties from the form (where properties are all strings) to the data bean (where properties might be Lon

Re: Help with struts-example...

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Ryan Cornia wrote: > In the struts-example, there is an OrganizationForm, and an > Organization bean. They have identical fields and getters and setters. > Why is the logic duplicated in both places? Couldn't OrganizationForm > extend Organization, or "have a" organization

Help with struts-example...

2001-06-13 Thread Ryan Cornia
In the struts-example, there is an OrganizationForm, and an Organization bean. They have identical fields and getters and setters. Why is the logic duplicated in both places? Couldn't OrganizationForm extend Organization, or "have a" organization bean in it that you could reference from a form