dataPaginator 1 « IceFaces « JSF Q&A





1. How do I access an ice:dataTable's varStatus, an ice:dataPaginator's firstRowIndexVar? Where are they?    stackoverflow.com

How can I access the varStatus variable and the firstRowIndexVar variable programmatically? I couldn't find them in the request parameters. I'd even be happy just to inspect them in the debugger. Thanks, Eli ...

2. dataPaginator problem?    icefaces.org

7. dataPaginator    icefaces.org

8. dataPaginator does not work in panelPopup    icefaces.org



10. Getting information of DataPaginator    icefaces.org

11. Problem with Datapaginator and remaining in the same page    icefaces.org

Hi, I have a datatable with datapaginator when I click on a row I navigate (using NavigationHandler) to another page to edit fields of that row. This works perfectly but when I click in a button to return DataTable the state of DataTable is the same but the DataPaginator is always going to page 1. How can I do to return ...

14. weird behavior of netbeans with datapaginator [solved]    icefaces.org

hi all, I create a new icefaces form, drop down a dataTable into and setting rows to 15. And I try to drop a datapaginator, but nothing happend, no datapaginator both design and jsp. When I try to drop datapaginator into the datatable, I get a dialog to set target container(form1 or DataTable1) and in the background I get an error ...

16. v1.8 datapaginator    icefaces.org





17. dataPaginator issues - very critical    icefaces.org

Hi I have two issues with the dataPaginator control. 1. after we paginate the table pages to the last page , or any page than the first, going away from the page and come back, the page still remains on the last one. not resetting to the first. From a user point of view, this is a critical error. Also if ...

19. dataPaginator and page number    icefaces.org

20. Help needed in ice:dataPaginator    icefaces.org

I am getting the following exception when i use data paginator java.lang.IllegalArgumentException: -5 at javax.faces.component.UIData.setFirst(UIData.java:226) at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast(DataPaginator.java:184) at i am using dataTable and dataPaginator in this way

21. DataPaginator and Previous Page    icefaces.org

24. Why the componets will lose values    icefaces.org

25. Why the componets <ice:dataPaginator> will lose values    icefaces.org

Hello everyone,Now I met a problem with my task Using IceFaces1.8.0,I'm very appreciate you will answing my problems; Fellow is my Hand_Wrting. but when I got the value in the backBen ...

28. DataPaginator how to show and hide?    icefaces.org

Hola MacJob: Sencillo solo settea la propiedad render, asi te permite dibujarlo o no dibujarlo a tu manera rendered="boolean valor" en mi caso la tabla debe mostrar el paginador en 3 condiciones: 1.Si el valor de rows en el datatable es alcanzado 2.Si rows es menor a List.size() el paginador no debe mostrarse 3.Si List.isEmpty() el paginador no debe mostrarse. Espero ...

29. DataPaginator: non-link buttons when they should be..    icefaces.org

Hi all I found a strange behavior when working with a simple DataPaginator component. Sometimes the "next page" button doesn't behave like a link (anchor) anymore (i.e. the "handpoint" cursor doesn't appear when hovering the button, only the standard "default" cursor"). I can reproduce the behavior like the following: 1. navigate to the last page using the "last page" button. The ...

33. problem with datapaginator...    icefaces.org

35. including one page into another datapaginator is not working    icefaces.org

example.xhtml contains datapaginator, which is included in ice:panelTab as below Datapaginator is working fine first time(when the page is loaded for first time), but if i visit the same tab second time datapaginator is not working, nothing happening on click of Last or first page image.

36. enhancedMultiple + dataPaginator problems    icefaces.org

