Richfaces data-scroller not working with primefaces-1.0.1

UI Components for JSF
Post Reply
ksundeep
Posts: 1
Joined: 04 May 2010, 12:52

04 May 2010, 13:15

Hi,

I am using prime-faces-1.0.1 tab slider with Richfaces datatable and Richfaces data-scroller 3.3.1.I am getting the problem of data-scroller is not rendering the next page on clicking next pages.

Code: Select all

<p:tabSlider navigator="false" effect="easeInQuad" id="TEST">
		<p:tab>
				<acsc:rDataTable id="PPRTable" value="#{listPowerRewards.listPR}"
					var="prDetails">
					<acsc:rColumn>
						<f:facet name="header">
							#{labelResource.SELECT}
						</f:facet>
						<input type="radio"  id="radidID" onclick="setRadioSelID();" onfocus="radiohighlight(this);" onblur="radioBlur(this);"  name="selectedPowerReward"
							value="#{prDetails.id}#{prDetails.powerReward}" />
						</acsc:rColumn>
					<acsc:rColumn>
						<f:facet name="header">
							<acsc:hGraphicImage value="/images/module_PM.png"
								alt="Indicates Patrons Assigned"
								title="Indicates Patrons Assigned" />
						</f:facet>
						<acsc:hGraphicImage value="/images/module_PM.png"
							rendered="#{prDetails.patronAssigned}" alt="Patrons Assigned"
							title="Patrons Assigned" />
					</acsc:rColumn>
					<acsc:rColumn>
						<f:facet name="header">#{bundle.COLUMN_POWER_REWARD_CODE}</f:facet>
						<acsc:hCommandLink 
							value="#{prDetails.id} #{prDetails.powerReward}" action="viewSuccess" style="border:0px;">							
							<f:param value="#{prDetails.powerReward}" name="pwrCode" />
							<f:param value="3" name="updatePowerRewardMode" />
						</acsc:hCommandLink>
					</acsc:rColumn>
					<acsc:rColumn>
						<f:facet name="header">#{bundle.COLUMN_POWER_REWARD_DESCRIPTION}</f:facet>
						<acsc:hOutputText value="#{prDetails.promoDesc}"></acsc:hOutputText>
					</acsc:rColumn>
					<acsc:rColumn>
						<f:facet name="header">#{bundle.COLUMN_START_DATE}</f:facet>
						<acsc:hOutputText value="#{prDetails.startDate}"></acsc:hOutputText>
					</acsc:rColumn>
					<acsc:rColumn>
						<f:facet name="header">#{bundle.COLUMN_END_DATE}</f:facet>
						<acsc:hOutputText value="#{prDetails.endDate}"></acsc:hOutputText>
					</acsc:rColumn>
					<acsc:rColumn styleClass="textalign-right">
						<f:facet name="header">#{bundle.COLUMN_PLAY_AMOUNT}</f:facet>
						<acsc:hOutputText value="#{prDetails.playAmount}">
							<f:converter converterId="ACSCIntegerConverter" />
						</acsc:hOutputText>
					</acsc:rColumn>
					<acsc:rColumn styleClass="textalign-right">
						<f:facet name="header">#{bundle.COLUMN_GET_AMOUNT}</f:facet>
						<acsc:hOutputText value="#{prDetails.totalGetAmount}">
							<f:converter converterId="ACSCIntegerConverter" />
						</acsc:hOutputText>
					</acsc:rColumn>
					<acsc:rColumn>
						<f:facet name="header">#{bundle.COLUMN_CREATED_BY}</f:facet>
						<acsc:hOutputText value="#{prDetails.assignedBy}"></acsc:hOutputText>
					</acsc:rColumn>
					<acsc:rColumn>
						<f:facet name="header">#{bundle.COLUMN_STATUS}</f:facet>
						<acsc:hOutputText value="#{prDetails.status}"></acsc:hOutputText>
					</acsc:rColumn>
				</acsc:rDataTable>
 
				<acsc:rSpacer height="5"></acsc:rSpacer>

				<acsc:rDataScroller for="ListPowerRewardsForm:PPRTable" 
				oncomplete="evenRow();activeRowMouseOver();activeRowMouseOut();"
					rendered="#{listPowerRewards.listPR.rowCount>0}" />

				<acsc:rJQuery selector="#PPRTable tr:even"
					query="addClass('even-row')" timing="onload" name="evenRow" />

				<acsc:rJQuery id="jqueryMouseOver" name="activeRowMouseOver"
					selector="#PPRTable tr" timing="immediate"
					query="mouseover(function(){jQuery(this).addClass('active-row')})" />
	
				<acsc:rJQuery id="jqueryMouseOut" name="activeRowMouseOut"
					selector="#PPRTable tr" timing="immediate"
					query="mouseout(function(){jQuery(this).removeClass('active-row')})" />
				<br />
	</p:tab>

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

07 May 2010, 08:57

This may be a compatibility issue, do you get any errors? Have you tried RichFaces forum as well?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests