[richfaces-issues] [JBoss JIRA] Closed: (RF-4219) rich:columns - value attribute is only looking up jsp pagecontext

Tsikhon Kuprevich (JIRA) jira-events at lists.jboss.org
Tue Aug 19 08:49:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsikhon Kuprevich closed RF-4219.
---------------------------------



> rich:columns - value attribute is only looking up jsp pagecontext
> -----------------------------------------------------------------
>
>                 Key: RF-4219
>                 URL: https://jira.jboss.org/jira/browse/RF-4219
>             Project: RichFaces
>          Issue Type: Bug
>         Environment: jboss 4.2.2
> richfaces 3.2.1
> seam 3.2
> facelets
>            Reporter: sebastien cante
>            Assignee: Tsikhon Kuprevich
>
> Hi,
> rich:columns tags seems to only lookup  from the pagecontext from the EL expression from the 'value' attribute and not internal values from eventcontext for example
> Below is working ok and displaying a table : 
> Assuming capitalsBean is  in the page scope.
> <rich:dataTable value="#{capitalsBean.capitals}" var="cap">
>         <rich:columns value="#{capitalsBean.labels}" var="col" index="index">
>                 <h:outputText value="#{cap[index]}" />
>         </rich:columns> 
> </rich:dataTable>
> But below is not displaying anything as the el expression is not found in the page context
> 'cap' does not come directly in the pagecontext but comes from another tag  (var="cap")
>  <rich:dataTable value="#{capitalsBean.capitals}" var="cap">
>         <rich:columns value="#{cap.columns}" var="col" index="index">
>                 <h:outputText value="#{ col [index]}" />
>         </rich:columns> 
> </rich:dataTable>
> The Table is not displaying as the el expression '#{ cap }' is not found.
> is there a workarround this  ?
> thanks
> -sebastien

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

        



More information about the richfaces-issues mailing list