[ http://jira.jboss.com/jira/browse/RF-2811?page=all ]

Nick Belaevski updated RF-2811:
-------------------------------

    Assignee: Nick Belaevski  (was: Maksim Kaszynski)

> a4j:repeat doesn't support java.util.Set
> ----------------------------------------
>
>                 Key: RF-2811
>                 URL: http://jira.jboss.com/jira/browse/RF-2811
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: JDK 1.5
>            Reporter: Sergey Halipov
>         Assigned To: Nick Belaevski
>             Fix For: Future
>
>
> a4j:repeat interprets Sets as simple type not a collection. Example bellow 
> doesn't work correctly. But it would work if we replaced HashSet with 
> ArrayList.
> JSP code:
> <a4j:repeat value="#{bean.testLists}" var="list" id="repeat">
>                                       <h:outputText 
> value="#{list}"></h:outputText><br />
>                       </a4j:repeat>
> Java bean: 
> public class Bean {
> private Collection<String> testLists = new HashSet<String>();
> public Bean() {
>               for (int i = 0; i < 30; i++) {
>                       testLists.add(new Integer(i).toString());
>               }
>       }
> public Collection<String> getTestLists() {
>               return testLists;
>       }
>       public void setTestLists(Collection<String> testLists) {
>               this.testLists = testLists;
>       }
> }

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to