I am getting some warning whenever i do any action on page like navigate etc and it doesnt allow the request to be completed . The warning is :
WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=loginform:j_idt32:userName[severity=(ERROR 2), summary=(loginform:j_idt32:userName: Validation Error: Value is required.), detail=(loginform:j_idt32:userName: Validation Error: Value is required.)]
sourceId=loginform:j_idt32:password[severity=(ERROR 2), summary=(loginform:j_idt32:password: Validation Error: Value is required.), detail=(loginform:j_idt32:password: Validation Error: Value is required.)]
[26/03/12 14:32:41:137 EDT] 00000027 renderkit I WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=loginform:j_idt32:userName[severity=(ERROR 2), summary=(loginform:j_idt32:userName: Validation Error: Value is required.), detail=(loginform:j_idt32:userName: Validation Error: Value is required.)]
sourceId=loginform:j_idt32:password[severity=(ERROR 2), summary=(loginform:j_idt32:password: Validation Error: Value is required.), detail=(loginform:j_idt32:password: Validation Error: Value is required.)]
I have 2 fileds on screen which are marked as required true . When i make remove required it works fine .
The action i am trying to do is :
Code: Select all
<h:selectOneMenu value="#{language.localeCode}" onchange = "submit()" style = "padding-top:10"
valueChangeListener="#{language.countryLocaleCodeChanged}" label = "Language: ">
<f:selectItems value="#{language.countriesInMap}" />
</h:selectOneMenu>
Using PF3.2 , Mojarra 2.1.4