ActionEvent « IceFaces « JSF Q&A





2. Execute an ActionEvent when I click inside an InputText    icefaces.org

Hello, I need to execute an ActionEvent when I click inside an InputText. The ActionEvent is usually executed when I press Enter on InputText. Can you give me a Javascript to be put in the onclick attribute of InputText allowing of execute the ActionEvent of this components. With this, I will be able to write inside he component "Enter a value" ...

3. Rendering changes to an ice:selectManyCheckbox after handling an ActionEvent    icefaces.org

public class TestBean { private String testValue; private Map allPossibleMap; private TestEnum[] selected; public TestBean() { this.allPossibleMap = TestEnum.getValuesAsMap(); } public void clear(ActionEvent e) { System.out.println("Clear method called"); this.testValue = ""; this.selected = new TestEnum[0]; } public String getTestValue() { return testValue; } public void setTestValue(String testValue) { this.testValue = testValue; } public TestEnum[] getSelected() { return selected; } public ...