selectBooleanCheckbox « IceFaces « JSF Q&A





1. selectBooleanCheckbox in icefaces    stackoverflow.com

<ice:column style="width: 30px;">
                    <f:facet name="header">
        ...

3. selectbooleanCheckbox    icefaces.org

4. ice:selectBooleanCheckbox + id problem    icefaces.org

Guys, I am using selectBooleanCheckbox in my web page, as below I am not getting the correct value of the check box, it is always false. Irrespective of whether it is checked, the value of check box in VO is false, but if i remove id from the code like this then ...

5. can valueChangeListener force the selectBooleanCheckbox to redraw itself ?    icefaces.org

In my selectBooleanCheckbox's valueChangeListener, several conditions are checked when the checkbox turns to "checked" status. When one of these conditions fails, I set the checkbox component value back to false but the page still shows it as "checked". The debug shows the component does have its value to be false but it looks like the component is not re-drawn until next ...





12. selectBooleanCheckbox and f:attribute problem    icefaces.org

Hi there, I'm having trouble setting and retrieving an attribute and wondered if anyone could help. In my code I have the following lines: The problem I have is that the attribute value is never set to anything. The listener code is as follows (its not fully written yet, i just wanted ...

16. selectBooleanCheckbox error under 1.8.0    icefaces.org

I have a page that contains an 'editForm' with a number of fields, one of which is a checkbox. All of the fields in my 'editForm' are populated when a user selects an entity from a partial-submit selectOneMenu under a 'pickForm' on that page. All properties on both forms are value-bound to the same backing bean. Under 1.8.0, the state of ...





17. Ice:Tree with ice:selectBooleanCheckbox - Checkbox not refreshed?    icefaces.org

Hi I am creating a dynamic tree with checkbox on each node. This tree is created dynamically when a value from the list is selected. The problem is when the tree is displayed, the checkboxes that should be displayed as checked are unchecked. When I click refresh, it displays the checked boxes. Even if I hardcode the value of selectBooleanCheckbox as ...

18. Select selectBooleanCheckbox in header column of datatable to select-all/deselect-all checkboxes    icefaces.org

I have a column in the datatable that contains a selectBooleanCheckbox. I have also defined a header for this column that conatins one selectBooleanCheckbox. What I need is that when the user click the checkbox in the header all the selectBooleanCheckbox's in each row (under this column) to be selected/de-selected (toggle operation). This would be similar to what we see in ...

19. Help needed in ice:selectBooleanCheckbox    icefaces.org

I use ice:selectBooleanCheckbox inside the data Table, and and when the user click the check box i need to some operation on the basis of if it is clicked. But the problem is when i clicked the checkbox, in the event the value(event.getNewValue is coming as true) but the VO value it is coming as false, it is not all changed. ...

21. ice:tree with selectBooleanCheckbox    icefaces.org

I am trying to implement tree with checkboxes for every node. ice:selectBooleanCheckbox valueChangeListener="#{treeBean.checkChange}" value="#{item.userObject.selected}" partialSubmit="true"> (I have problem with posting the source) The problem is that when I click the checkbox and the setter method binded to checkbox value is called it recieves constant 'false' value. Checlbox outside of tree does works as reuqired. Placing checkbox into icon facet doesn't help. ...

22. selectBooleanCheckbox styling    icefaces.org

24. value of selectBooleanCheckbox not taken from backing bean    icefaces.org

Hi I try to explain my problem: I have a tree that use for navigation in my web site; in this tree there are many types of node: admin, province, city, office, responsible (that is one of the manager of the office) ..etc When I click on a treenode X, the info about X are displayed. When I select a office ...

27. Problem with selectBooleanCheckBox (value doesn't change)    icefaces.org

Hello, I've got a problem with the selectBooleanCheckBox. I have a list of objects with name and a boolean value. The list is displayed by a dataTable (the boolean value is shown by the selectBooleanCheckBox, the name by a outputText). Displaying this works without problems. When I later sort the list, the displayed names get into the right order but the ...

31. ice:selectBooleanCheckbox state not updated    icefaces.org

You can use the following HtmlSelectBooleanCheckbox chk = new HtmlSelectBooleanCheckbox(); public HtmlSelectBooleanCheckbox getChk() { return chk; } public void setChk(HtmlSelectBooleanCheckbox chk) { this.chk = chk; } public void check_checkbox() { if (chk.isSelected()) { System.out.println(chk.isSelected()); } } I think it work because I use it.

35. ice:tree with selectBooleanCheckbox    icefaces.org

I am trying to implement tree with checkboxes for every node. if the parent node selected , simultaneous automatic selecte child nodes . But when I select a node which is close (setExpanded(false) ), then found all child nodes got setting. It works well. if this node is expanded, then all child node untouched. I try to use valueChangeListener to update ...

36. issue in selectBooleanCheckbox    icefaces.org

37. DataTable with selectBooleanCheckbox and aplication scoped data    icefaces.org

Hi, I have a data table with a list of objects that are managed in application scope. Adding a "Selected" property to the item object is not relevant, since it will apply to all sessions reading the item. Any idea how i can pass the item id as parameter to the sessionBean??? This code part shows how I would like to ...

38. strange behavior when using ice:selectBooleanCheckbox element in DataTable    icefaces.org

Hello, all! My problem is: 1)i use dataTable component and i attached list for showing some data the first column in dataTable is '' and it attached to bool field "selected" in backend 2) there is functionality on my page for "select all checkboxes" in dataTable; i create method called "selectAll()" on backend that realizing such functionality. 3) ...

