[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2287) EL extension to resolve #{bean[field]}" where field is a composite like "property.subProperty"
koen handekyn (JIRA)
jira-events at lists.jboss.org
Thu Nov 22 05:46:18 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2287?page=comments#action_12388753 ]
koen handekyn commented on JBSEAM-2287:
---------------------------------------
it could be that this would require standardization as the issue appears to be
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
> 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