Here is the source.  I've done some basic tests and I
think everything is working.

David

--- David Winterfeldt <[EMAIL PROTECTED]> wrote:
> For an array you can do this for a property
> "type[index]".  I don't know if this has been
> suggested before, but what if you could also do this
> for a Hashmap.  I was thinking something like
> form{name}.  I'm sure there are lots of other uses,
> but it could let you make a bean/form class that
> just
> used a Hashmap for rapid prototyping.  This also
> might
> be a simple/temporary solution for the beans that
> don't need setters and getters.
> 
> public Hashmap getForm();
> 
> <html:text property="form{firstName}" size="30"
> maxlength="30"/>
> <html:text property="form{lastName}" size="30"
> maxlength="30"/>
> <html:text property="form{address}" size="30"
> maxlength="30"/>
> 
> 
> David
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great
> prices
> http://auctions.yahoo.com/


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

PropertyUtils.java

Reply via email to