[richfaces-issues] [JBoss JIRA] (RF-12426) rich:collapsibleSubTable - does not works very well under IE and Firefox - Bad rendering and javascript error

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Wed Aug 22 10:47:15 EDT 2012


    [ https://issues.jboss.org/browse/RF-12426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713064#comment-12713064 ] 

Jean ANDRE commented on RF-12426:
---------------------------------

Thank you Lukáš - However WAS8 use servlet 3.0 and I've already vote for RF-11959. :)

I've added this code inside the page, but it seems it not enough as we lost css. What we should do in addition ?

    <h:outputStylesheet library="org.richfaces" name="collapsible-subtable.ecss" />
    <h:outputScript library="org.richfaces" name="collapsible-subtable.js" />

We have already tried by the past, different compression option, but there is a way to display at the startup time of Richfaces which compression/optimization richfaces is active like a log.INFO message ?

See 5.4.2. Resource optimization
http://docs.jboss.org/richfaces/latest_4_X/Developer_Guide/en-US/html/chap-Developer_Guide-Advanced_features.html#sect-Developer_Guide-Advanced_features-Resource_optimization

                
> 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
>            Assignee: Lukáš Fryč
>         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

       



More information about the richfaces-issues mailing list