myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Broekelmann <mbroekelm...@PSI.DE>
Subject Re: [jira] Commented: (MYFACES-228) Sortheader functionality does not work if datatable contains editable components
Date Thu, 07 Jul 2005 19:56:35 GMT
Thats a problem with the OpenDataList bean which currently donĀ“t has a 
setColumnValue(...) method. But I will fix that tomorrow.

Mathias

Sean Schofield schrieb:
> Mathias,
> 
> Cancel that last request.  We had to rollback Martin's change to
> UIData so I applied your patch.
> 
> Unfortunately there is still a problem.  Here are the steps to reproduce ...
> 
> Modify openDataTable.jsp:
> 
> add <h:form> around the <x:dataTable> and <h:panelGrid> tags.
> add immediate=false to the command header
> change <h:outputText> to <h:inputText>
> 
> Run the app.  And click on one of the sort headers and you get:
> 
> 
> SEVERE: org.apache.myfaces.examples.listexample.OpenDataList
> 
> javax.faces.el.PropertyNotFoundException: Bean:
> org.apache.myfaces.examples.listexample.OpenDataList, property:
> columnValue
> 
> 	at org.apache.myfaces.el.PropertyResolverImpl.setProperty(PropertyResolverImpl.java:336)
> 
> 	at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:144)
> 
> 	at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:259)
> 
> 	at javax.faces.component.UIInput.updateModel(UIInput.java:226)
> 
> 	at javax.faces.component.UIInput.processUpdates(UIInput.java:165)
> 
> [snip]
> 
> Jul 7, 2005 2:31:56 PM org.apache.myfaces.el.ValueBindingImpl setValue
> 
> SEVERE: Cannot set value for expression '#{openDataList.columnValue}'
> to a new value of type java.lang.String
> 
> javax.faces.el.PropertyNotFoundException: Bean:
> org.apache.myfaces.examples.listexample.OpenDataList, property:
> columnValue
> 
> 	at org.apache.myfaces.el.PropertyResolverImpl.setProperty(PropertyResolverImpl.java:336)
> 
> 	at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:144)
> 
> 	at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:259)
> 
> 	at javax.faces.component.UIInput.updateModel(UIInput.java:226)
> 
> 	at javax.faces.component.UIInput.processUpdates(UIInput.java:165)
> 
> [snip]


Mime
View raw message