JSF 1.1 - How to get the ID attribute of h:selectBooleanCheckbox in backing bean
问题 So, here is the jsf component: <h:selectBooleanCheckbox id="cb#{index}" value="backingBean.value" /> And here is a part of the backing bean java: /** * getValue is a method which checks if a checkbox is selected or not, using the checkbox ID */ public boolean getValue() { //TODO: get the checkbox id String checkboxID = ?? if (getCheckedIDs().contains(checkboxID)) { return true; } return false; } When the page is loading the checkboxes, I want to check this way if the checkbox is selected or