rowselector 1 « IceFaces « JSF Q&A





1. selectOneMenu value is resseted when access to rowselector    stackoverflow.com

Hi I've this situation and I dont know why it's happening.. I have a selectonemenu like this

<ice:selectOneMenu id="ddlProfesion" value="#{FrmClientes.profesionSeleccionado}" style="width:230px"> 
<f:selectItems value="#{SessionBean1.listaProfesion}"/> 
<f:converter converterId="DefaultSelectItemConverter" /> 
</ice:selectOneMenu> 
the list of items
public ...

2. RowSelector problem - quick sequence of clicks on different rows in datatable    stackoverflow.com

I have posted this question on icefaces forum. Please, if someone had had an idea what can be wrong, let me know. :-( Here I am experiencing a huge problem. I have ...

3. Icefaces rowselector    stackoverflow.com

Could someone give me a nice and clean example of how to use the Icefaces 2.0 rowselector? My plan is to use it as a component, so I can reuse it ...

4. Icefaces 1.82 rowSelector rendered    stackoverflow.com

I'm having some problems with Icefaces 1.82 (we cannot use any later version than this...) and a datatable with a rowselector. I found this thread and it seems that I ...

5. ICEfaces 1.7.2: <ice:rowSelector> and pre-selected row    icefaces.org

There is a much simpler fix, than using an older version of RowSelector.java, which is to set the attribute clickedRow="0", or whichever index you wish to be preselected. Keep in mind that the clickedRow property has always been equal to the index of the currently selected row, when users select a row with their mouse. So it makes sense that, ...

6. Problem with in a     icefaces.org

Hi , I am using tag in one of my datatable columns as follows: In the above code the #{item.file.directory} will check whether the file is a directory or not and return the corresponding Boolean value. But here the problem i am facing is though i got the #{item.item.directory } value as ...

7. Icefaces 1.7.2 and rowSelector    icefaces.org

8. rowSelector when navigating back to a page    icefaces.org

Hi! I got a problem in 1.7.2 when using the rowSelector Tag. I set multiple to false, it looks like this: actually it works fine when entering the page for the first time, but when an entry is selected, i navigate to another page. as soon as i navigate back to that page the item is ...

9. selectOneMenu and rowSelector strange behavior (Solved - workaround)    icefaces.org

Icefaces 1.7.2 living inside a Liferay portlet I have 2 selectOneMenu's. They are for filtering my datatable. The datatable has a rowSelector on it. (Also each column has a commandSortHeader). Everything has a ID. When the page initially loads, the filters default to "All" with a value of -1. When I click on my data table, the row does not highlight. ...





10. ice:rowSelector per table column    icefaces.org

I have some dataTable. It contains two columns. Firs column contain data. Second column contain command Elements:link and buttons. Ice:rowSelector tag is used in first column. I want invoke rowSelector's 'selectionListener' by clicking on first column. And invoke command link and buttons actions whithout selectionListener as usually. But then I click command button selectionListener is invoked too. Is it possible to ...

13. Rowselector selects every row in the datatable (even when one row is clicked exactly once)    icefaces.org

With ICEFaces 1.7.2 SP1 clicking on a row in a datatable having a rowselector, gets all the rows selected. When reverted to 1.7.1 the problem was gone. I tested this within an isolated test project, with a single page, containing a single action/datatable/rowselector. When I run it with 1.7.2 (SP1) or higher, I get the multiple row select problem. When I ...

14. rowSelector example?    icefaces.org

Found the solution. For starters, while looking at the source for the WebMail sample, I noticed that the rowSelector tag was inside the first column of the datatable, not directly inside the datatable. After I made that change, then I started getting null pointer exceptions whenever a row was selected or deselected. I googled around and couldn't find an answer. I ...





19. DataTable rowSelector problem    icefaces.org

20. DataTable rowSelector problem    icefaces.org

I am new to IceFaces development.My problem is getting the dataTable selected row. I have added rowSelector but i don't know to do that. For ex:- My dataTabls is already bind to table which display the name,address of the students. When is select the row i need to get the name and address of the selected student. Can any one help ...

21. Table RowSelector example    icefaces.org

23. RowSelector    icefaces.org

25. Can't get rowSelector to work    icefaces.org

public boolean isSelected() { return selected; } public void setSelected( boolean selected) { this.selected = selected; } public void handleRowSelection( RowSelectorEvent event) { log.debug( "RowSelectorEvent row=" + event.getRow()); if ( event.getPhaseId().equals( PhaseId.APPLY_REQUEST_VALUES)) { event.setPhaseId( PhaseId.UPDATE_MODEL_VALUES); event.queue(); // cf. ICE-1445 } else if ( event.isSelected()) // don't act upon deselect { log.debug( "row is selected"); // _bean.selectRow( _row); // pass the embedded ...

26. rowSelector does not graphically show selected row    icefaces.org

Hi everybody, After spending a few hours trying to figure this out, I'm wondering what I'm doing wrong. I've never seen this behavior before. When I select a row from a dataTable using the ice:rowSelector, it selects the proper row, but the reflection is not selected in the GUI. Even weirder, it acts as if every row is selected. It lightly ...

27. rowSelector    icefaces.org

28. rowSelector and Javascript    icefaces.org

31. dataTable, rowSelector and panelPopop combination issues    icefaces.org

Hi, I'm using a dataTable with a rowSelector. One of the columns has a Order Number commandLink, which when clicked on results in a Modal PanelPopup, to provide additional Order details. When I remove/comment the rowSelector from the dataTable, none of the problems given below show up. But on adding it back, I have these problems in my application: 1. I'm ...

32. "Illegal Syntax for Set Operation" while using EL for rowSelector value    icefaces.org

the expression #{customizedTopic == topicChooser.selectedCustomizedTopic} in the outputText (for debugging) is interpretated correctly, but for the rowSelector tag, I get an "Illegal Syntax for Set Operation" Exception.

33. How to add RowSelector using java code    icefaces.org

Hello, I'm looking for adding RowSelector using java code (icefaces 1.8.1, JSF 1.2). I found a method setSelectionListener(MethodExpression) with netbeans, but in the icefaces api i found setSelectionListener(MethodBinding). Class[] args = new Class[1]; Class eventClass = new RowSelectorEvent(rs, 0, true).getClass(); args[0] = eventClass; MethodExpression rsMethodExpression = elFactory.createMethodExpression(elContext, "#{monitor$AlertsByGroup.rowSelectorListener}", void.class, args); rs.setSelectionListener(rsMethodExpression); or javax.faces.el.MethodBinding methodBinding = facesContext.getApplication().createMethodBinding("#{monitor$AlertsByGroup.rowSelectorListener}", args); rs.setSelectionListener(methodBinding); In the 2 ...

34. RowSelector and editable row problem    icefaces.org

private Boolean[] testData = new Boolean[] { true }; public List getTestData() { return Arrays.asList(testData); } private boolean expanded; public void setExpanded(boolean expanded) { this.expanded = expanded; } public boolean isExpanded() { return expanded; } public void onTestRowSelected(RowSelectorEvent event) { testTempItem = testData[event.getRow()]; } private Boolean testTempItem; public void setTestTempItem(Boolean testTempItem) { this.testTempItem = testTempItem; } public Boolean getTestTempItem() { return ...

35.  select one row    icefaces.org

37. Rowselector.java    icefaces.org

39. dataTable RowSelector emhancedMultiple does not work    icefaces.org

I'm using ICEfaces 1.8.1 binaries Case 1 - using the enhancedMultiple with a selectionListener - the selected rows do not deselected if I clicked on a different unselected row - once the rows are selected, there is no way to deselect them The code snippet - Case 2 - same as Case 1 but I ...

40. datatable sorting rowselector    icefaces.org

41. rowselector + error in showcase    icefaces.org

43. ice:rowSelector works in a weird way    icefaces.org

Hi, Yes i have checked right now the request are sent just for the first 3 rows and not for the others rows like i said it looks like the rowselector exists just for the first 3 rows and not for the others... I really dont know what happens but i think is something regarding the table because it happens the ...

45. Problem with rowSelector    icefaces.org

46. ice:columns and ice:rowSelector    icefaces.org

47. RowSelector dynamically (MethodBinding deprecated)    icefaces.org

Hello, i'd like to create rowSelector dynamically. The setSelectionListener method of the class accepts javax.faces.el.MethodBinding as a parameter. It works, but MethodBinding is deprecated. Docs suggest to use MethodExpression instead of MethodBinding. Is there any workaround to use MethodExpresion or I have to stay with MethodBinding? Is there any risk if I use deprecated classes? Technical parameters: IceFaces: 1.8.2 NetBeans: 6.7.1 ...

49. ice:rowSelector requires two clicks to select a row the first time it is used    icefaces.org

Found out what the problem was. There was another component on the page which was initialised with null as it's value. This components' valueChangeListener was called two times, causing the data table to be refreshed (it was a filter related to the table). So this is related to valueChangeListeners being called more than once when the input components are not properly ...

51. rowselector    icefaces.org

i have a 2 data tables in a page which are A and B. so when a row is selected in table A then B is supposed to display what is happening when i select a row using a rowselector event which again calls the method A to load again . my beans are in session can any one help

52. rowselector    icefaces.org

i have a 2 data tables in a page which are A and B. so when a row is selected in table A then B is supposed to display what is happening when i select a row using a rowselector event which again calls the method A to load again . my beans are in session can any one help

53. panelPopup, dataTable, rowSelector always allows multiple row select?    icefaces.org

Hi all; We have a problem with a composite component we created. It works fine when inserted directly in a page but when we place it inside panelPopup tags the table rowselector does not de-select the previosly selected row on the table, i.e., its acting as if the 'multiple' property is set to true. Here is the row selector code:

54. RowSelector Usage    icefaces.org

55. rowselector multiple and datagroup    icefaces.org

56. RowSelector needs 2 times for works    icefaces.org

57. ice:rowselector and ice:columns    icefaces.org

Hi I'm trying to use ice:rowselector and ice:columns together with no luck. In my bean, I have: List temp_list = new ArrayList (); defined as the list of rows then after setting all the values in temp_list, I use: rowModel = new ListDataModel(temp_list); to store the info in rowModel I created another method used to retrieve the values from ...

58. rowselector and f:param    icefaces.org

59. selectOneMenu value is resseted when acces to rowselector    icefaces.org

Hi I've this situation and I dont know why it's happening.. I have a selectonemenu like this the list of items public List getListaProfesion() { if (listaProfesion == null) { Session session = HibernateUtil.getSessionFactory().getCurrentSession(); session.beginTransaction(); listaProfesion = new ArrayList(); List profesionList = session.getNamedQuery("Profesion.findAll").list(); for (Profesion c : profesionList) { listaProfesion.add(new ...

60. rowSelector seems to not fire    icefaces.org

61. Rowselector and copy data table cell    icefaces.org

64. DataTable with rowSelector    icefaces.org

65. rowSelector question    icefaces.org

Anyone knows what is the purpose of jsListener method in RowSelectController.java in component-showcase, seems it never got called. public void jsListener(ActionEvent event) { Map parameter = FacesContext.getCurrentInstance ().getExternalContext().getRequestParameterMap(); if (parameter.containsKey("ice.event.keycode")) { boolean shiftKey = "true".equals(parameter.get("ice.event.shift")); boolean E = "69".equals(parameter.get("ice.event.keycode")); boolean DEL = "46".equals(parameter.get("ice.event.keycode")); boolean ESC = "27".equals(parameter.get("ice.event.keycode")); if (shiftKey && E) { editRecords(true); } else if (ESC) { editRecords(false); }else if ...

66. Newbie rowSelector question    icefaces.org

67. rowSelector does not invoke the method in Bean    icefaces.org

I have been trying to solve this problem for an entire day now. Please some one tell me, where I have done the mistake? I have added a cmd button to fill the data table. Then What I expected is when a row is selected, to print something inside the server. But It doesnt work as I expect, Please have a ...

68. [SOLVED] rowSelector and inputText.. need to know what row was clicked    icefaces.org

Hello! I have a datatable that contains a few inputText fields. When the values change in the inputText I need to perform some other calculations but in order to figure out exactly what I need to do I also need to know the row that was clicked on. If I leave toggleOnClick set to true in the rowSelector I am unable ...

69. ice:rowSelector question    icefaces.org

Hi all, let me explain my problem: this is my xhtml file: Code: Also an entity with test_id as String and selected as boolean TestBean: public class TestBean implements Serializable { private static ...

72. datatable+rowselector & forward page    icefaces.org

74. rowClasses attribute in dataTable is stronger than mouseOverClass in rowSelector    icefaces.org

Given a table which colors even and odd rows differently using CSS style classes, e.g.: Now, if adding a (default) row selector like: within a column of the dataTable above, I would expect the rows to be highlighted when the mouse hovers over it (like in the the components showcase example). However, what ...

75. Problems editing a dataTable when using rowSelector    icefaces.org

Hi, We have an editable dataTable in out project. A user can click an "edit" button to make the row editable. The problem is that the rowSelector is always calling the listener to invoke the "select" method on the variable of the table. The result is that whenever the user tries to edit one of the input fields in the row, ...

77. dataTable rowSelector panelPopup    icefaces.org

Maybe this is a newbie problem. I am trying to open a popup displaying the details from the dataTable, in fact the popup opens ok, but the problem is when I try to close it. I have a "showDetails" property that is initially false and it is set to true when the user selects a row (using the selectionListener function). The ...

78. rowSelector and validation    icefaces.org

79. rowselector datable delete    icefaces.org

80. rowSelector    icefaces.org

Can anyone point me to some documentation or even an example of how to properly implement row selection in a dataTable. I am still pretty new to ICEfaces and web apps but I have everything working, I just can't seem to find any great information on how to do this. Any help would be greatly appreciated. Thanks again, Chris

81. rowSelector with rendered attribute    icefaces.org

Hi, That's a good idea, but a rendered attribute would still turn the RowSelector on or off for the whole DataTable. I think what you might be thinking off if a new feature, like a selectable attribute, which could bind to a row-level bean boolean property. You could set the bean boolean property to false if you did not want that ...

82. ice:rowSelector, selectedClass has no effect???    icefaces.org

Hi, i'm using a rowSelector in a datatable and create 2 css classes as shown in the showcase example .tableRowSelected{ background-color: black; } .tableRowMouseOver{ background-color: blue; cursor: pointer; } When the mouse is over it works. But when i clik the current row is well set as selected but the background color doesnt change... I ...

84. RowSelector stuff    icefaces.org

85.  manual row selection    icefaces.org

The new IceFaces 1.6 aims to allow for manual row selection on tables (from the release notes: "ice:rowSelector can be configured for manual row selection mode"). I din't find where the documentation explains its use, so I went my own way, but unsuccessfully. has no binding option, so I suposed that one have to bind an and ask its ...

87. rowSelector issues    icefaces.org

91. facelets break rowSelector    icefaces.org

Hi, I experience the following problems after migration from IceFaces 1.5.3 to 1.6.1. The environment is myfaces 1.1.3, jboss 4.0.5 The rowSelector does not work anymore. It do not fire RowSelectionEvents. When I comment the facelets specific code. The rowSelector starts working correctly. The facelets implementation is the one comming with IceFaces. I have attached the web.xml, faces-config.xml and the jspx's. ...

92. rowselector doesn't keep row painted    icefaces.org

94. Using datatable with JdbcRowSet AND RowSelector    icefaces.org

Hi, actually I'm not aware of the options of the JdbcRowSet interface. When you select a table row with the row selector component it will try to retrieve the current row's value from your dataModel. Since your values are stored in a database you will have to make sure that the result set won't get closed after initially retrieving the data. ...

95. RowSelector    icefaces.org

96. RowSelector and InputText doubt    icefaces.org

97. Problems with dataTable and rowSelector    icefaces.org

I have a problem with the rowSelector component. When the field value has the default value the dataTable component works fine, it shows my list of objects. However, when the field value of the rowSelect has the apropriate value nothing works in the dataTable component. Any exception is thow when the problem happen. A javascript alert is displayed when the problem ...

98. rowselector issue    icefaces.org

100. rowSelector and rendered-flag    icefaces.org