at com.sun.faces.lifecycle.ProcessValidationsPhase


On 6/15/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
Nevermind :-)


2006/6/15, Cosma Colanicchia <[EMAIL PROTECTED]>:
> Are you using the Sun RI or MyFaces? And which version?
>
> Cosma
>
>
> 2006/6/15, Bjørn T Johansen <[EMAIL PROTECTED]>:
> > Yes, there is...
> >
> > Here is the relevant part of my jsp file...:
> >
> > <h:dataTable value="#{orderBean.ordre.product.logDistFramgangDefaults}" var="dist" 
border="1"
> >                              cellspacing="2" 
rendered="#{orderBean.renderDistList}">
> >                     <h:column>
> >                         <f:facet name="header">
> >                             <h:outputText value="Distribusjonsrute"/>
> >                         </f:facet>
> >                         <h:inputText id="dist_description" 
value="#{dist.description}" size="50"
> > maxlength="50" required="true">
> >                             <f:validateLength maximum="30"/>
> >                         </h:inputText>
> >                         <h:message for="dist_description" 
styleClass="errors"/>
> >                     </h:column>
> >
> >
> >
> > If I remove <f:validateLength maximum="30"/>, then it works... It gives a 
validation error, but no more
> > exception...
> >
> > But shouldn't the validateLength code work?
> >
> >
> > BTJ
> >
> > On Thu, 15 Jun 2006 13:57:30 +0200
> > "Cosma Colanicchia" <[EMAIL PROTECTED]> wrote:
> >
> > > Is there a field with a length validator on your page? It seems that
> > > the related error messag has some problems. Try to post your jsp page
> > > source.
> > >
> > >
> > > Cosma
> > >
> > >
> > > 2006/6/15, Bjørn T Johansen <[EMAIL PROTECTED]>:
> > > > Does anyone know what this really mean?
> > > >
> > > > 15.06.2006 13:45:33,024 - can't parse argument number o
> > > > java.lang.IllegalArgumentException: can't parse argument number o
> > > >         at java.text.MessageFormat.makeFormat(MessageFormat.java:1330)
> > > >         at java.text.MessageFormat.applyPattern(MessageFormat.java:450)
> > > >         at java.text.MessageFormat.<init>(MessageFormat.java:350)
> > > >         at 
javax.faces.validator.MessageFactory.substituteParams(MessageFactory.java:78)
> > > >         at 
javax.faces.validator.MessageFactory.getMessage(MessageFactory.java:161)
> > > >         at 
javax.faces.validator.MessageFactory.getMessage(MessageFactory.java:198)
> > > >         at 
javax.faces.validator.LengthValidator.validate(LengthValidator.java:203)
> > > >         at javax.faces.component.UIInput.validateValue(UIInput.java:781)
> > > >         at javax.faces.component.UIInput.validate(UIInput.java:645)
> > > >         at 
javax.faces.component.UIInput.executeValidate(UIInput.java:849)
> > > >         at 
javax.faces.component.UIInput.processValidators(UIInput.java:412)
> > > >         at javax.faces.component.UIData.iterate(UIData.java:977)
> > > >         at 
javax.faces.component.UIData.processValidators(UIData.java:786)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIForm.processValidators(UIForm.java:170)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> > > >         at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
> > > >         at 
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
> > > >         at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> > > >         at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
> > > >         at 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
> > > >         at 
no.havleik.framework.jsf.CustomFacesServlet.service(CustomFacesServlet.java:57)
> > > >         at
> > > > 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at
> > > > 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
> > > > 
org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:285) at
> > > > 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
> > > > 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
> > > > no.havleik.dt.security.AuthFilter.doFilter(AuthFilter.java:83) at
> > > > 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
> > > > 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
> > > > 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at
> > > > 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at
> > > > 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at
> > > > 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at
> > > > 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at
> > > > 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at
> > > > 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at
> > > > 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> > > > at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at
> > > > 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at
> > > > 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at
> > > > java.lang.Thread.run(Thread.java:595)
> > > >
> > > >
> > > > I am getting this exception when submitting a jsp page...
> > > >
> > > >
> > > > Regards,
> > > >
> > > > BTJ
> > > >
> > > > --
> > > > 
-----------------------------------------------------------------------------------------------
> > > > Bjørn T Johansen
> > > >
> > > > [EMAIL PROTECTED]
> > > > 
-----------------------------------------------------------------------------------------------
> > > > Someone wrote:
> > > > "I understand that if you play a Windows CD backwards you hear strange 
Satanic messages"
> > > > To which someone replied:
> > > > "It's even worse than that; play it forwards and it installs Windows"
> > > > 
-----------------------------------------------------------------------------------------------
> > > >
> >
>



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to