[richfaces-issues] [JBoss JIRA] Created: (RF-9626) Calendar: doesn't work in xhtml mode

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Wed Nov 3 10:16:02 EDT 2010


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

        


More information about the richfaces-issues mailing list