[richfaces-issues] [JBoss JIRA] (RF-11694) RF4 : Bad rendering on rich:dataTable inside ui:include enclosed in a rich:tabPanel
Jean ANDRE (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Nov 29 15:12:40 EST 2011
[ https://issues.jboss.org/browse/RF-11694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646453#comment-12646453 ]
Jean ANDRE commented on RF-11694:
---------------------------------
We tested the solution by updating the web.xml. We put following code :
{code}
<context-param>
<param-name>org.richfaces.resourceMapping.enabled</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.resourceMapping.packedStages</param-name>
<param-value>All</param-value>
</context-param>
{code}
The workaround does not work well because it triggers many javacript erreur - User Interface seem to be frozen, hanged.
Here are the errors catch under firebug / Mozilla
{code}
jsf is not defined
[Stopper sur une erreur] }(jQuery,RichFaces,jsf));;(function(C,B,D){B.blankFunction=function(){};
packed.js (ligne 3040)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 61)
RichFaces.ui is undefined
[Stopper sur une erreur] RichFaces.ui.Menu(...uForm:j_idt29_itm" class="rf-tb-itm">
index.jsf (ligne 62)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 65)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 65)
RichFaces.ui is undefined
[Stopper sur une erreur] RichFaces.ui.Menu(...uForm:j_idt34_itm" class="rf-tb-itm">
index.jsf (ligne 66)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td i...iv><script type="text/javascript">new
index.jsf (ligne 69)
RichFaces.ui is undefined
[Stopper sur une erreur] RichFaces.ui.Menu(...uForm:j_idt49_itm" class="rf-tb-itm">
index.jsf (ligne 70)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></td><td cla...iv><script type="text/javascript">new
index.jsf (ligne 76)
RichFaces.ui is undefined
[Stopper sur une erreur] RichFaces.ui.Menu(...":"MenuForm:mainToolBar"} );</script>
index.jsf (ligne 77)
RichFaces.ui is undefined
[Stopper sur une erreur] RichFaces.ui.Menu(...":"MenuForm:mainToolBar"} );</script>
index.jsf (ligne 77)
RichFaces.ui is undefined
[Stopper sur une erreur] <div id="tabbedForm:desktopTabPanel" c...d="tabbedForm:tab-workitems:content">
index.jsf (ligne 85)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></div><scr...caTOW2xgcAAA==" autocomplete="off" />
index.jsf (ligne 88)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></div><scr...caTOW2xgcAAA==" autocomplete="off" />
index.jsf (ligne 88)
RichFaces.ui is undefined
[Stopper sur une erreur] <!-- --></div><scr...caTOW2xgcAAA==" autocomplete="off" />
index.jsf (ligne 88)
{code}
more over there is many CSS errors/warning
{code}
L'utilisation de getAttributeNodeNS() est obsolète. Utilisez getAttributeNS() à la place.
Une fin de valeur était attendue, mais « "#E5973E " » a été trouvé. Erreur d'analyse de la valeur pour « border ». Déclaration abandonnée.
*.rf-insl-tt{position:absolute;display..."#E5973E ";background-color:#FAE6B0;}
packed.css (ligne 108)
Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée.
*.rf-fu-inp{filter:alpha(opacity=0);fo...y:0;position:absolute;right:0;top:0;}
packed.css (ligne 158)
Propriété « text-color » inconnue. Déclaration abandonnée.
*.rf-fu-itm-st{display:none;margin-top...000;background-color:#fff;padding:0;}
packed.css (ligne 164)
Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée.
*.rf-tab-cnt{border:1px solid #C4C0B9;...opacity:.1;filter:alpha(opacity=10);}
packed.css (ligne 184)
Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée.
*.rf-pp-shade{position:fixed;width:100...opacity:.5;filter:alpha(opacity=50);}
packed.css (ligne 185)
Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée.
*.rf-pp-shdw{background-color:#000;opa...6px;left:6px;bottom:-6px;z-index:-1;}
packed.css (ligne 186)
Propriété « repeat-x » inconnue. Déclaration abandonnée.
*.rf-pp-hdr{background:url(../org.rich...g-left:10px;cursor:move;padding:2px;}
packed.css (ligne 188)
Erreur d'analyse de la valeur pour « font-size ». Déclaration abandonnée.
*.rf-cal-sp-inp{border:0;padding:0 0 0...Arial,Verdana,sans-serif;width:18px;}
packed.css (ligne 354)
Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée.
*.rf-cal-edtr-shdw{background:#FFF;opacity:.5;filter:alpha(opacity=50);}
packed.css (ligne 369)
Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée.
*.rf-cal-edtr-layout-shdw{background-c...opacity:.3;filter:alpha(opacity=30);}
{code}
Then we return back to the workaround No 2 - OutputStyleSheet...
Thank you very much for your answers.
> RF4 : Bad rendering on rich:dataTable inside ui:include enclosed in a rich:tabPanel
> -----------------------------------------------------------------------------------
>
> Key: RF-11694
> URL: https://issues.jboss.org/browse/RF-11694
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.0.0.Final
> Environment: Websphere 8 - RAD 8 - JSF Mojorra 2.1.4 - Spring 3.0.6 Final - Use @Inject @Named @SessionScoped as annotations - Firefox 7.0.1 - Windows 7 (6.1 sp1)
> Reporter: Jean ANDRE
> Fix For: 4.Future
>
> Attachments: After F5 Key.jpg, Newly dynamic tab.jpg, Screen at the beginning....jpg
>
>
> The rich:dataTable is not rendering with CSS style when the dataTable is inside a separate file (ui:include src=....) during the ajax rendering on a dynamic insert of rich:tab.
> The error does not appear when the content of the include file is directly moved inside the final page, I mean without ui:include.
--
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