-
1. rich:datascroller Help
boy18nj Mar 3, 2011 5:28 PM (in response to basharf)are you using h:form wrapper around the rich:dataTable?
-
2. rich:datascroller Help
basharf Mar 3, 2011 5:33 PM (in response to boy18nj)thanks for answering
I am using one h:form that wraps everything ..
the dataTable and other components...
what do you think ?
-
3. rich:datascroller Help
boy18nj Mar 3, 2011 5:56 PM (in response to basharf)try:
<rich:datascroller align="left" for="taskList" maxPages="20" reRender="@this"/>
if this does not works, then try
<rich:datascroller id="me" align="left" for="taskList" maxPages="20" reRender="@this, @form"/>
-
4. rich:datascroller Help
ilya40umov Mar 4, 2011 5:12 AM (in response to boy18nj)Make sure that you are doing everything accordingly to this example:
http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?skin=classic&demo=dataScroller
(Does your rich:dataTable have id taskList? etc)
-
5. rich:datascroller Help
basharf Mar 4, 2011 7:05 AM (in response to ilya40umov)Hello Aman and Ilya
Thanks A LOT for replying ... but still didnt work
clicking on the scroller changes the number of the scroller ... but the content of the table doesnt get updated unless clicking on a command link to refresh the page
I have been struggling but No luck .. I tried Aman's solution ... didnt work
Ilya .. even the link you gave me I took it and tried it locally ... but no luck too..
I dont know why it doesnt work unless I click on a link that refreshes the page or reload the page ..
I am getting desperate here ..
Please help
-
6. rich:datascroller Help
ilya_shaikovsky Mar 4, 2011 7:58 AM (in response to basharf)please post complete page code. maybe using binding at table (just see the attributes list cut in your original snippet)?
-
7. rich:datascroller Help
basharf Mar 4, 2011 10:09 AM (in response to ilya_shaikovsky)Thanks Ilya for responding ...
<html 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:c="http://java.sun.com/jstl/core"
xmlns:rich="http://richfaces.org/rich">
<style>
.rf-dt{
width:400px;
}
.acent{
text-align: center;
}
</style>
<h:form id="form">
<rich:datascroller align="left" for="table" maxPages="20"/>
<rich:dataTable value="#{userTableBean.dataList}" var="dataItem"
id="table" rows="4">
<rich:column>
<h:outputText value="#{dataItem.lastName}" />
<f:facet name="header">
<h:outputText value="Vendor " />
</f:facet>
<h:outputText value="#{dataItem.lastName}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Model" />
</f:facet>
<h:outputText value="#{dataItem.lastName}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="#{dataItem.lastName}" />
</f:facet>
<h:outputText value="#{dataItem.lastName}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="#{dataItem.lastName}" />
</f:facet>
<h:outputText value="#{dataItem.lastName}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="VIN " />
</f:facet>
<h:outputText value="#{dataItem.lastName}" />
</rich:column>
</rich:dataTable>
<rich:datascroller align="left" for="table" maxPages="20"/>
</h:form>
</html>
-
8. rich:datascroller Help
ilya40umov Mar 4, 2011 10:23 AM (in response to basharf)What JSF/RF versions are you using?
-
9. rich:datascroller Help
basharf Mar 4, 2011 10:26 AM (in response to ilya40umov)Thanks
The version is according to the jars I am using :
richfaces-api-3.3.3.Final.jar
richfaces-impl-3.3.3.Final.jar
richfaces-impl-jsf2-3.3.3.Final.jar
Hope it help, thanks again for your concern
-
10. rich:datascroller Help
gonchar Mar 4, 2011 10:38 AM (in response to basharf)try to add the datascroller element inside your rich:datatable
...
<rich:column>
<f:facet name="header">
<h:outputText value="VIN " />
</f:facet>
<h:outputText value="#{dataItem.lastName}" />
</rich:column>
<f:facet name="footer">
<rich:datascroller align="left" for="table" maxPages="20"/>
</f:facet>
</rich:dataTable>
-
11. rich:datascroller Help
basharf Mar 4, 2011 11:01 AM (in response to gonchar)thanks for replying .
it didnt work
it is not clickable any more..
-
12. rich:datascroller Help
basharf Mar 4, 2011 11:53 AM (in response to basharf)To restate the problem again in brief :
clicking on the scroller changes the number of the scroller ... but the content of the table doesnt get updated unless clicking on a command link to refresh the page
I am desperate ...
help please
-
13. rich:datascroller Help
ilya40umov Mar 4, 2011 11:56 AM (in response to basharf)Well. Try to add reRender="table" to rich:datascroller.
-
14. rich:datascroller Help
basharf Mar 4, 2011 12:18 PM (in response to ilya40umov)No luck I even took the example as is from
and it didnt work
I am thankfull for everyone
What should I do