public class IceTest { private List rows; private int numRowsSelected; public IceTest(){ rows = new ArrayList(); for (int i=1; i<=100; i++){ rows.add(new RowData("ColA_"+i)); } numRowsSelected = 0; } public void rowClicked(ClickActionEvent e){ numRowsSelected = 0; for (RowData row : rows){ if (row.selected){ numRowsSelected++; } } } public List getRows(){ return rows; } public void setRows(List rows){ this.rows = rows; } public ...

38. using gotoFirstPage for 4 datapaginator on a single datatable    icefaces.org

hi, i'm using 4 datapaginator, 2 above my datatable and 2 below like that : Code:

41. Problem with dataPaginator    icefaces.org

42. dataTable and dataPaginator and rowSelector acts strange    icefaces.org

I'm kinda new to iceFaces and i was doing a simple tutorial for the dataTables. I have a managedBean that returns a List to the dataTable and a normal POJO that represents an element from the list. I added the paginator below the table but it acts strange... WHen i press next, i have to press it 2 time before it ...

43. datapaginator current page    icefaces.org

45. DataPaginator    icefaces.org

46. Datapaginator problem with CachedRowSet and ResultSetDataModel    icefaces.org

Hello, i have a datatable that display a ResultSetDataModel or a CachedRowSet. With the two object works fine. The problem begin when i want to use a datapaginator. With this object i only view the first page of my datatable and i cant go to the second page. If i use the code of the icefaces Datatable tutorial it works fine. ...

47. dataPaginator and session beans    icefaces.org

48. dataPaginator problem ?    icefaces.org

50. dataTable& datapaginator    icefaces.org

52. Datapaginator ADVERTENCIA -3    icefaces.org

53. How to navigate to a page programmatically using the dataPaginator    icefaces.org

Hi folks! I hope you can help me. We are using the dataTable and the paginator pretty often in our application. Most of the time we use it to show search results and to navigate into a specific detail view of a selected row. However, we want to preselect a specific row and navigate to the page containing this row. Is ...

54. Custom DataPaginator doesn't work    icefaces.org

Hi folks I'm trying to make a custom datatable and a custom datapaginator works but the paginator doesn't create pages for the datatable's data. I'm using IceFaces 1.8.2. Here is my Java code for the datatable and the datapaginator [code] public abstract class AbstractResultTableUIComponent extends UIComponentBase { public void encodeBegin(FacesContext context) throws IOException { this.getChildren().clear(); BiblioSearchDataModel dataModel = (BiblioSearchDataModel) getAttributes().get("dataModel"); StateHolder ...

56. CSS modification (DataPaginator)    icefaces.org

57. DataTable & DataPaginator problem    icefaces.org

59. dataPaginator & request parameter    icefaces.org

63. dataPaginator id misunderstanding    icefaces.org

Snippet One ----------- ...

66. ice:datapaginator rel attribute    icefaces.org

68. DataPaginator buttons are disabled    icefaces.org

69. DataPaginator Double Click Problem    icefaces.org

70. DataPaginator not working properly !!!!    icefaces.org

Hi, I am using the datapaginator. Following is the code snippet. In spite of giving paginatorMaxPages="1" teh pagonator shows links to two pages at teh same time. Moreover if there is only page to show, pagonator doesnt get formed at all. ANy anserws ..??

71. page number in ice:dataPaginator    icefaces.org

Hi, how to set the current page to the first page? I have an application which allows user search for different type of objects. e.g if the user searches for *item*, it returns 1000 results back. if the user page to 2nd page. Then users searches for another *object* and only 10 results come back. the user will not see anything ...

72. DataTable and DataPaginator    icefaces.org

74. dataPaginator - duplicate client id    icefaces.org

I have now tried many variations on the same theme, and tried suggestions from different forums etc. (wrapping in in - these do not help. I also tried rearranging the facets - and the problem always occur on the second facet added - with only one facet the code works fine. I am really stuck on this issue and ...

76. dataPaginator: Illegal value for first row: -15    icefaces.org

I receive the following stack trace when using the dataPaginator: Code: java.lang.IllegalArgumentException: Illegal value for first row: -15 at javax.faces.component.UIData.setFirst(UIData.java:991) at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast(DataPaginator.java:184) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCycle(BlockingServlet.java:456) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:444) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.executeRequest(BlockingServlet.java:324) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at twp.filter.RoleFilter.doFilter(RoleFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at twp.filter.UtilFilter.doFilter(UtilFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at ...

77. dataPaginator remaining on the same page even after navigation    icefaces.org

Hi there! I don't know if this is a bug or another feature :), but I get this kind of undesired behavior: I have a dataTable with a dataPaginator. I go for example to the third page of results. I navigate then to a completely different page (another .faces page). Then, if I navigate back to the first page, the one ...

80. dataPaginator and javascript    icefaces.org

Hello, I need to execute a javascript function when paging button is pressed. For example user press page 7, I want to execute Javascript with parameter 7. Unfortunatly i didn't saw the paging link in the component tree of the DataPaginator, ad I don't see a way to manipulate them. Can you help me? PS: this is my 5th or 6th ...

81. dataPaginator causing blank page when rendering triggered    icefaces.org

Hi, I have a problem with my dataPaginator. I have an editable dataTable that the user can add rows to by clicking on a link in the tables header. When the number of rows gets to 8 (my rows attribute) the rendering of the paginator is triggered but this causes a blank page to be displayed. clicking refresh on the browser ...

83. DataPaginator or DataTable Problems    icefaces.org

We navigate to a tab with a table that has multiple pages and go to say page 5. We then navigate to a different page and come back to that page with a reduced dataset that only contains 1 page worth of data. None of which shows because it thinks it still has 5 pages worth of data. This is what ...

84. datapaginator in 1.6    icefaces.org

87. Nested datatable/datapaginator    icefaces.org

Hello All, I'm having troubles to work with datables that are within another datatable and each nested datatable has its own datapaginator. Here's a sample code: Code: (...) (...) ...

89. DataPaginator keeps last number of rows    icefaces.org

Hi, I have a dataTable with a dataPaginator which displays 20 rows. I go for example to the last page of results wich have 5 rows. I navigate then to a completely different page (another .faces page). Then, if I navigate back to the first page , the one with the dataTable, the dataPaginator brings me back to the first page ...

90. dataPaginator bug: getPageIndex() always 1 some other methods also    icefaces.org

Hi, I am trying to bind dataPaginator to back bean, but found out some of the methods don't work. For example, the method getPageIndex() always return 1 which is the initial value. I doubt if the binding dataPaginator will keep the new values for other properties such as firstRowIndex, lastRowIndex, etc. Basicly, i want to get the firstRowIndex, lastRowIndex, or pageIndex ...

91. datapaginator    icefaces.org

93. dataPaginator/dataTable always call list.get(0)    icefaces.org

Hi, I stumbled across an issue which is in my case pretty annoying. I use a db with about 100000 rows and want to present them as a paged table. Since a list with 100000 objects will propably kill my server i implemented a PageableList which uses JPA to retrieve just a bunch of rows. The problem is that there is ...

96. datapaginator bug    icefaces.org

98. dataPaginator    icefaces.org

100. dataPaginator - actionListener?    icefaces.org

Hi, Is it possible to dynamically interact with the dataPaginator at runtime? Here is what I try to do: - define a dataTable and at runtime fill only the rows for the first page with real data and the rest with dummy data (null values) - connect dataPaginator - if the user pushes a dataPaginator's button I'd like to know which ...