Re: Bean philosophy

2001-05-30 Thread Anders K. Olsen
- Original Message - From: Jonas Björnerstedt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 4:55 PM Subject: Bean philosophy Having just switched from Perl to Java web development, perhaps I am missing something fundamental. Being new to the forum, I

RE: Bean philosophy

2001-05-30 Thread Jonas Björnerstedt
In a Been, you can use a Hashtable to save your attributes, but you don't have to use a Hashtable. I normaly don't. Because I know which attributes to expect, I implement these as fields in the Bean, and save the values in these. I know that a Hashtable has an expected constant-time on the

RE: Bean philosophy

2001-05-30 Thread Jonas Bjornerstedt
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 5:32 PM To: [EMAIL PROTECTED] Subject: Re: Bean philosophy I wanted to crank out a prototype of something and didn't want to make all of the setter/getter methods so I modified PropertyUtils to handle java.util.Map. I posted some source

RE: Bean philosophy

2001-05-30 Thread Craig R. McClanahan
PROTECTED]] Sent: Wednesday, May 30, 2001 5:32 PM To: [EMAIL PROTECTED] Subject: Re: Bean philosophy I wanted to crank out a prototype of something and didn't want to make all of the setter/getter methods so I modified PropertyUtils to handle java.util.Map. I posted some source

Re: Bean philosophy

2001-05-30 Thread Taylor Cowan
. Taylor - Original Message - From: Jonas Bjornerstedt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 2:57 PM Subject: RE: Bean philosophy Although you get basic type conversion with the getter/setter methods, it is not a convincing argument. The price you pay

Re: Bean philosophy

2001-05-30 Thread Johan Compagner
Dynamic properties are a very very very heavily requested feature, and will undoubtedly be addressed early in the Struts 1.1 development cycle. Supporting them elegantly is more than just a couple of tweaks here and there, so we want to make sure that we've got all the bases covered with

Re: Bean philosophy

2001-05-30 Thread Jonathan Asbell
Subject: Re: Bean philosophy Jonas Bjornerstedt wrote: I see little reason (yet) why the ActionForm should be modeled as such. I think the keyword here is yet. Much of the underlying Struts designs are based on trends and patterns that have yet to reach their logical conclusion

Re: Bean philosophy

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Jonathan Asbell wrote: Craig, that was the most excellent explanation. Thanks. What currently IS available for use regarding the automatic properties, and how may I use them? I download the nightly builds ;^ There's nothing in the official builds at the moment --

Re: Bean philosophy

2001-05-30 Thread Ted Husted
- From: Ted Husted [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 10:38 PM Subject: Re: Bean philosophy Jonas Bjornerstedt wrote: I see little reason (yet) why the ActionForm should be modeled as such. I think the keyword here is yet. Much of the underlying Struts