[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
13 years, 9 months
[JBoss JIRA] Created: (RF-7995) drag and drop with calendar: allow to use dnd in calendar date cell markup
by Ilya Shaikovsky (JIRA)
drag and drop with calendar: allow to use dnd in calendar date cell markup
--------------------------------------------------------------------------
Key: RF-7995
URL: https://jira.jboss.org/jira/browse/RF-7995
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.2.GA
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Fix For: Future
currently this code throws exception seems because of conflicts with macrosubstitutions evaluations:
<rich:calendar value="#{calendarBean.selectedDate}"
popup="false" showApplyButton="false"
cellWidth="100px" cellHeight="100px"
boundaryDatesMode="none" showWeeksBar="false"
dataModel="#{calendarDataModel}" onchanged="if (event.rich.date) {ajaxSubmit();}" oncurrentdateselect="return false" id="organizer" valueChangeListener="#{calendarDataModel.valueChanged}" showFooter="false">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Current Month" styleClass="header"/>
</h:panelGroup>
</f:facet>
<a4j:outputPanel layout="block" id="cell" onclick="#{rich:component('organizer')}.resetSelectedDate()" style="height: 100%;">
<rich:dragSupport />
<h:panelGrid columns="1">
<h:outputText value="{day}" style="align:center"/>
<h:outputText value="{data.shortDescription.escapeHTML()}"/>
<h:outputText value="{data.description.escapeHTML()}"/>
</h:panelGrid>
</a4j:outputPanel>
</rich:calendar>
--
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
13 years, 9 months