DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14652>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14652

OptionsCollectionTag cannot specify a collection by name only

           Summary: OptionsCollectionTag cannot specify a collection by name
                    only
           Product: Struts
           Version: 1.1 Beta 2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Allowed specification of collection by the name only - see supplied diff.

Please note I have not supplied required change in struts-html.tld to change 
<required>true</required> attribute of property to false.

231,236d230
<         // if no property is specified, the collection must be a bean
<         Object collection = null;
<         if (property == null) 
<             collection = RequestUtils.lookup(pageContext,
<                                              name, null);
< 
238c232
<         else collection = RequestUtils.lookup(pageContext,
---
>         Object collection = RequestUtils.lookup(pageContext,

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

Reply via email to