Row 1 « IceFaces « JSF Q&A





1. How to get selected datatable row using icefaces?    stackoverflow.com

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

public void rowSelectionListener(RowSelectorEvent event) {
 ...

2. How do i remove a row from an icefaces datatable?    stackoverflow.com

I have a simple ice:dataTable which has 2 columns, one an action column the other a string representing a regular expression. The action column has as its header an add ...

3. Java: JSF ICEFaces dataTable row selection problem    stackoverflow.com

I have ice:datatable and I want to show a value from selected row in a ice:inputText. My questions are in output and my code is as follows: TestBean.java

public class TestBean {
  ...

5. dataTable with mutliple rows per variable iteration?    icefaces.org

Is it possible to create a dataTable with multiple rows associated with an iteration of the list/array data? It is such a PITA to not be able to do this in most JSF frameworks. For example, a "Person" object with firstName, lastName and description. I basically want to be able to do this (pseudo code, of course) Code: ...

6. How add row number to datatable    icefaces.org

jmind wrote: michelle2 wrote: jmind wrote: michelle2 wrote: jmind wrote: michelle2 wrote: jmind wrote: michelle2 wrote: put a valuechangeListener in filesGroubRecordBean and get its index like this. I'm assuming you have a situation where filesGroupRecordBean is contained in a list of fileGroupRecordBeans , GroupList in the session then to get the index do this. final int index = sessionBean.getGroupList().indexOf(this); there's ...

7. datatable row selection problem    icefaces.org

8. Displaying the Selected Row in IceFacesDataTable    icefaces.org

Hello, Iam able to get a value of the selected row, but iam not able to display or highlight the selected row in the iceface datatable. MyJsp.jsp ...





10. Dynamically dispaly number of rows in datatable?    icefaces.org

Hi , I am using datatable and i want to dynamically display number of rows in datatable from backing bean. i have created one selectonemenu for choosing number of rows like 10 rowas , 20 rows ......... for above table. Any body have any idea how we can contorl number of rows in datatable based on combo box value. Thanks

11. Deleting a row from a table    icefaces.org

Hi, I have a dataTable with a value binding set to a list of beans. Each row has 3 inputTexts, an outputText and a delete commandButton. The delete button in each row calls remove(this) which in turn removes the item from the list. The problem I am facing is that instead of deleting the correct row, icefaces effectively removes the last ...

12. Datatable edit rows in inputtext    icefaces.org

Hello Everybody, I'm totaly newbie in icefaces, so sorry for the simply question (I didn't find the answer by my best friend Google :) ) So I'd like to edit some columns of datatable row. I could set up a simple rowselect table. Is it possible, to do: If I click on one row, then I can see the colum values ...

15. 'Target Unreachable, identifier 'row' resolved to null' after removing a dataTable row    icefaces.org

Hi wlewter I to have a similar problem as it occurs in my app after deleting a row then selecting the last row in the table. Although I have been unable to solve the problem I found this as it might help. Have a look at http://www.icefaces.org/main/resources/tutorials.iface -> CRUD Applications with ICEfaces and NetBeans Check out point #3 "One last thing ...

16. Keeping paginated datatable on page of selected row    icefaces.org

Hi all, I am using a datatable with a datapaginator and a rowselector to show search results. Any of the results can be selected (using a rowSelector) and this will set the view to an 'update.xhtml' view to allow editing of the user. At the moment, when you click on a result in the table, the record is displayed for editing, ...





17. ajax-push deselects row in datatable    icefaces.org

18. Row Selection Toggling    icefaces.org

19. problem passing the selected row value to panelpopup    icefaces.org

hi, Can anyone give a sample code on how to pass the selected rowvalue from a data table to a panelpopup? I have a data table displaying details from DB. On selection of a particular row and clicking a commandbutton which invokes the panelpopup,i needed to pass the selected values to the panelpopup. kindly do share if any1 have a sample ...

20. icon in row in dataTable    icefaces.org

21. icon in dataTable row    icefaces.org

