Re: Proposed Action base class change

2004-10-07 Thread Steve Raeburn
> Kind of depressing though... I'm trying to contribute, but so far all my ideas have > been shot down (but for good reasons, so I'm not bitter about it). Just have to > keep trying I suppose. :) But you (and the rest of us) can learn something from the ensuing discussion, even if your ideas ar

Re: Proposed Action base class change

2004-10-07 Thread dbrosius
iran Chaudhuri > > SAG Systemhaus GmbH > > Elsenheimer Straße 11 > > 80867 München > > Phone +49-89-54 74 21 34 > > Fax +49-89-54 74 21 99 > > > > > > > > > > > >>-Original Message- > >>From: Frank W. Zamm

Re: Proposed Action base class change

2004-10-07 Thread Mike Stanley
er Straße 11 > > 80867 München > > Phone +49-89-54 74 21 34 > > Fax +49-89-54 74 21 99 > > > > > > > > > > > >>-Original Message- > >>From: Paul Speed [mailto:[EMAIL PROTECTED] > >>Sent: Donnerstag, 7. Oktobe

Re: Proposed Action base class change

2004-10-07 Thread Paul Speed
ED] Sent: Donnerstag, 7. Oktober 2004 13:43 To: Struts Developers List Subject: Re: Proposed Action base class change Hi Niall, I certainly agree it would not be possible to satisfy everyone, but seeing as the intrinsic toString() is all but useless (and people do generally expect that to be the c

RE: Proposed Action base class change

2004-10-07 Thread Hiran.Chaudhuri
; From: Paul Speed [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 7. Oktober 2004 17:41 > To: Struts Developers List > Subject: Re: Proposed Action base class change > > Bah! Realized after I hit send that you were talking about logging. > Others have already pointed out how

RE: Proposed Action base class change

2004-10-07 Thread Hiran.Chaudhuri
7. Oktober 2004 17:39 > To: Struts Developers List > Subject: Re: Proposed Action base class change > > I'd just like to point out that the only valid way to tell if > two objects are the same instance if to use ==. Any other > approach will not work. > > Comparing

Re: Proposed Action base class change

2004-10-07 Thread Paul Speed
lang/api/org/apache/commons/lang/bui lder/package-summary.html http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/bui lder/ReflectionToStringBuilder.html Niall - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Developer&quo

Re: Proposed Action base class change

2004-10-07 Thread Paul Speed
Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. Oktober 2004 13:43 To: Struts Developers List Subject: Re: Proposed Action base class change Hi Niall, I certainly agree it would not be possible to satisfy everyone, but seeing as the intrinsic

RE: Proposed Action base class change

2004-10-07 Thread Hiran.Chaudhuri
49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -Original Message- > From: Mike Stanley [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 7. Oktober 2004 15:06 > To: Struts Developers List > Subject: RE: Proposed Action base class change > > wait a sec, I'm slig

RE: Proposed Action base class change

2004-10-07 Thread Mike Stanley
Hiran Chaudhuri > SAG Systemhaus GmbH > Elsenheimer Straße 11 > 80867 München > Phone +49-89-54 74 21 34 > Fax +49-89-54 74 21 99 > > > > > > -Original Message- > > From: Mike Stanley [mailto:[EMAIL PROTECTED] > > Sent: Donnerstag, 7. Okto

RE: Proposed Action base class change

2004-10-07 Thread Kris Schneider
ess is printed. > > > > > > > > Unless you have another way to provide that information, I'd rather > > > > stick with the default toString() plus some utility > > > toString(Object) > > > > method. The impact for you is not too much. W

RE: Proposed Action base class change

2004-10-07 Thread Mike Stanley
ed it might be in commons-lang, but I could not find that either. > > > > Hiran > > > > - > > Hiran Chaudhuri > > SAG Systemhaus GmbH > > Elsenheimer Straße 11 > > 80867 München > > Phone +49-89-54 74

RE: Proposed Action base class change

2004-10-07 Thread Hiran.Chaudhuri
GmbH Elsenheimer Straße 11 80867 München Phone +49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -Original Message- > From: Mike Stanley [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 7. Oktober 2004 14:41 > To: Struts Developers List > Subject: RE: Proposed Action ba

RE: Proposed Action base class change

2004-10-07 Thread Kris Schneider
impact for you is not too much. What you code so far is: > > > log.debug("mybean="+mybean); > > > and you'd have to change that to > > > log.debug("mybean="+BeanUtil.toString(mybean)); > > > which will allow you to either

RE: Proposed Action base class change

2004-10-07 Thread Mike Stanley
e to change that to > > > log.debug("mybean="+BeanUtil.toString(mybean)); > > > which will allow you to either see the memory address or > > the contents, > > > whatever you prefer. > > > > > > Hiran > > > > > > -

RE: Proposed Action base class change

2004-10-07 Thread Mike Stanley
> Well, that's the reason I put the idea out there... I can't think of every possible > angle to look at it from... If I thought I could, I wouldn't need to solicit > opinions in the first place. No one possibly could. Which is why Open Source is such an effective model for software development

RE: Proposed Action base class change

2004-10-07 Thread Hiran.Chaudhuri
nal Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 7. Oktober 2004 14:22 > To: [EMAIL PROTECTED] > Subject: RE: Proposed Action base class change > > Another fair point. :) > > Well, that's the reason I put the idea out there... I

RE: Proposed Action base class change

2004-10-07 Thread fzlists
t; better if you >> > have your own "base" ActionForm that all you others derive >> from, then >> > its only in one place. >> > >> > Also, there are a set of "toString" builders in commons >> lang which you >> &g

RE: Proposed Action base class change

2004-10-07 Thread Hiran.Chaudhuri
AG Systemhaus GmbH Elsenheimer Straße 11 80867 München Phone +49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 7. Oktober 2004 13:43 > To: Struts Developers List > Subject: Re: Proposed A

Re: Proposed Action base class change

2004-10-07 Thread Frank W. Zammetti
That's a good point Mike, I didn't think of that. You might have changed MY mind on this! I'll have to think about it a little more, but you raise a solid issue. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Mike Stanley wrote: I'm -1 on

Re: Proposed Action base class change

2004-10-07 Thread Frank W. Zammetti
.html http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html Niall - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Developer" <[EMAIL PROTECTED]> Sent: Thursday, October 07, 2004 4:29 AM Subject: Re: P

Re: Proposed Action base class change

2004-10-07 Thread Mike Stanley
I'm -1 on this. By default, I think the ActionForms toString should be the default Object.toString. If you need/desire you can easily still create a base support class for your projects that implement the reflection based toString you suggest. The reason I'm anti- this is that it will cause

RE: Proposed Action base class change

2004-10-07 Thread Hiran.Chaudhuri
Hi, Frank. I created a similar method, but rather a static one than a member method. So mine is in a class called BeanUtil (not the apache commons beanutils) and applicable to any other java bean. No need to modify the base class or whatever. So I can apply it on FormBeans as well as servletReq

Re: Proposed Action base class change

2004-10-06 Thread Niall Pemberton
html http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html Niall - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Developer" <[EMAIL PROTECTED]> Sent: Thursday, October 0

Re: Proposed Action base class change

2004-10-06 Thread Frank W. Zammetti
Obviously I made a typo in the subject... this applies to the ActionForm base class. Did anyone have any comment on this? I've noticed a lack of activity on the list lately... Hello all... I find myself all the time overloading toString() of my ActionForms for debugging purposes, so I can ea