RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, William Shulman wrote: > > > The problem with your suggestion of implementing this using the Struts > > BeanUtils is that it has been deprecated because its been donated to the > > Jakarta Commons project. I understand Struts will be changed to use the > > Jakarta Comm

RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread Niall Pemberton
> > The problem with your suggestion of implementing this using the Struts > > BeanUtils is that it has been deprecated because its been > donated to the > > Jakarta Commons project. I understand Struts will be changed to use the > > Jakarta Commons version in 1.1. BeanUtils are "utility metho

RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread William Shulman
> The problem with your suggestion of implementing this using the Struts > BeanUtils is that it has been deprecated because its been donated to the > Jakarta Commons project. I understand Struts will be changed to use the > Jakarta Commons version in 1.1. BeanUtils are "utility methods for >

RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread Niall Pemberton
work. Niall > -Original Message- > From: William Shulman [mailto:[EMAIL PROTECTED]] > Sent: 30 May 2001 01:53 > To: [EMAIL PROTECTED] > Subject: RE: PropertyUtils Enhancement Source Code > > > > I think this *may* solve the problem at the wrong level of >

RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread Niall Pemberton
ly want to see what Struts does because if it suits us, better to use the vanilla Struts solution. Niall > -Original Message- > From: Johan Compagner [mailto:[EMAIL PROTECTED]] > Sent: 30 May 2001 10:07 > To: [EMAIL PROTECTED] > Subject: RE: PropertyUtils Enhancement Source

RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread Dmitri Plotnikov
7;t suit everyones needs, but the advantage of this is > > people could create their own concrete implementations. > > > > It would be interesting to hear others opinions on how dynamic properties > > should be implemented. > > > > Niall > > > > >

RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread Johan Compagner
and wouldn't suit everyones needs, but the > advantage of this is > > people could create their own concrete implementations. > > > > It would be interesting to hear others opinions on how dynamic > properties > > should be implemented. > > > > Niall &

RE: PropertyUtils Enhancement Source Code

2001-05-30 Thread Johan Compagner
> 1) Created a "DynamicProperties" interface which has the > following methods: > > public String getValue(String property); > public String getValue(int index, String property); > public void setValue(String property, String value); > public void setValue(int index, String

RE: PropertyUtils Enhancement Source Code

2001-05-29 Thread William Shulman
vantage of this is > people could create their own concrete implementations. > > It would be interesting to hear others opinions on how dynamic properties > should be implemented. > > Niall > > > > -Original Message- > > From: David Winter

RE: PropertyUtils Enhancement Source Code

2001-05-29 Thread Niall Pemberton
interfeldt [mailto:[EMAIL PROTECTED]] > Sent: 28 May 2001 16:59 > To: [EMAIL PROTECTED] > Subject: Re: PropertyUtils Enhancement Source Code > > > I always like doing things more generic, but in this > particular case I like being able to tell that a value > in a long nest

Re: PropertyUtils Enhancement Source Code

2001-05-28 Thread William Shulman
I hear what you are saying. You see maps as a first order concept that you would like formalized in the syntax of bean expressions. I can see that, but I still do favor staying as close to the original bean specification as we can without loosing expressiveness. Because using the '.' operator req

Re: PropertyUtils Enhancement Source Code

2001-05-28 Thread David Winterfeldt
I always like doing things more generic, but in this particular case I like being able to tell that a value in a long nested property was a key for a java.util.Map. "foo.someMap.firstPerson.address.zip" vs. "foo.someMap{firstPerson}.address.zip" It seems like the most common/standard things y

Re: PropertyUtils Enhancement Source Code

2001-05-27 Thread William Shulman
David- I think your idea is a great one. Ideally, you would configure the BeanInfo for Map like classes with a readMethod that treats the names of Map properties as keys. That way the evalulation expression "foo.someMap.firstName" would result in 'firstName' being treated as a key to be looked