[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2287) EL extension to resolve #{bean[field]}" where field is a composite like "property.subProperty"

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Nov 26 12:46:18 EST 2007


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

com.sun.facelets.el is facelets hooks into EL. 

What you post should most definitely work with EL - post a patch against one of the examples so we can replicate locally.

> EL extension to resolve #{bean[field]}" where field is a composite like "property.subProperty"
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-2287
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2287
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: EL
>            Reporter: koen handekyn
>
> EL extension to resolve #{bean[field]}" where field is a composite like "property.subProperty"
> today bean[field] is a means to resolve properties dynamically. 
> it does however not work for nested properties.
> it's more powerfull and more intuitive imho if one could pass an expression like "address.street" to resolve these dynamically .
> an example use case is dynamically building list pages like below where the column fields are configurable (and ideally would support projection of a street.address)
>           <c:forEach
>             items="${managedAccounts.searchFields}"
>             var="field"
>             varStatus="status"
>           >
>             <rich:column
>               breakBefore="#{count==1 ? true : false}"
>             >
>               <h:inputText
>                 value="#{managedAccounts.example[field]}"
>                 class="headerSearchField"
>               />
>             </rich:column>
>           </c:forEach>

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