[richfaces-issues] [JBoss JIRA] Commented: (RF-10589) Metamer in MyFaces - conversion fails from inside h:dataTable

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Tue Feb 22 11:23:14 EST 2011


    [ https://issues.jboss.org/browse/RF-10589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583846#comment-12583846 ] 

Lukas Fryc commented on RF-10589:
---------------------------------

You are right Nick, that issue disappeared with renaming var="item" in template to another non-conflicting name.

> Metamer in MyFaces - conversion fails from inside h:dataTable
> -------------------------------------------------------------
>
>                 Key: RF-10589
>                 URL: https://issues.jboss.org/browse/RF-10589
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.0.0.CR1
>         Environment:     * RichFaces 4.0.0-SNAPSHOT r.21803
>     * Metamer 4.0.0-SNAPSHOT r.21859
>     * Apache MyFaces JSF-2.0 Core Impl 2.0.4
>     * JBoss AS 6.0.0.Final
>     * OpenJDK Runtime Environment 1.6.0_20-b20 @Linux
>     * Firefox 3.6.13 @ Linux x86_64
>            Reporter: Lukas Fryc
>            Assignee: Lukas Fryc
>
> javax.el.PropertyNotFoundException: /components/a4jRepeat/simple.xhtml at line 64 and column 61 value="#{item.text}": The class 'java.lang.String' does not have the property 'text'.
> <h:dataTable value="#{templateBean.dataTableModel}" var="containerHDataTableItem" id="containerHDataTable1">
>             <h:column>
> <a4j:repeat id="a4jRepeat" value="#{a4jRepeatBean.dataList}" var="item">       
>                         <h:inputText value="#{item.text}" />
>                         <h:commandLink id="link" value="Link">
>                             <f:ajax render="@form" execute="@form" />
>                             <f:setPropertyActionListener target="#{a4jRepeatBean.selectedDataItem}" value="#{item}" />
>                         </h:commandLink>
> </a4j:repeat>
> </h:column>
>         </h:dataTable>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list