the beaninfo is all in the parent class - Component...
--Stacy
- Original Message -
From: dIon Gillard
To: Struts Users Mailing List
Sent: Saturday, March 02, 2002 8:06 PM
Subject: Re: Digester and inheritance
Stacy Weng wrote:
>I have a parent class called Compon
Stacy Weng wrote:
>I have a parent class called Component, and several child classes extending from it.
> All the common get/set methods are defined in Component. So, after each child is
>getting created from addObjectCreate() method, I call addSetProperties() method to
>initialize their val
truts Users Mailing List'
Sent: Friday, March 01, 2002 12:45 PM
Subject: RE: Digester and inheritance
It appears from your listings and descriptions that Component is basically a
JavaBean and your helper classes should have "has a" relationships with it,
not "is a.
or Digester, it is indifferent to the relationships between your
classes; I am merely suggesting a refactoring of your code.
Mark
-Original Message-
From: Stacy Weng [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 3:13 PM
To: Struts Users Mailing List
Subject: Re: Digester and in
ssage -
From: "Stacy Weng" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 5:12 PM
Subject: Re: Digester and inheritance
Wouldn't that be a "has-a" relationship? If I do that, than I would end up
w
e to respond. I can't stress how much I
appreciate it.
- Original Message -
From: Galbreath, Mark
To: 'Struts Users Mailing List'
Sent: Friday, March 01, 2002 2:40 PM
Subject: RE: Digester and inheritance
You are misusing inheritance. Instead of extending C
--Stacy
- Original Message -
From: Fernando Esteban Barril Otero
To: Struts Users Mailing List
Sent: Friday, March 01, 2002 1:48 PM
Subject: Re: Digester and inheritance
I'm using digester and inheritance without problems. What kind
of exception are you gettin
iling List
Sent: Friday, March 01, 2002 1:48 PM
Subject: Re: Digester and inheritance
I'm using digester and inheritance without problems. What kind
of exception are you getting?
Fernando
- Original Message -
From: "Stacy Weng" <[EMAIL PROTECTED]>
T
I'm using digester and inheritance without problems. What kind
of exception are you getting?
Fernando
- Original Message -
From: "Stacy Weng" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 1:20 PM
Subject: Digester and inheritance
H
9 matches
Mail list logo