You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael McCallister <r2...@email.sps.mot.com> on 2001/03/14 00:58:19 UTC

Mismatch Between and

Am I the only one who finds it odd that while both <logic:iterate> and 
<html:options> take a "collection" attribute, one expects a run-time 
expression that evaluates to a Collection and the other takes a String that 
names a bean in some scope that is a Collection?

Shouldn't these two tags play according to the same rules when it comes to 
identically named attributes?  Should I file a bug for this?  Should one 
behavior "win-out" over the other?  In my opinion, the behavior of naming 
bean with a String attribute feels the most "Struts like".

Unfortunately, changing things one way or the other will break code, but 
better to do so before cutting a release than after.


Mike