[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 08:25:41 EST 2011


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

Jean ANDRE commented on RF-11694:
---------------------------------

Many thanks for the explanation. We use the solution number 2 and it is working. 

{code}
<f:view>
  <h:head>
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Pragma" content="No-cache" />
    <meta http-equiv="Cache-Control" content="private" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title><ui:insert name="title"><h:outputText value="#{msg['common.label.application.title']}"/></ui:insert></title>
    <link type="text/css" rel="stylesheet" href="#{webApplicationUtil.baseURL}css/crm-enterprise.css" />
   <h:outputStylesheet library="org.richfaces" name="datatable.ecss" />
   <h:outputScript library="org.richfaces" name="datatable.js" />			  	
  </h:head>
  <h:body styleClass="crm-enterprise">
{code}

I've some questions for you :
 1) Which JSF issue (I mean Bug number) cause this problem ?

 2) Could you please, give us the <context-param> to be set because the information is a little bit obscure. Following config is correct for the case ?
  <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>true</param-value>
  </context-param>

 3) We have a similar issue with a form. At the first time, the form needs to be reload to make available the Ajax validation or we have to press twice the submit button to make the ajax validation running well. Any idea ?
                
> 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