[
https://issues.jboss.org/browse/RF-12426?page=com.atlassian.jira.plugin.s...
]
Jean ANDRE commented on RF-12426:
---------------------------------
Is it ! - See RF-11694 and JAVASERVERFACES-2016.
Workaround preload the css and the js - We put this tags below inside the body tag.
- <h:outputStylesheet library="org.richfaces"
name="collapsible-subtable.ecss" />
- <h:outputScript library="org.richfaces"
name="collapsible-subtable.js" />
rich:collapsibleSubTable - does not works very well under IE and
Firefox - Bad rendering and javascript error
-------------------------------------------------------------------------------------------------------------
Key: RF-12426
URL:
https://issues.jboss.org/browse/RF-12426
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.2.2.Final
Environment: Mojarra 2.1.12 - Firefox 14.1 and IE 8 - RAD 8.0.0.4 - WAS 8.0.0.x -
Spring 3.0.6
Reporter: Jean ANDRE
Attachments: requestClientDocument.xhtml, RF-12426_ScreenCapture.png
We have a collapsibleSubTable inside table which is inside a tab (see screen capture)
created dynamically. Without the collapsibleSubTable, the table is displayed well but as
soon as the add this subTable, everything is going wrong. Under firefox we got the
following error messages:
TypeError: RichFaces.ui.CollapsibleSubTable is not a constructor
TypeError: source is null
if (source.nodeType) {
inside the source richfaces.js.jsf
if (type == "string") {
// id
element = document.getElementById(source);
} else if (type == "object") {
42 >>>>>>>>>>>>>>>>>if
(source.nodeType) {
// DOM element
Under IE, the rendering is worst and IE is not able to show the detail of the error
except this:
Line: 168838013
Erreur : Objet attendu
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira