Datatable 2 « IceFaces « JSF Q&A





1. disable dataTable    icefaces.org

2. Help with     icefaces.org

4. DataTable and the List value    icefaces.org

5. Datatable issues.    icefaces.org

Requirement: Want a data table which is scrollable and re-sizable columns. Should fit in the width of the panel group. But data table I am working on has issues with scrollable bar and re-sizable too(I know this issue of re-sizable and scrollable is being solved in jira) but this issues no one has yet discussed or not given proper solution: 1. ...

6. Refrescar datatable    icefaces.org

Tendrias que volver a hacer una consulta de actualizacion a la base de datos para que el array contenga todas las entradas. Una cosa es aadir un nuevo objeto en el array y que ste aparezca en la dataTable. Otra es que el Bean por arte de magia adivine que hay registros nuevos en tu base de datos... Una posible solucion ...

7. ice:dataTable index starting with 1    icefaces.org

8. How can I use with     icefaces.org

I need to download file, but I have to search file in a database with code and again do download. I try to use , but I don't have ideia how to use this component with a List. How can I implement "Resource" class to use a List file and put in a dataTable. Thank you very much.

9. problem in getRowData from datatable    icefaces.org

I want to get selected row data from ice:datatable ? Here is me code , please give me your suggestion to get selected row data using rowselector public void rowSelectionListener(RowSelectorEvent event) { HtmlDataTable dataTable = (HtmlDataTable) event.getSource(); dataTable.setRowIndex(event.getRow()); TableBean tblobject= (TableBean)dataTable.getRowData(); System.out.println(tblobject); } if i ...





10. ice:dataTable improvements and questions    icefaces.org

It would be nice if the ICEfaces datatable had functionality currently present in the MyFaces Tomahawk extended dataTable, especially auto sortable tables and rowStyleClass (to have value bindings to CSS styles)... BTW, what is the best way to deal emulate a dynamic rowClass (i.e. since ice:dataTable doesn't currently have rowStyleClass, how should we do this right now?) Also, what is the ...

11. ReRender a dataTable component    icefaces.org

I have a problem when I did a upload using component, because my DataTable is not update with new file, but when I do another thing in my screen the file show in dataTable. This problem only occurs in the first upload. I think to resolve this problem, re-render a dataTable component, but I don't know how can i do ...

12. Handling huge data in dataTable    icefaces.org

Hi guys, I already stumbled across a few posts in this forum where some very similar challenges where considered. Unfortunately I couldn't find any considerable solution(s). The customer demands an editable / sortable table without pagination (so that's no point to discuss at the moment). So we need to display up to a thousand records in a scrollable table (at least ...

15. ice:datatable calling callback method too many times.    icefaces.org

we are using ice:datatable in our application. some thing like this.

16. unique id for each cell of datatable    icefaces.org





17. datatable    icefaces.org

19. Editable Datatable - Icefaces 2.0    icefaces.org

Please, I'm doing a editable datatable dinamically and i need select a row in datable and update this row, i have htmlinputext in the datatable I'm using icefaces 2.0 beta 1 and netbeans 6.9. Code: -------------------------------------------- Pag.xhtml -------------------------------------------- ... ... -------------------------------------------- Prueba.java -------------------------------------------- ... @ManagedBean(name="prueba") @RequestScoped public class Prueba { private CachedRowSetImpl lcrs_1; public HtmlDataTable dataTableComponent = ...

20. Display xml data on a datatable    icefaces.org

21. entries not being shown in datatable!    icefaces.org

22. strange behaviour in ice:datatable    icefaces.org

23. datatable how height    icefaces.org

24. sortable ice:dataTable    icefaces.org

25. Doubt about data design for datatable    icefaces.org

26. Nested datatable    icefaces.org

28. add a dropList in DataTable cell    icefaces.org

29. Datatable multiselect standards?    icefaces.org

Our app includes dataTables with your enhanced multi-select mechanism enabled. I am getting complaints from some testers and managers claiming that the selection mechanism is "non-standard" and confusing. Can you enlighten me as to the rationale behind your particular implementation and tell me which standards your mechanism is or is not in compliance with? More info... Using ICEfaces 1.8.2 I wonder ...

32. Multiple dataTables on one page (List of Lists)    icefaces.org

I have an interesting predicament where I need to iterate a list of lists on the page and for each sub list, display a dataTable. When I try and iterate the list via ui:repeat and then create a dataTable for each of my sublists, a new dataTable is not created for each one. It seems to lump the data for each ...

34. how to get index value of datatable    icefaces.org

35. Editable field of ice:dataTable    icefaces.org

36. Problem with Datatable    icefaces.org

37. How to use Rules in dataTable?    icefaces.org

The tag usage in dataTable says the following. What is "Code"? Can you please provide some examples? I am wondering if I can put some javascripts there so that when I choose a value from a RichDataListColumn, it will trigger something to happen in another column? Can you please provide some examples, thanks. --------------------- Code specifying which rules will appear between ...

38. selectBoleanCheckbox within dataTable    icefaces.org

39. Major problems with ice:dataTable    icefaces.org

Hello, I have upgraded to IceFaces 2 and ever sincer i had a ton of problems. My most recent one is with a ice:dataTable and it's strange behaviour. Description of the problem: I have in a form an selectOneMenu with partialSubmit=true, and in another form a ice:dataTable with no binding. When i change the value in the selectOneMenu and the valueChangeListener ...

40. Edit dataTable    icefaces.org

41. ice:dataTable + converter    icefaces.org

I'm using ice:dataTable which has let's say column like this : The problem is that onblur all cells in that column are firing getAsObject converter function ? How to call getAsObject just for speceific cell when data is entered ?

42. Complex output     icefaces.org

43. Editable dataTable    icefaces.org

44. DataTable    icefaces.org

45. DataTable    icefaces.org

I am using dataTable. Even with ice:rowSelector multiple="false", I can select more than one row. I have found how it happened but I don't know the solution. I have a page with person list which is in a dataTable. If I select one person and click the Edit button, my application goes to edit page. After editing when I click on ...

48. dataTable does not work with LinkedHashSet?    icefaces.org

I attached an object of type LinkedHashSet to a dataTable. The object is a collection of objects of a certain type with several properties. When I try to use LinkedHashSet object in a page with dataTable, it gives an error telling me it can't get the properties for the object that iterates within the collection. The dataTable does not work with ...

49. selectOneBox within dataTable    icefaces.org

50. Nested DataTables    icefaces.org

51. How to force datatable redraw    icefaces.org

Hopefully this is a simple one. I have a datatable with checkboxes tied to a selected property in my object. In the header if the table, I put a selectBooleanCheckbox. If you check that box, it should "select all". So I implemented the setter for the selectBooleanCheckbox to loop through the entire list of elements and set the selected property. When ...

52. dataTable problem    icefaces.org

tgarijo Joined: 15/11/2006 00:00:00 Messages: 7 Offline Hello to all. I have a problem that not to be solved. When I gain access to the page so that the table appears type Informe de Excepcin excepcin javax.servlet.ServletException: Can't parse stream for /Logic/listavailability.jsp Failed to execute JSP lifecycle. com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:416) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) causa raz javax.faces.FacesException: Can't parse stream for /Logic/listavailability.jsp Failed to execute JSP ...

53. CRUID DataTable    icefaces.org

Hi guys! Does anyone know how to make such thing like AJAX CRUID DataTable using ICEfaces? Short description of it: From first view it looks like general DataTable. For example, we have a list of news items. Each item has id, title, content, audience, startDate, endDate. DataTable consist of "id", "title", "edit", "delete" columns. There is also "create news item" button ...

55. vertical datatable    icefaces.org

57. how to manage different id for each datatable item    icefaces.org

Hi, I have a datatable with HtmlCommandButton items. This datatable is created dynamically in this manner: As you ...

58. I am not able to reference an item inside a datatable    icefaces.org

Hi, my problem is that I have a datatable which is generated dynamically in this manner: ...

59. DataTable sorting not working    icefaces.org

Hi, I am trying to test the integration of JSF into an existing servlet/JSP application. Typically links in our application go to a servlet, which performs authorization before redirecting to a JSP page. In my test I'm substituting a very simple JSF page instead. The JSF page is a simple sortable dataTable with dataPaginator. I can render the dataTable, but, when ...

60. DataTable updates    icefaces.org

61. DataTable Pivot    icefaces.org

62. Reset to first page of datatable    icefaces.org

My application has links that filters the rows displayed in my paginated dataTable. If the user has navigated off of first page of data and then clicks on of these filter links, it's possible that the # of rows returned to be displayed in the dataTable is less than 1 page. Is there a way that I can set the current ...

63. background color of a datatable    icefaces.org

64. Datatable not working    icefaces.org

65. DataTable inside DataTable?    icefaces.org

Hello, I need to display one, or more than one value in the cell of a table. Markup looks something like this: . . . So, in the backing bean there is ...

66. building problem with dynamic dataTable    icefaces.org

private void initTable() { // Set rows. This is a stub example, just do your dynamic thing. String[] row1 = { "ID1", "Name1", "Value1" }; String[] row2 = { "ID2", "Name2", "Value2" }; String[] row3 = { "ID3", "Name3", "Value3" }; // Convert rows to List and set the List. myList = new ArrayList(); myList.add(Arrays.asList(row1)); myList.add(Arrays.asList(row2)); myList.add(Arrays.asList(row3)); rowModel = new ListDataModel(myList); ...

67. Problems with DataTable    icefaces.org

68. Datatable not updating    icefaces.org

70. DataTable Update Problem    icefaces.org

71. dataTable not behave in 1.6.1    icefaces.org

74. JTable and DataTable    icefaces.org

Hi, a JTable's model is not compatible with a HtmlDataTable's model. You would have to make sure that the underlying dataModel of your table is derived from javax.faces.model.DataModel if you want to write a customized model implementation. Why would you need to do that? Wouldn't it be possible to just use the existing ways of JSF to populate your model data? ...

75. DataTable    icefaces.org

This would be pretty hard to do with a straight dataTable component. It might be possible to use three tables and ton of CSS to get it working but I can't recommend this approach. You might consider using a regular HTML tags and use a Facelets iterator to build the table and ultimately a custom Facelets based component. This approach would ...

76. how can i use a hashset with the     icefaces.org

You can't use Sets with dataTables. The basic problem with a set is that it is not indexable like a list or array. As an example, the dataTable component's "first" and "rows" attributes allow the table to only display a small portion of the total data set at a time. Implementing this functionality in for a Set would be very inefficient. ...

77. Dynamic Datatable problem    icefaces.org

78. Creating of datatable from backing bean    icefaces.org

Hi all, i want to create the data table from backing bean. i am trying to write the following code, but not success... public HtmlDataTable getMyTable() { myTable = new HtmlDataTable(); myTable.setStyle("width:100%;padding:3px;cellspacing:0px"); //myTable.setValue("dataSortList.sortedPersons"); myTable.setRendered(true); String valueBindingForTable="#{dataSortList.sortedPersons}"; ValueBinding valForTable=application.createValueBinding(valueBindingForTable); myTable.setValueBinding("value", valForTable); myTable.setVar("person"); myTable.setStyleClass("dataScrollerTable"); myTable.setColumnClasses("firstCol,lastCol,phoneCol,emailCol"); myTable.setRows(5); myTable.setSortAscending(true); UIColumns columnForSelect = createColumnForSelect(); myTable.getChildren().add(columnForSelect); return myTable; } private UIColumns createColumnForSelect() { // log.debug("Creating Column For ...

79. ice:dataTable scrollHeight issue    icefaces.org

I have an issue with scrollHeight attribute. The ice:dataTable located on a first tab of three tabs. When table gets rendered for first time it's height is very small and doesn't equal to the height specified in scrollHeight attribute. This behavior is very similar when Scrollable attribute is false. However, if user navigates to the second tab and comes back to ...

80. ice:dataTable scrollHeight issue    icefaces.org

81. Problem with datatable    icefaces.org

82. dataTable stops responding    icefaces.org

Hello, I'm trying to create an ice dataTable with expandable rows modeled on the examples in the component showcase and the Auction Monitor app. I've got a column with an image and command link that calls into my bean class to provide additional row data for the table. It works, but only once. I can click on the expand image, and ...

83. fixed dataTable size?    icefaces.org

85. Slow dataTable    icefaces.org

Hi, I'm using a dataTable to show the results of a database query which can be over 300 rows. The problem is that when I submit a query that results in so many rows, the browser says that the script has stopped responding. If you allow the script to continue it eventually shows the data. I have checked the speed of ...

86. cellspacing is always 0 in dataTable    icefaces.org

87. Datatable Sorting    icefaces.org

sarulsenthil Joined: 23/09/2007 00:00:00 Messages: 15 Offline I am trying to implement the server side sorting for the dynamic datatable, everytime the bean is initialized, it requires clicking twice.I am sorting default by descending.Arrow shows ascending but the data is sorted descending.The scope of my backing bean is request.The datatable is on the tab on the tabset container.Here is the snippet, ...

89. How to show data in ice:dataTable    icefaces.org

Hi, I am facing problem in showing value of object's (Obj) attribute which is List in itself, in the dataTable. My ice:dataTable is mapped to the List (containing objects (Obj)) and i have to show the value of object's (Obj) attribute which is List. Actually I am not able to get that how to iterate the attribute which is of type ...

90. findComponent in Datatable    icefaces.org

91. CheckBoxs in dataTable    icefaces.org

93. Select cell in dataTable    icefaces.org

94. DataTable Selection    icefaces.org

95. dataTable    icefaces.org

96. DataTable in edit mode    icefaces.org

Hello philip Please help me. i am trying this for a weeks I am trying to create a dynamic datable in edit mode. The information display good, but when I edit the information the message test for edit" doesnt print This is de Backing bean: public class Page2 extends AbstractPageBean { HtmlDataTable dtb_simple; private HtmlInputText westText = null; public UIColumn column1; ...

97. dataTable border not disappearing    icefaces.org

99. DataTable with huge numbers of items    icefaces.org

Hi All, I have a quite large datatable (500 rows X 10 columns). The datatable is set up as scrollable. Items can be dynamic changes (some rows can be deleted, some updated and also can appear new items). Is there any way to control the position of scrollbar? Is there any way to rerender only one row in datatable? Rerender whole ...

100. dataTable help    icefaces.org

I'm new in JSF and I'm using icefaces 1.7 with tomcat server 6 I have a CVS file that content a table and I wanna to display this table and the problem that I can't make a generic table with a pretty view like icefaces examples and separation between columns and rows this is my running code and I wanna to ...