Primefaces password match unhandled message -


i'm trying primefaces 3.5 password matching work , keep getting error saying "there unhandled facesmessages", , no proper message displayed expected.

i have created simple page , copy'n'pasted code showcase try eliminate other possible causes, problem still happening. here simple page:

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en"      "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui"> <h:head>     <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />     <title>primefaces password match test</title>     <link type="text/css" rel="stylesheet" href="#{facescontext.externalcontext.requestcontextpath}/css/custom.css" /> </h:head> <h:body>     <h:form id="form">          <p:panel header="match mode">               <p:messages id="messages" showdetail="true" autoupdate="true"/>             <h:panelgrid columns="2" id="matchgrid">                                      <h:outputlabel for="pwd1" value="password 1: *" />                   <p:password id="pwd1" value="#{passwordbean.password5}" match="pwd2" label="password 1" required="true"/>                 <h:outputlabel for="pwd2" value="password 2: *" />                   <p:password id="pwd2" value="#{passwordbean.password5}" label="password 2" required="true"/>               </h:panelgrid>              <p:commandbutton id="savebutton" update="matchgrid" value="save" />           </p:panel>       </h:form>  </h:body> </html> 

the bean i'm using exact copy of showcases bean.

this see in console after typing different passwords , clicking save:

[14/05/13 12:41:02:481 est] 000000ee srt           w com.ibm.ws.webcontainer.srt.srtservletresponse setintheader srve8094w: warning: cannot set header. response committed. [14/05/13 12:41:02:633 est] 000000e8 srt           w com.ibm.ws.webcontainer.srt.srtservletresponse setintheader srve8094w: warning: cannot set header. response committed. [14/05/13 12:41:09:371 est] 000000e9 renderrespons w   there unhandled facesmessages, means not every facesmessage had chance rendered. these unhandled facesmessages are:  - password 1 should match password 2. [14/05/13 12:41:09:352 est] 000000e9 systemerr     r 10999369 [webcontainer : 1] info org.apache.bval.jsr303.configurationimpl - ignorexmlconfiguration == true 

instead of updating matchgrid update form. use update=@form


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -