[JBoss JIRA] Created: (RF-6596) InplaceSelect with Enum => Cast exception
by julien colin (JIRA)
InplaceSelect with Enum => Cast exception
-----------------------------------------
Key: RF-6596
URL: https://jira.jboss.org/jira/browse/RF-6596
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: julien colin
I've an Enum "Report" with these values "ALL,DELIVERED,NONE,UNDEFINED"
This code with 3.2.2 it works.
Code:
<rich:inplaceSelect value="#{account.deliveryReport}"
editEvent="onclick" selectOnEdit="true"
defaultLabel="click to edit">
<s:enumItem enumValue="ALL" itemLabel="ALL" />
<s:enumItem enumValue="DELIVERED" itemLabel="DELIVERED" />
<s:enumItem enumValue="NONE" itemLabel="NONE" />
<s:enumItem enumValue="UNDEFINED" itemLabel="UNDEFINED" />
<s:convertEnum />
<a4j:support event="onviewactivated" eventsQueue="customer"
action="#{entityManager.flush}" />
</rich:inplaceSelect>
with 3.3.1 i have a cast exception:
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Enum
at org.jboss.seam.ui.converter.EnumConverter.getAsString(EnumConverter.java:56)
at org.ajax4jsf.util.InputUtils.getConvertedStringValue(InputUtils.java:114)
at org.richfaces.renderkit.ComboBoxBaseRenderer.getConvertedStringValue(ComboBoxBaseRenderer
.java:131)
at org.richfaces.renderkit.ComboBoxBaseRenderer.encodeSuggestion(ComboBoxBaseRenderer.java:1
38)
at org.richfaces.renderkit.InplaceSelectBaseRenderer.encodeItems(InplaceSelectBaseRenderer.j
ava:101)
at org.richfaces.renderkit.html.InplaceSelectRenderer.doEncodeEnd(InplaceSelectRenderer.java
:612)
at org.richfaces.renderkit.html.InplaceSelectRenderer.doEncodeEnd(InplaceSelectRenderer.java
:645)
at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
--
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
14 years, 10 months
[JBoss JIRA] Created: (RF-8026) Selenium: create compatibility layer checking standard components' conditions
by Nick Belaevski (JIRA)
Selenium: create compatibility layer checking standard components' conditions
------------------------------------------------------------------------------
Key: RF-8026
URL: https://jira.jboss.org/jira/browse/RF-8026
Project: RichFaces
Issue Type: Task
Components: functional-tests, JSF 2.0
Affects Versions: 3.3.3.BETA1
Reporter: Nick Belaevski
Assignee: Lukas Fryc
Fix For: 3.3.3.BETA1
After upgrade from JSF 1.2 to 2.0 it appeared, that checks for standard components (e.g. existence of generated Faces messages) are not working properly due to changes in JSF renderers.
I'd suggest to create separate project that will contain base check methods compatible with both JSF 1.2 and 2.0 and use it for all functional tests. It can be even covered by unit tests running Selenium tests in HtmlUnit environment (Selenium reference card from DZone refers to this as a means of tests execution speed optimization)
--
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
14 years, 10 months
[JBoss JIRA] Created: (RF-7517) rich:dataTable + rich:columns -> sortBy doing nothing
by Matthias Hryniszak (JIRA)
rich:dataTable + rich:columns -> sortBy doing nothing
-----------------------------------------------------
Key: RF-7517
URL: https://jira.jboss.org/jira/browse/RF-7517
Project: RichFaces
Issue Type: Bug
Components: component-tables
Affects Versions: 3.3.1
Environment: WinXP SP3
Reporter: Matthias Hryniszak
Using the following markup sorting does not work at all on columns:
<rich:dataTable id="table" value="#{localeHandler.locales}" var="row" rows="15">
<rich:columns value="#{localeHandler.columns}" var="column" index="i" sortBy="#{row[column]}" sortOrder="#{localeHandler.sortOrder}" >
<f:facet name="header">
<h:outputText value="#{column}"/>
</f:facet>
<h:outputText value="#{row[column]}"/>
</rich:columns>
<f:facet name="footer">
<rich:datascroller id="scroller" for="table" page="#{localeHandler.currentPage}" />
</f:facet>
</rich:dataTable>
Whereas the localeHandler is a bean with the following properties:
- columns - List<String> containing property names (language, displayLanguage, and so on)
- locales - List<java.util.Locale> generated from Locale.getAvailableLocales()
Current result: sorting is not working
Expected result: sorting works as expected.
--
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
14 years, 10 months
[JBoss JIRA] Created: (RF-4089) check whether ajax is enabled in IE6
by Michael Heinen (JIRA)
check whether ajax is enabled in IE6
------------------------------------
Key: RF-4089
URL: https://jira.jboss.org/jira/browse/RF-4089
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Reporter: Michael Heinen
I am facing a small problem if my richfaces app runs with wrong security settings in IE 6.
Some javascript errors occur if the security option "Script ActiveX controls marked safe for scripting" is disabled.
1) js error: Exception thrown and not caught:
occurs in sarissa.js line 82: throw "Could not retreive a valid progID of Class: " + idList[idList.length-1]+". (original exception: "+e+")";
2) js error: A4J.AJAX' is null or not an object
3) LOG is undefined
I would like to display a message or an alert that the security settings are too restrictive. Is there any way to do this ?
--
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
14 years, 10 months