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
... |
|
|
|
|
|
|
|
|
|
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 ... |
|
|
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 ... |
|
|
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 |
|
|
|
|
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 ... |
|
|
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 ... |
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 ... |
|
|
|
|
|
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. |
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 ... |
|
hi, i'm using 4 datapaginator, 2 above my datatable and 2 below like that : Code: |
|
|
|
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 ... |
|
|
|
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. ... |
|
|
|
|
|
|
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 ... |
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 ... |
|
|
|
|
|
|
|
|
Snippet One ----------- ... |
|
|
|
|
|
|
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 ..?? |
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 ... |
|
|
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 ... |
|
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 ... |
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 ... |
|
|
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 ... |
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 ... |
|
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 ... |
|
|
|
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: (...) (...) ... |
|
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 ... |
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 ... |
|
|
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 ... |
|
|
|
|
|
|
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 ... |