Hi! I have a case where I want to put an icon on each row in a datatable Then I have class where I iterate through the list and change the statusIcon field in the backing bean based on certain value. The results is that all the rows show a green ball (I guess because statusIcon is set to /resources/bullet_ball_green.png in ...

22. how can use a in row selector    icefaces.org

Hello all i m using a Data table in which in second column i used a now i want to pass both value that is selected value from selectOneMenu and also that row number on selection of itemLebel of for that i used ice:rowSelector also and also used a valueChangeListener can any body say me how i can pass ...

23. Row selector issue in expanding datatable    icefaces.org

Hi there, I have been trying to get the row selector working with datatables and it kind of works but I have a problem. Basically I have the following expanding datatable layout: If I expand one of the sub datatables and leave the other unexpanded ...

29. Deleting a row    icefaces.org

hi, i'm new using icefaces, and i'm doing an application with netbeans. The problem i got is that when i try to delete a row from a datatable clicking on the row, i only can delete the correct one the first time i run the application, then i delete any other row except the one i choose. My code for the ...

30. Select a row which update inputText    icefaces.org

31. grouping rows in datatable    icefaces.org

I am creating a datatable listing all system users and their assigned roles. I am grouping on roles as some users have multiple roles. The table displays fine but splits the multiple roles into separate cells. How can I combine them into one cell and seperate each role with a comma? I attached a screenshot of my UI to better explain ...

32. sortable, row selectable datatable    icefaces.org

I don't know if there's an example of both together, but there are examples of each on its own. If you combine the principals from each, you'll get where you want to go. The key to the sortable table is adding an tag to each of the headers fields of the sortable columns and then implementing a sort in the ...

34. complete dataTable row as link ?    icefaces.org

35. How delete a row in datatable at runtime???    icefaces.org

I am encountering problems when trying to do this. I have a List of elements backing the datatable and an ice:rowSelector for selection of the current row. When a row is selected, the left-most column shows a remove button. When the remove button is clicked, the row that is selected gets deleted with this code: Code: public T removeEditableRow() { log.debug( ...

36. row selection    icefaces.org

37. row selection in a data table    icefaces.org

38. How to select ice table row    icefaces.org

39. datatable row selection    icefaces.org

40. How to programmatically unselect a row?    icefaces.org

public class RowSelectionWrapper { private T value; private boolean selected; public RowSelectionWrapper() { } public RowSelectionWrapper(T o) { this.value = o; } public boolean isSelected() { return selected; } public void setSelected(boolean selected) { this.selected = selected; } public T getValue() { return value; } public void setValue(T value) { this.value = value; } public static ArrayList> wrapList(List ...

42. Problem adding new row to a table    icefaces.org

43. How to show empty rows    icefaces.org

Hi all: I'm using a datatable with paging and sorting and everything works really good. The problem is when I arrive to the last page on the paginator and only shows a row. Is there anyway to show always the same number of rows? Is there anyway to show empty rows to fit the table? Thanks in advance

47. add A NEW COMPONENT ROW to datatable (not a row from a result list)    icefaces.org

Hi on mi jspx i have a command button and a datatable. When user click on button a new ROW need to be displayed on the table. This row need to contains other components(like a selectOneMenu inputText and and commandButton). User can insert the data into these components displayed on the new row created and click on the commandButton to inser ...

50. Height row datatable    icefaces.org

52. How to get selected row value from datatable ?    icefaces.org

Hi, How to get selected row value from datatable ? without checkbox and radiobutton i have to find the row value.As well as if i found the particular value , those send to database and retrive into the backing bean. How to use Rowselectioncontroller in the datatable ? Is this method for get value from datatable and print into another panel ...

53. deleting rows from dataTable    icefaces.org

Hi Sorry I could not find any search capability on forums. so I am not sure if this question has been posted earlier. I have a datatable which has delete button on each row. The input text fields on the row need to have validator on them so that whenever user inputs wrong data, error message is displayed. So I have ...

54. How to cancel a row selection    icefaces.org

55. Dual List with Row selector    icefaces.org

56. datatable validate whole row    icefaces.org

58. ice:dataTable row selector    icefaces.org

61. ice table hide some rows    icefaces.org

Hi !!!! Just now I'm trying to build a filter for a table, but I don't want that every time that someone uses the filter I have to create a temporal array with the resultset and on and on for every query Exist a way for hide rows from A datamodel or listdatamodel or using an icefaces attribute . thanks

63. how to go to a specific row in datatable    icefaces.org

hello, i'm using datatable to list an object type. table is in any order and keeps lots of records. i want to point(locate) to a specific index(row) which user will set through gui. i searched the forum and think it might be helpful to use first attribute. but i couldnt find any example on the net. do you have any suggestions? ...

64. Datatable with different row formats    icefaces.org

I am using an Icefaces datatable in which even and odd rows should be formatted with different style generated from database data and also there are some special rows which should also be formatted with different style also generated from database data. Is it possible to use user defined styles for some rows in Icefaces datatable and how to do it? ...

65. dataTable: How to get all selected rows?    icefaces.org

Hello everybody, I am facing a problem using the dataTable component with a dataPaginator and a rowSelector where the enhancedMultiple-attribute of the rowSelector is set to true. My ICEfaces version is 1.8.1 . The basic issue is, that when I select a row on one page (let's assume page 1), use the paginator to navigate to another (page 2) and select ...

66. Row Selection    icefaces.org

68. Row Selector populating inputText    icefaces.org

I have a data table that when a row is clicked it should populate at set of input fields that relate to the table row data. This is to allow users to select a row and then update the data and submit it back to the Db. I can get commandButtons to retrieve data from a backing bean and fill the ...

69. Issue with Data Table with Row Selection.    icefaces.org

I have managed to get an ice:dataTable rendering, and the selection javascript etc, has been applied using the java script files that are needed. However, I am getting the following errors which are preventing some things from occurring: 1) Ice.DnD has no properties 2) Ice.Menu has no properties I also get an Error in extras bootstrap when I run my page. ...

70. Get the selected row from a table    icefaces.org

72. Row Selection    icefaces.org

73. Workaround solution for creating a sortable, row selectable dynamic datatable    icefaces.org

satyajitchainy Joined: 29/12/2006 00:00:00 Messages: 7 Offline Hi, I found out a solution for creating a dynamic,sortable,row selectable datatable. In the current realese of ICEFaces, the following doesn't work related to datatable. 1.You will not be able to bind a method to selectionListener dynamically. The below commented portion won't work. Code: RowSelector rs=new RowSelector(); rs.setId("rs_" + columnName); ValueBinding binding = app.createValueBinding("#{vartableData.selected}"); ...

75. Double click action on data table row    icefaces.org

77. Enter to change row of a data table    icefaces.org

78. how to exclude rows of the table?    icefaces.org

79. row index in datatable    icefaces.org

80. Slow Performance with data table, row selector    icefaces.org

I have a table with a row selector. I find there is a linear curve of performance to # rows. When there are over 200 rows, the row selector mouse over effect becomes very delayed. I specifically mention this as that effect is purely java script; therefore making no server round trip. All the other components are equally affected; such as ...

81. Problem with Row Selection Component    icefaces.org

82. Row Selector    icefaces.org

83. Hiding rows in a datatable    icefaces.org

86. Need advice for dispalying multiple rows with datatable.    icefaces.org

Hi All, We have to design a conference booking search form which contains nX48 table. n -> indicates the conference rooms and 48 are the time slots(30 mins gap). While booking a conference room user enteres from time and to-time and from and to dates. In our search form, user searches with in the range of dates and times. We give ...

88. row selector complete example    icefaces.org

...

90. line seprated by each row in datatable    icefaces.org

Hi all, I have created jspx file with dataTable component. the data is displaying, but i need to know how to give border for each row in the datatable. Border in the sence i need line seprated each row. i am not getting any line after each row. any body knows about this? Thanks, Vishwanath

92. Row Selection and copy    icefaces.org

Hi, Here my situation: I am trying to capture a row click and display the values in the editable fields. In other words as soon as user clicks on one row of the datatable the values must be copied to the editable fields immediately. My code looks like this ice:dataTable value="#{Cont.kList}" var="row" binding="#{Cont.rowDataTable}" scrollable="true" scrollHeight="300px" styleClass="table" > ice:rowSelector id="selected" multiple="false" ...

93. row selector    icefaces.org

97. How to programatically set a row as selected in datatable?    icefaces.org

Hello All Could anyone tell me how to programatically set a row as selected when user clicks? I saw the example where it says to have a field 'selected' in the data object (eg: "person.selected"). But this is not possible for me because I have a list of objects as the table data source and I am getting this list by ...

99. datatable row removal data mismatch    icefaces.org

OK, this might be a general problem but: I have a datatable bound to a backing bean and the data comes from a list. When I remove an entity from the backing data list (using the bound table.getRowData()), the row is removed but all remaining rows assume off-by-one-data on the inputs. If I remove row #3, row 4 gets the data ...