struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: DynaBeans, DynaClass, DynaMen
Date Mon, 01 Jul 2002 18:27:27 GMT


On Mon, 1 Jul 2002, Cliff Rowley wrote:

> Date: Mon, 01 Jul 2002 18:42:24 +0100
> From: Cliff Rowley <cliff@onsea.net>
> Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> Subject: Re: DynaBeans, DynaClass, DynaMen
>
> Craig R. McClanahan wrote:
>
> > The standard methods in BeanUtils and PropertyUtils know how to deal with
> > DynaBeans already (essentially your option (B)).  That is why all of the
> > Struts tags can deal with DynaBeans or standard JavaBeans with no changes.
> > Is there a reason you can't use things like <bean:write> directly on your
> > DynaBeans as well?
>
> Cheers Craig, I've not had a chance to look at BeanUtils and
> PropertyUtils in depth yet - its on my list, along with another million
> things.  I was under the impression that the Struts tags had 'special
> support' for the dyna elements - I learned something new today :)
>

They do have special support ... BeanUtils and PropertyUtils :-).

Of course, we're talking about Struts 1.1, which is based on
commons-beanutils.  None of this applies to Struts 1.0, which had the
previous versions of these classes built in.

Craig


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message