Lazy load « IceFaces « JSF Q&A





1. Binding List to Datatable After Page Loads (Not Lazy Loading)    stackoverflow.com

Our page has a datatable which shows records from a web service. The web service queries a database, and the query can take from 10 secs to 100 secs. I was initially ...

2. Lazy Loading    icefaces.org

rsheguri wrote: Hi , I am very new to Icefaces. Can any one help me with a sample example in achieving my task given below. The grid should only retrieve a subset (or chunk) of the total number of records available, or all the records available if that number of records falls below the chunk size. The grid should display the ...

3. My view on lazy-loading data for ice:dataTable    icefaces.org

public void dp1_processAction(ActionEvent ae) { try { PaginatorActionEvent pae = (PaginatorActionEvent) ae; String action = pae.getScrollerfacet(); //in case using paginator if (pae.getPageIndex() != -1) { currPaginatorPage = pae.getPageIndex(); } //in case using buttons for navigate else { if (action.equals("next") || action.equals("fastf")) { currPaginatorPage++; } else if ((action.equals("previous") || action.equals("fastr")) && currPaginatorPage > 1) { currPaginatorPage--; } else if (action.equals("first")) { currPaginatorPage ...

4. Lazy Loading    icefaces.org

5. DataTable Lazy Loading    icefaces.org

Hi, I know that there are a few posts aboyt this topic on this forums, but I haven't found a good solution to my problem. I'm trying to use the LazyDataModel by Neil Griffin (http://205.134.240.99/web/ngriffin/blog/-/blogs/1544429;jsessionid=D43B74D0BB68F3F56659CFF201650FDC?_33_redirect=%2Fweb%2Fngriffin%2Fblog%3Fp_p_id%3D33%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26_33_struts_action%3D%252Fblogs%252Fview) because it seems like a very simple way of implementing the lazy loading. But I don't know how should the overriden methods work. I have to ...

6. Lazy Loading dataTable with JPA    icefaces.org

Hi ! I have followed this tutorial (tutorial 1) : http://facestutorials.icefaces.org/tutorial/dataTable-JPA-tutorial.html I have also followed an other tutorial (tutorial 2) : http://weblogs.java.net/blog/caroljmcdonald/archive/2008/01/ The first tutorial uses an ICEfaces ice:dataTable component in conjunction with an ice:dataPaginator to display a subset of lazily loaded data in the GUI. The other tutorial uses standard JSF components to do the same thing. I have a ...

7. "Lazy Loading DataTable with JPA": Where is the dirty flag used/evaluated?    icefaces.org

Thanks, found it. This whole thing is a bit complicated...I need a performant direct JDBC access instead of JPA, so I am trying to understand exactly what is going on... I will try with "rownumber() over (order by...) as rn ... where rn between ..." as the underlying table could contain lots of entries and DB2 Express seems to support this. ...

8. Lazy loaded table with pagination - Explicit reload    icefaces.org

Hi All, We are using a lazy loaded table with pagination to display records. When the first page is loaded (implicitly), the query at the backend is for all the records in the database. These results form the data model that is bound to the datatable. However, We provid checkboxes on the page which enable the user to select which records ...

9. Lazy Loading DataTable with JPA - adding and deleting rows    icefaces.org

Hi, Starting from the "Lazy Loading DataTable with JPA" tutorial (http://facestutorials.icefaces.org/tutorial/dataTable-JPA-tutorial.html) I've managed to extend its functionality with add/delete rows features. But I have problems with the data paginator and some exceptions. If on the last page I only have one row I have the following problems: 1. If I delete a row on a page other than the last one, ...





10. ice:outputResource lazy load and FacesContext    icefaces.org

Hi everybody, hope someone can help me. i'm using the icefaces outputResource component with lazy access on the Resource. Therefore i coded my own Resource class. Within the open() method i'd like to create the data. For this purpose i need to have access to the facesContext; and there is the problem. Whenever i try to get the FacesContext with: FacesContext ...

11. Is lazy-loading datatable even possible in sychronous mode?    icefaces.org

If you are in synchronous mode, you should be able to implement lazy loading the same way. The lazy loading is coupled with the pagination of the dataTable. The tutorial uses a server/AJAX push to dynamically update other sessions when a record is modified/added/deleted. If you use synchronous mode, you can still have lazy loading as a user interacts with the ...

12. Lazy-Load with scrollable data table    icefaces.org

13. Lazy loading with JPA problem    icefaces.org

stellans Joined: 06/02/2009 00:00:00 Messages: 5 Offline Hi, I'm working on an app that is implementing lazy loading with JPA, and I'm doing this by the tutorial posted on Icefaces site. My app loads and works fine until I try to go to the page with a datatable that uses lazy loading. I'm getting the following error: Code: 20 [http-8080-3] INFO ...

16. Lazy loading Tree    icefaces.org





17. Lazy loading on scroll demand    icefaces.org

19. PanelTabSet - lazy loading?    icefaces.org

20. Lazy loading in table component?    icefaces.org

23. Lazy load of popup menu    icefaces.org

Hi all, I have the following issue. There is a table, and on right-click there must appear popup-menu. The content of popup menu (its items) is not static but depends on which row we have made the right-click. So, the question is: can I construct the popup-menu in the moment when I click on table in dependence of selected item? How ...