RE: Inheritance within form beans

2007-10-03 Thread Kothari, Kailash
[mailto:[EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 7:21 AM To: Struts Users Mailing List Subject: Re: Inheritance within form beans On 10/2/07, Kothari, Kailash [EMAIL PROTECTED] wrote: Thaks Rick. This will give me an instance of the parent bean OR the child bean. What I need is a child

RE: Inheritance within form beans

2007-10-03 Thread Kothari, Kailash
03, 2007 2:37 PM To: Struts Users Mailing List Subject: Re: Inheritance within form beans On 10/3/07, Kothari, Kailash [EMAIL PROTECTED] wrote: Thanks a lot Rick. That gives me a new area to explore. The BeanUtils method - BeanUtils.copyProperties(Object target, Object src) - does give me

RE: Inheritance within form beans

2007-10-03 Thread Kothari, Kailash
- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 3:47 PM To: Struts Users Mailing List Subject: Re: Inheritance within form beans On 10/3/07, Kothari, Kailash [EMAIL PROTECTED] wrote: Ok, that's quite interesting.. I think I just need to find a efficient way

RE: Inheritance within form beans

2007-10-02 Thread Kothari, Kailash
beans On 10/1/07, Kothari, Kailash [EMAIL PROTECTED] wrote: What I also need is that, when a child form bean is instantiated by Struts, I want Struts to check if there is an instance of the parent form bean in the session and if so, pre populate that data from the parent to the child form bean

Inheritance within form beans

2007-10-01 Thread Kothari, Kailash
Hello, I have an interesting Struts design requirement and Im a little lost, would really appreciate help ! I have multiple form beans in my application and a lot of them share data. Instead of duplicating the common attributes in each form bean, I am opting for an more elegant approach, i.e.