[richfaces-issues] [JBoss JIRA] (RF-12697) datascroller not working with ui:include
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Thu Jan 10 12:37:08 EST 2013
[ https://issues.jboss.org/browse/RF-12697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744950#comment-12744950 ]
Brian Leathem commented on RF-12697:
------------------------------------
if you don't use the _ui:include_, but instead embed the _home.xhtml_ facelet code directly in the page, does that _dataScroller_ work as you expect?
> 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
>
> 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