[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2148) Support for SelectItemGroup

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri May 16 16:10:22 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2148?page=comments#action_12413105 ] 
            
Pete Muir commented on JBSEAM-2148:
-----------------------------------

An alternative syntax could be 

<s:selectItems value="#{engineTypes}" 
               var="engine"
               label="#{engine.name}" 
               groupBy="#{engine.manufacturer}"
               groupByVar="manufacturer"
               groupByLabel="#{manufacturer.name}"/>

> Support for SelectItemGroup
> ---------------------------
>
>                 Key: JBSEAM-2148
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2148
>             Project: Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>    Affects Versions: 2.0.0.CR2
>            Reporter: Pete Muir
>             Fix For: 2.1.0.BETA2
>
>
> We can do something like
> <s:selectItemGroup label="#{foo.bar}">
>    <s:selectItems .../>
>    <s:selectItems .../>
> </s:selectItemGroup>
> and, as a shorthand to put each list in a distinct group
>    <s:selectItems group="Foo"/>
> I don't understand why this isn't in JSF core.

-- 
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

        



More information about the seam-issues mailing list