struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Hunter" <ihun...@hunterweb.net>
Subject Re: Example of accessing DynaActionFrom properties from within an Action
Date Thu, 13 Mar 2003 14:26:16 GMT
How does that handle type conversions (e.g. Model bean has ints, booleans,
or Integers, or whatever, and View bean has only strings)?  That's the only
reason I haven't delved into it yet.

----- Original Message -----
From: "Kris Schneider" <kris@dotech.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Thursday, March 13, 2003 9:17 AM
Subject: Re: Example of accessing DynaActionFrom properties from within an
Action


> By using BeanUtils.getProperty or PropertyUtils.getProperty you can
essentially
> ignore whether the form is a DynaActionForm or not.
>
> Quoting Ian Hunter <ihunter@hunterweb.net>:
>
> > Since this isn't as clear as it could be, here's an example for anyone
who
> > cares:
> 8< snip >8
>
> --
> Kris Schneider <mailto:kris@dotech.com>
> D.O.Tech       <http://www.dotech.com/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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


Mime
View raw message