[JBoss JIRA] Created: (RF-9626) Calendar: doesn't work in xhtml mode
by Pavol Pitonak (JIRA)
Calendar: doesn't work in xhtml mode
------------------------------------
Key: RF-9626
URL: https://jira.jboss.org/browse/RF-9626
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone3
Environment: RichFaces 4.0.0-SNAPSHOT r.19903
Metamer 4.0.0-SNAPSHOT r.19909
Mojarra 2.0.2-FCS
GlassFish Server Open Source Edition 3.0.1
OpenJDK Runtime Environment 1.6.0_18-b18 @ Linux
Chrome 7.0.517.41 @ Linux x86_64
Reporter: Pavol Pitonak
The following page works fine but as soon as f:view is removed, an error is displayed in Chrome console
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich">
<h:head/>
<h:body>
<f:view contentType="text/html">
<rich:calendar id="calendar"/>
</f:view>
</h:body>
</html>
Uncaught Error: INVALID_STATE_ERR: DOM Exception 11
$.extend.renderMarkup :8080/metamer/faces/javax.faces.resource/calendar.js?ln=org.richfaces:1382
$.extend.renderHF :8080/metamer/faces/javax.faces.resource/calendar.js?ln=org.richfaces:1358
$.extend.render :8080/metamer/faces/javax.faces.resource/calendar.js?ln=org.richfaces:1235
$.extend.doExpand :8080/metamer/faces/javax.faces.resource/calendar.js?ln=org.richfaces:888
$.extend.doSwitch :8080/metamer/faces/javax.faces.resource/calendar.js?ln=org.richfaces:935
anonymous :2
getHandlerWrapper :8080/metamer/faces/javax.faces.resource/richfaces-event.js:38
jQuery.event.handle :8080/metamer/faces/javax.faces.resource/jquery.js:1936
jQuery.event.add.elemData.handle.eventHandle :8080/metamer/faces/javax.faces.resource/jquery.js:1599
--
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
[JBoss JIRA] Created: (RF-9632) CDK: wrong component event names generated from <cdk:scriptOption attributes="onchange"/> in the Select component renderer template
by Anton Belevich (JIRA)
CDK: wrong component event names generated from <cdk:scriptOption attributes="onchange"/> in the Select component renderer template
-----------------------------------------------------------------------------------------------------------------------------------
Key: RF-9632
URL: https://jira.jboss.org/browse/RF-9632
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: CDK
Affects Versions: 4.0.0.Milestone3
Reporter: Anton Belevich
Assignee: Nick Belaevski
Fix For: 4.0.0.Milestone4
Select component:
in the template <cdk:scriptOption attributes="onchange" wrapper="eventHandler"/> is used.
Component AbstractSelect class has getOnchange method with eventName="change" but in the generated render
private static final Attributes PASS_THROUGH_ATTRIBUTES11 = attributes().generic("onchange","onchange","inputchange")
FYI: in the same package exist AbstractInplaceSelect this class extends AbstractSelect and has getInputchange method with eventName="inputchange"
--
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