[JBoss JIRA] Created: (RF-8940) Showcase: sorting demo fails because of swing SortOrder used
by Nick Belaevski (JIRA)
Showcase: sorting demo fails because of swing SortOrder used
------------------------------------------------------------
Key: RF-8940
URL: https://jira.jboss.org/browse/RF-8940
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: examples
Affects Versions: 4.0.0.Milestone1
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: 4.0.0.Milestone1
Navigate to this page:
http://localhost:8080/richfaces-showcase/richfaces/component-sample.jsf?s...
Exception happens:
An Error Occurred:
Cannot convert UNSORTED of type class javax.swing.SortOrder to class org.richfaces.component.SortOrder
+- Stack Trace
java.lang.IllegalArgumentException: Cannot convert UNSORTED of type class javax.swing.SortOrder to class org.richfaces.component.SortOrder
at com.sun.el.lang.ELSupport.coerceToEnum(ELSupport.java:196)
at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:363)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:209)
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:106)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
at org.richfaces.component.UIColumn.getSortOrder(UIColumn.java:52)
at org.richfaces.component.UIColumn.getSortField(UIColumn.java:91)
at org.richfaces.component.UIDataTableBase.createArrangeableState(UIDataTableBase.java:166)
at org.richfaces.component.UIDataTableBase.createExtendedDataModel(UIDataTableBase.java:139)
at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:617)
at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:387)
at org.richfaces.renderkit.AbstractTableRenderer.encodeTableFacets(AbstractTableRenderer.java:134)
at org.richfaces.renderkit.DataTableRenderer.doEncodeBegin(DataTableRenderer.java:230)
at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:116)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years