At 06:21 PM 3/13/2001, Craig wrote:
>I also think the current <logic:iterate> behavior is more useful, and
>suggest that we change <html:options> to match.
>
>As a nod towards backwards compatibility, how about if we make
>smart enough, as a special case, so that if it receives a String it will 
>still be treated as a bean name? This behavior would be deprecated, but 
>would avoid instantly breaking old code. > Vic > Craig

Sounds good to me, since both tags support the name attribute.  This makes 
it relatively easy for current users of html:options to change their 
current code from:

         collection="myBeanName"

to

         name="myBeanName"

rather than to

         collection='<%= pageContext.getAttribute("myBeanName") %>'


Mike

Reply via email to