[richfaces-issues] [JBoss JIRA] Commented: (RF-4396) PropertyNotFoundException in orderingList

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Sep 4 20:24:38 EDT 2008


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

Nick Belaevski commented on RF-4396:
------------------------------------

rich:orderingList requires converter usage for non-standard (e.g. not string, not number, etc.) data types

> PropertyNotFoundException in orderingList
> -----------------------------------------
>
>                 Key: RF-4396
>                 URL: https://jira.jboss.org/jira/browse/RF-4396
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: RichFaces 3.2.1.GA / 3.2.2.CR3
> JBoss Seam 2.0.2.SP1
> JSF 1.2 + Facelets 1.1.14
> JBoss 4.2.2.GA
> JDK 1.5.0_11 
>            Reporter: Rainer Flicker
>         Attachments: listboxedit.xhtml
>
>
> Elements are shown in a orderingList, but clicking on an item results in a javax.faces.FacesException:
> javax.el.PropertyNotFoundException: /listboxedit.xhtml @60,60 value="#{item.id}": Property 'id' not found on type java.lang.String
> ------ xhtml snippet --------------------------------------------------------------------------------------------------- 
>               <rich:orderingList value="#{listBoxManager.items}"
>                 var="item" listHeight="350" listWidth="240"
>                 activeItem="#{listBoxManager.selectedItem}"
>                 valueChangeListener="#{listBoxManager.valueChangeListener}"
>                 id="listOfItems">
>                 <rich:column>
>                   <f:facet name="header">
>                     <h:outputText value="Id" />
>                   </f:facet>
>                   <h:outputText id="idOutText" value="#{item.id}" />
>                 </rich:column>                
>                 <rich:column>
>                   <f:facet name="header">
>                     <h:outputText value="Name" />
>                   </f:facet>
>                   <h:outputText id="nameOutText" value="#{item.name}" />
>                 </rich:column>
>                 <a4j:support event="onclick"
>                   action="#{listBoxManager.selectItem}"
>                   reRender="listBoxPanel" />
>               </rich:orderingList>
> ------------------------------------------------------------------------------------------------------------------------------ 

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