hi
For cancel button which is a <h:commandButton> i have set the attribute immediate=true;
because for this button i am calling a javascript to clear all the text fields in the form.
i also have a <h:selectOneMenu> in my page.
<h:selectOneMenu id="countryCombo" style="width:100%" value="#{regAction.country}" > <f:selectItems id="coutryItems" value="#{regAction.countryList}" /> </h:selectOneMenu>
javax.el.ELException: /pages/Company Registration.xhtml @217,79 value="#{regAction.countryList}": Error reading 'countryList' on type org.javassist.tmp.java.lang.Object_$$_javassist_12
Strange message... obviously nothing to do with rich faces.
Why do you need Javascript to clear all text fields? Try to remove those Javascript calls, maybe there is the cause of your problem.