You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Chris Hansen (JIRA)" <ad...@incubator.apache.org> on 2006/08/17 23:42:13 UTC

[jira] Created: (ADFFACES-141) Nested iterator tag doesn't work when inside a selectOneChoice tag

Nested iterator tag doesn't work when inside a selectOneChoice tag
------------------------------------------------------------------

                 Key: ADFFACES-141
                 URL: http://issues.apache.org/jira/browse/ADFFACES-141
             Project: MyFaces ADF-Faces
          Issue Type: Bug
          Components: Build
            Reporter: Chris Hansen


I'm trying to display a list of objects that are within a list of objects as selectItems without using f:selectItems.

Here is an example:

<tr:iterator value="#{bean.list1}" var="list1">
	<tr:selectOneChoice>
		<tr:iterator value="#{list1.list2}" var="list2broken">
			<tr:selectItem label="#{list2broken.label}" />
		</tr:iterator>
	</tr:selectOneChoice>
	<tr:iterator value="#{list1.list2}" var="list2works">
		<tr:outputText value="#{list2works.label}" />
	</tr:iterator>
</tr:iterator>

The "list2broken" list does not display any selectItems in the select, but the "list2works" list does output the text (so I know that list2 is not empty). I tried using f:selectItem with the same result.

As a workaround, I am creating a list of SelectItem objects and using f:selectItems, but I would like to avoid this.

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

        

[jira] Updated: (ADFFACES-141) Iterator tag doesn't work when inside a selectOneChoice tag

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-141:
----------------------------------------

    Affects Version/s: 1.0.1-incubating-core-SNAPSHOT

> Iterator tag doesn't work when inside a selectOneChoice tag
> -----------------------------------------------------------
>
>                 Key: ADFFACES-141
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-141
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Chris Hansen
>
> I'm trying to display a list of objects that are within a list of objects as selectItems without using f:selectItems.
> Here is an example:
> <tr:iterator value="#{bean.list1}" var="list1">
> 	<tr:selectOneChoice>
> 		<tr:iterator value="#{list1.list2}" var="list2broken">
> 			<tr:selectItem label="#{list2broken.label}" />
> 		</tr:iterator>
> 	</tr:selectOneChoice>
> 	<tr:iterator value="#{list1.list2}" var="list2works">
> 		<tr:outputText value="#{list2works.label}" />
> 	</tr:iterator>
> </tr:iterator>
> The "list2broken" list does not display any selectItems in the select, but the "list2works" list does output the text (so I know that list2 is not empty). I tried using f:selectItem with the same result.
> As a workaround, I am creating a list of SelectItem objects and using f:selectItems, but I would like to avoid this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ADFFACES-141) Iterator tag doesn't work when inside a selectOneChoice tag

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-141?page=all ]

Adam Winer updated ADFFACES-141:
--------------------------------

    Summary: Iterator tag doesn't work when inside a selectOneChoice tag  (was: Nested iterator tag doesn't work when inside a selectOneChoice tag)

This has nothing to do with nesting:  tr:iterator doesn't work inside selectOneChoice, or any selectOne/selectMany.

> Iterator tag doesn't work when inside a selectOneChoice tag
> -----------------------------------------------------------
>
>                 Key: ADFFACES-141
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-141
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Build
>            Reporter: Chris Hansen
>
> I'm trying to display a list of objects that are within a list of objects as selectItems without using f:selectItems.
> Here is an example:
> <tr:iterator value="#{bean.list1}" var="list1">
> 	<tr:selectOneChoice>
> 		<tr:iterator value="#{list1.list2}" var="list2broken">
> 			<tr:selectItem label="#{list2broken.label}" />
> 		</tr:iterator>
> 	</tr:selectOneChoice>
> 	<tr:iterator value="#{list1.list2}" var="list2works">
> 		<tr:outputText value="#{list2works.label}" />
> 	</tr:iterator>
> </tr:iterator>
> The "list2broken" list does not display any selectItems in the select, but the "list2works" list does output the text (so I know that list2 is not empty). I tried using f:selectItem with the same result.
> As a workaround, I am creating a list of SelectItem objects and using f:selectItems, but I would like to avoid this.

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