39. Using rowSelector and selectBooleanCheckbox in same dataTable    icefaces.org

I have a dataTable where the first column is a selectBooleanCheckbox. After the checkbox(es) are checked, I can then use a commandButton to call some method in the backing bean. On that same dataTable, I also have a rowSelector. The problem is that when I select a checkbox, the selectionListener in the rowSelector will fire. Basically, I need a way to ...

40. ice:tree with selectBooleanCheckbox    icefaces.org

I am trying to implement tree with checkboxes for every node. It can detect chechbox status when click this checkbox. But it does work when i try to set its select as "true" or "false" instead of 'click'. What I want to do is when select a node with checkbox, then force to select all child nodes. But t does not ...

42. selectBooleanCheckbox whitin datatable with dataPaginator    icefaces.org

Hi! I'm using a checkbox for each row in a datable. It works fine but, how can i avoid loosing the selected rows when i forward to next pages? I've been trying with a session-scoped bean but when I go back to the previous pages, every rows are unselected. Thanks a lot!

43. Issues with selectBooleanCheckbox refreshing    icefaces.org

I currently have a List object inside of a bean that is used to represent the value and state of several checkboxes. I modify this List from within the bean in several locations and the changes are immediately reflected on the page itself with no problem. The issue I am having is that in one specific situation from within a valueChangeListener ...

44. SelectBooleanCheckbox with valueChangeListener restoring old value problem    icefaces.org

Hello I have strange problem with this component. It is for deactivate some tree nodes: Where tr.selectedNodeObject.active is boolean variable with standard setter/getter changeActive method: /** * Activity change, show confirmation dialog only for nodes with children * @param ve */ public void changeActive( ValueChangeEvent ve ) { if ( ve != null && (Boolean)ve.getOldValue() ...

45. MOVED: selectBooleanCheckbox Issue    icefaces.org

Hello, I have application, the UI part of the application has designed by the ICEFaces framework. The problem is , I have pages on that lot of records will be displayed on the UI by rendering the values from table. I have a selectBooleanCheck box in the UI part which is used to select the all the records to delete it. ...

46. need help!!! selectBooleanCheckbox    icefaces.org

47. Check/Uncheck "ice:selectbooleancheckbox" from backing bean    icefaces.org

Hi I'm beginner in icefaces. I want to allow only one of a group of "ice:selectbooleancheckbox" is selected at the same time. To achieve this I'd like to uncheck all checkBoxes except except wich is selected when one checkBox is selected. I've tried to do this adding java code to "valueChangeListener" event. This is my checkBox: And ...

49. selectBooleanCheckBox doesn't convert?    icefaces.org

Hi, I'm currently implementing a new feature for my app. For this I need some checkboxes. Those checkboxes represent flags of an entity bean. In this entity true is represented by "-1" and false by "0" (don't ask why, I don't know). I wrote a custom converter which does this conversion from "0", "-1" to "true", "false" and reverse. But it ...

50. Cannot uncheck selectBooleanCheckbox under Icefaces 1.7    icefaces.org

Hi, I have a standard form with some inputText, some caledars, and a selectBooleanCheckbox. I want to clear the checkbox, and clear the fields after some action is performed. I can clear the all input text, but I cannot uncheck the boolean checkbox. I am using icefaces 1.7.0, I have tried the same exact project with icefaces 1.6.1 and it does ...

52. datatable selectbooleancheckbox listener problem    icefaces.org

I have a tab in a tabset that contains a datatable with selectbooleancheckbox as the 1st column. The checkbox has a listener in the backbean. when checking the box the listener is called and checkcount incremented. When unchecking the checkbox the listener is not called and as a result the counter value become invalid. Any Idea what may cause this problem? ...

53. ice:selectBooleanCheckbox problem    icefaces.org

55. ice:selectbooleanCheckBox help    icefaces.org