HtmlInputText « IceFaces « JSF Q&A





1. Is there a bug with HtmlInputText and setDisabled?    icefaces.org

Recently I tried to disable and HtmlInputText component during the initialization of a backing bean. This had no effect. Adding the disabled attribute to the component on the .xhtml page works, however. So, is there a bug with the basic jsf component and setDisabled, or is it with Icefaces? Or am I missing something? Try this: .xhtml page code . . ...

4. HtmlInputText listener problems    icefaces.org

7. problem custom validation : HtmlInputText NoClassDefFoundError    icefaces.org

Hello, I have a problem using a custom validator. I use this code : Code: public void validate(FacesContext context, UIComponent component, Object value) { String email = (String) value; if (email.indexOf('@') == -1) { ((UIInput) component).setValid(false); HtmlInputText htmlInputText = (HtmlInputText) component; htmlInputText.setStyleClass("ERROR"); } } But when I enter a value in the textbox, I have this error : 17:44:29,031 ERROR [[Persistent ...