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

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Tue Feb 22 08:07:13 EST 2011


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

Lukas Fryc updated RF-10589:
----------------------------

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

  was:
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="item" id="containerHDataTable1">
            <h:column>
<h:dataTable>
<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>



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