Re: Config inheritance

2005-03-31 Thread Joe Germuska
At 7:13 AM -0600 3/31/05, Hubert Rabago wrote: "subForm" can no longer just provide the minimum required when overriding/extending properties. It either specifies the form property fully, or accepts what the base config provides it. This would make it consistent with how s deal with s and s. Comm

Re: Config inheritance

2005-03-31 Thread Hubert Rabago
> -Original Message- > From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 23, 2005 12:41 PM > To: Hubert Rabago; Struts Developers List > Subject: Re: Adventures with configuration inheritance > > I disagree with this interpretation. For what it's worth, my > assumptio

Re: Config inheritance

2005-03-30 Thread gvanmatre
> > In a lot of cases, we do have null values. In most (if not all) of > > those cases, a null value is used to test for the presence of a value > > and affects behavior. For instance, let's take the "attribute" > > property for an action mapping. > > > > > > > > > > /sub can't be configured

Re: Config inheritance

2005-03-30 Thread gvanmatre
> In a lot of cases, we do have null values. In most (if not all) of > those cases, a null value is used to test for the presence of a value > and affects behavior. For instance, let's take the "attribute" > property for an action mapping. > > > > > /sub can't be configured to stop using "cus

Re: Config inheritance

2005-03-30 Thread Hubert Rabago
In a lot of cases, we do have null values. In most (if not all) of those cases, a null value is used to test for the presence of a value and affects behavior. For instance, let's take the "attribute" property for an action mapping. /sub can't be configured to stop using "customAttr". The clo

Re: Config inheritance

2005-03-30 Thread Don Brown
That is an interesting problem. We had a similar problem with unmarshalled XML using JAXB. We had an optional number field, but found if we unmarshalled that into an int, we had no way of telling it was defined or not. We ended up using Integer or BigInteger so at least we could tell if it

Config inheritance

2005-03-29 Thread Hubert Rabago
Updated diffs, if anyone is interested, are in http://www.rabago.net/struts/configinheritance/ . If anybody gets a chance, please take a look, ask questions, make suggestions or comments. If I don't hear from anybody in a couple of days, I will go ahead and commit these changes. Known limitation