dataPaginator 1 « IceFaces « JSF Q&A

32.Web Service
JSF Q&A » IceFaces » dataPaginator 1 

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

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?

7. dataPaginator

10. Getting information of DataPaginator

11. Problem with Datapaginator and remaining in the same page

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]

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

17. dataPaginator issues - very critical

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

20. Help needed in ice:dataPaginator

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

21. DataPaginator and Previous Page

24. Why the componets will lose values

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

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?

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..

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...

35. including one page into another datapaginator is not working

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

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

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

41. Problem with dataPaginator

42. dataTable and dataPaginator and rowSelector acts strange

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

45. DataPaginator

46. Datapaginator problem with CachedRowSet and ResultSetDataModel

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

48. dataPaginator problem ?

50. dataTable& datapaginator

52. Datapaginator ADVERTENCIA -3

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

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

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)

57. DataTable & DataPaginator problem

59. dataPaginator & request parameter

63. dataPaginator id misunderstanding

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

66. ice:datapaginator rel attribute

68. DataPaginator buttons are disabled

69. DataPaginator Double Click Problem

70. DataPaginator not working properly !!!!

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

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

74. dataPaginator - duplicate client id

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

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( at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast( at javax.faces.component.UIViewRoot._broadcastForPhase( at javax.faces.component.UIViewRoot.processApplication( at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication( at org.apache.myfaces.lifecycle.LifecycleImpl.execute( at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCycle( at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates( at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.executeRequest( at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service( at javax.servlet.http.HttpServlet.service( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at twp.filter.RoleFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at twp.filter.UtilFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at ...

77. dataPaginator remaining on the same page even after navigation

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

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

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

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

87. Nested datatable/datapaginator

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

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

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

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

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

98. dataPaginator

100. dataPaginator - actionListener?

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 ...  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.