commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <m...@michaelmcgrady.com>
Subject Re: wrap a Map into a DynaBean
Date Fri, 30 Apr 2004 09:40:41 GMT
It is really easier just to write your own tag for these specialty 
needs.  Tag writing is relatively easy to do.

At 01:03 AM 4/30/2004, Marco Mistroni wrote:
>Hi all,
>         Is there any way, using beanutils package, to 'wrap' a Map
>Into a DynaBean or something similar?
> >From errors that I have, answer is no, but maybe some of you know
>Some alternatives..
>Issue is that I am receiving different objects from my db layer, and
>I am wrapping them into a DynaBean to avoid calling specific methods
>For retrieving properties.
>But in one case out of 10 I am receiving an HashMap, and it looks like
>I cannot wrap an HashMap with a DynaBean
>
>Anyone has any suggestions?
>
>Thanx in advance and regards
>         Marco
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message