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

sebastien cante (JIRA) jira-events at lists.jboss.org
Sun Aug 17 20:11:58 EDT 2008


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


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