type safe fields.
Someone once advised me that I don't have to do this manually, and that
I can use the PropertyUtils class from the org.apache.commons.beanutils
package to do this. I just tried that and it failed. I looked at the
documentation and I found several statements that say that
e the PropertyUtils class from the org.apache.commons.beanutils
package to do this. I just tried that and it failed. I looked at the
documentation and I found several statements that say that type
conversion is not supported. So, the properties either have to be both
Strings or both Integers for example.
Yeah, I wonder about that bug: we've recently been moving some
application servers from Solaris to Linux, and I think this is a JVM
level issue. Just before we started, someone had posted about this
to the Struts users' list (although I can't seem to find it in the
archives right now.) Basica
From: "Joe Germuska" <[EMAIL PROTECTED]>
> I haven't actually looked at this in a running debugger, or with log
> output, but the code which governs this ultimately is
> PropertyUtilsbean.setIndexedProperty(...)
I found what I think is an open bug about the original issue that was
raised-- BeanUt
At 7:58 AM -0700 1/25/05, Larry Meadors wrote:
There are two things about BU that irritate me (and that is the level
- irritation, not a show stopper by any stretch of the imagination).
1) If I have an Integer (or any Number subclass) property, and someone
keys in "joe", BU turns it into 0 by defau
There are two things about BU that irritate me (and that is the level
- irritation, not a show stopper by any stretch of the imagination).
1) If I have an Integer (or any Number subclass) property, and someone
keys in "joe", BU turns it into 0 by default. That is the last thing I
want it to do. Ze
At 9:14 PM -0700 1/24/05, Larry Meadors wrote:
Nope, actually, it is bean-utils that is at fault here (something all
struts developers should be accustomed to saying - IMO, bean-utils is
the single weakest component in struts).
According to the javabeans specification
(http://java.sun.com/products/
7 matches
Mail list logo