[richfaces-issues] [JBoss JIRA] (RF-12697) datascroller not working with ui:include

Raghavan TV (JIRA) jira-events at lists.jboss.org
Sun Jan 13 21:28:21 EST 2013


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

Raghavan TV commented on RF-12697:
----------------------------------

Yes. That's correct. 
The dataScroller started to work when we moved the code into the main page vs ui:include.
We found a fix by replacing the following core module JARs that was bundled with jboss-7.1.1.Final

The good news is
1) Upgraded the JSF-API Jar to the latest 2.0.9
https://repository.jboss.org/nexus/content/groups/public/org/jboss/spec/javax/faces/jboss-jsf-api_2.1_spec/2.0.9.Final/

2) Upgraded the JSF-IMPL to the latest 2.1.16
https://repository.jboss.org/nexus/content/groups/public-jboss/com/sun/faces/jsf-impl/2.1.16-jbossorg-1/


                
> datascroller not working with ui:include
> ----------------------------------------
>
>                 Key: RF-12697
>                 URL: https://issues.jboss.org/browse/RF-12697
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.2.Final
>         Environment: RHEL-5.5, Windows7, Jboss-7.1.1.Final, Seam-2.3, Richfaces-4.2.2.Final
>            Reporter: Raghavan TV
>              Labels: waiting_on_user
>
> We have facing this problem after migrating from richfaces 3.3.3 to richfaces 4.2.2.Final (or 4.2.3.Final)
> The datascroller in the child page is not working.
> If we remove the ui:include from the base layout page, then the datascroller works. There are no exceptions or fatal errors logged in the logs.
> {code:title=layout.xhtml}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <f:view xmlns="http://www.w3.org/1999/xhtml"
> 	xmlns:ui="http://java.sun.com/jsf/facelets"
> 	xmlns:h="http://java.sun.com/jsf/html"
> 	xmlns:f="http://java.sun.com/jsf/core"
> 	xmlns:rich="http://richfaces.org/rich"
> 	xmlns:s="http://jboss.com/products/seam/taglib">
> <h:html>
> <h:head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> <title>Sample Application</title>
> <link href="stylesheet/theme.ecss" rel="stylesheet" type="text/css" />
> <link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
> </h:head>
> <h:body>
> <table style="basetable">
> 	<tr><td> <ui:include src="header1.xhtml" /> </td> </tr>
> 	<tr><td> <ui:insert name="body" />  </td> </tr>
> </table>
> </h:body>
> </h:html>
> </f:view>
> {code}
> {code:title=home.xhtml}
> <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> 	xmlns:ui="http://java.sun.com/jsf/facelets"
> 	xmlns:h="http://java.sun.com/jsf/html"
> 	xmlns:f="http://java.sun.com/jsf/core"
> 	xmlns:a4j="http://richfaces.org/a4j"
> 	xmlns:rich="http://richfaces.org/rich"
> 	template="layout/layout.xhtml">
> 	<ui:define name="body">
> 	
> 	
> 		<h:form id="orderTrackingSub">
> 			<rich:panel style="width:990px">
> 				<f:facet name="header">Order Information</f:facet>	
> 					<rich:panel rendered="#{not empty orderDetVo.orv}" style="width:990px" >	
> 						<rich:dataScroller id="orderdatascroller" for="orderSub" align="center"
> 							inactiveStyleClass="inactiveDS" selectedStyleClass="activeDS"/>/>	
> 						<rich:dataTable id="orderSub" value="#{orderDetVo.orv}"  align="center" var="item" 
> 									rowClasses="row1,row2" rows = "12" rowKeyVar="row" >
> 						...
> 						...
> 						</rich:dataTable>
> 					</rich:panel>
> 			</rich:panel>
> 		</h:form>
> 	</ui:define>
> </ui:composition>
> {code}
> Thanks
> -R

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list