You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/05/02 02:18:20 UTC

[jira] Closed: (STR-1265) optionsCollection requires property while only name required?

     [ http://issues.apache.org/struts/browse/STR-1265?page=all ]
     
David Evans closed STR-1265:
----------------------------

    Resolution: Fixed

> optionsCollection requires property while only name required?
> -------------------------------------------------------------
>
>          Key: STR-1265
>          URL: http://issues.apache.org/struts/browse/STR-1265
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Taglibs
>     Versions: 1.1 Beta 3
>  Environment: Operating System: All
> Platform: All
>     Reporter: Harvey van der Meer
>     Assignee: Ted Husted
>     Priority: Minor
>      Fix For: 1.1 Family

>
> Custom tag html:optionsCollection as defined in struts-html.tld requires the 
> property attribute to be set. When providing the collection directly in a 
> request-attribute, you're unable to use the optionsCollection tag because of 
> this restriction. This is a configuration-bug and can be easily solved in 
> the .tld file.
> <attribute>
> <name>property</name>
> <required>false</required> // instead of true
> <rtexprvalue>true</rtexprvalue>
> </attribute>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira