You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Adolfo Miguelez <pe...@hotmail.com> on 2003/06/18 13:40:56 UTC

creating dynabean properties on demand possible?

Hi all,

I wonder a question:

Why BasicDynaBean implementation does not allow to create a DynaBean setting 
property/value pairs on demand.?

AFAIK, first an empty DynaBean (i.e. a DynaClass) must be created and it can 
be filled only after creation. The issue is that sometimes it make me loop 
twice, one for creating DynaBean and secondly for filling it. The expected 
behaviour would be as a hashmap, create a property and fill it at once.

What am I missing?

Thanks in advance,

Adolfo

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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