Thanks Michael, you've been a great help... 

Regards,
m

> -----Original Message-----
> From: Michael D. Norman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 14, 2003 6:37 AM
> To: 'Struts Users Mailing List'
> Subject: RE: HashMap with options
> 
> 
> > Could you elaborate what happens when I specify the name along with
> the
> > property attribute? 
> 
> The "name" attribute tells the <bean:define/> tag what key to 
> use in the
> page/request/session/application scope.  Without it, you're trying to
> get a property from nothing.
> 
> > Does struts iterate through each item in the Map,
> > calling get("key") and get("value") on each item in the Map?
> 
> The <html:options/> tag iterates over the Map's entrySet().  It then
> calls getKey() and getValue() on each Map.Entry for the options.
> 
> > Is there any link/website where I can read more about this?
> 
> I honestly don't know.  I usually just read the source.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _____________________________________________________________________
> This e-mail has been scanned for viruses by MCI's Internet 
> Managed Scanning Services - powered by MessageLabs. For 
> further information visit http://www.mci.com
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to