[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1807) <s:attribute name="#{expr}" value="#{expr4value}" rendered="#{condition}"/>

Gavin King (JIRA) jira-events at lists.jboss.org
Fri Aug 17 13:06:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1807?page=comments#action_12372786 ] 
            
Gavin King commented on JBSEAM-1807:
------------------------------------

The plan is to eventually support two constructs in JBoss EL:

(1) a switch operator
(2) a map constructor, allowing you to do: #{ {'foo'->1, 'bar'->2, 'baz'-3}.get('foo') }

Either of these are great solutions for the problem.

http://blog.hibernate.org/cgi-bin/blosxom.cgi/2007/07/09#ee6part3

> <s:attribute name="#{expr}" value="#{expr4value}" rendered="#{condition}"/>
> ---------------------------------------------------------------------------
>
>                 Key: JBSEAM-1807
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1807
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF
>         Environment: all
>            Reporter: Mikhail Grushinskiy
>
> Ability to conditionally add attributes to JSF components is needed
> Check this discussion
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116230

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