You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Halbrook, Dolan" <dh...@cisco.com> on 2002/02/22 19:30:36 UTC
LabelValueBean as interface?
Hi,
Just a thought. Would it make sense to treat LabelValueBean as an
interface that business objects could implement, so that one wouldn't have
to duplicate/translate one to the other when one needed a select of
them? My apologies if this should go in Struts-user, but i'm not sure
exactly what group the question pertains to.
Has anyone tried this? Are there drawbacks?
Thanks,
Dolan
dhalbroo@cisco.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: LabelValueBean as interface?
Posted by Ted Husted <hu...@apache.org>.
The LabelValueBean is just a convenience class. Any object would work as
well. When it is fed to the class, the methods to call are specified, so
the business object doesn't even have to implement an interface.
"Halbrook, Dolan" wrote:
>
> Hi,
>
> Just a thought. Would it make sense to treat LabelValueBean as an
> interface that business objects could implement, so that one wouldn't have
> to duplicate/translate one to the other when one needed a select of
> them? My apologies if this should go in Struts-user, but i'm not sure
> exactly what group the question pertains to.
>
> Has anyone tried this? Are there drawbacks?
>
> Thanks,
> Dolan
> dhalbroo@cisco.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-> Web: http://husted.com/about/services
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>