Jon wrote:
> you need to supply the string resource entry > "form.email.TypeValidator". the string is being loaded > because the form did not validate.
Where is this documented?
Gili
SourceForge.net wrote:
Bugs item #1187753, was opened at 2005-04-21 16:42
Message generated for change (Comment added) made by jonathanlocke
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1187753&group_id=119783
Category: core Group: 1.0.0-rc3 Status: Closed Resolution: Works For Me
Priority: 5 Submitted By: Gili Tzabari (cowwoc)
Assigned to: Jonathan Locke (jonathanlocke)
Summary: Error when throwing newConversionException()
Initial Comment: When newConversionException() is thrown from within a AbstractConverter.convert() it results in this exception:
wicket.WicketRuntimeException: Method public abstract void wicket.markup.html.form.IFormSubmitListener.onFormSubmitted() of interface IFormSubmitListener threw an exception at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.java:297) at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.java:322) at wicket.protocol.http.WebRequestCycle.callComponentListener(WebRequestCycle.java:235) at wicket.protocol.http.WebRequestCycle.parseRequest(WebRequestCycle.java:118) at wicket.RequestCycle.request(RequestCycle.java:361) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:165) at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) 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:825) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526) 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) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.java:288) ... 22 more Caused by: java.util.MissingResourceException: Unable to find resource: form.email.TypeValidator at wicket.Localizer.getString(Localizer.java:147) at wicket.Localizer.getString(Localizer.java:88) at wicket.markup.html.form.validation.AbstractValidator.error(AbstractValidator.java:90) at wicket.markup.html.form.validation.AbstractValidator.error(AbstractValidator.java:117) at wicket.markup.html.form.validation.TypeValidator.onValidate(TypeValidator.java:107) at wicket.markup.html.form.validation.StringValidator.onValidate(StringValidator.java:33) at wicket.markup.html.form.validation.AbstractValidator.validate(AbstractValidator.java:150) at wicket.markup.html.form.FormComponent$ValidatorList.validate(FormComponent.java:153) at wicket.markup.html.form.FormComponent.validate(FormComponent.java:546) at wicket.markup.html.form.Form$DefaultFormValidationStrategy$1.formComponent(Form.java:105) at wicket.markup.html.form.Form$5.component(Form.java:410) at wicket.MarkupContainer.visitChildren(MarkupContainer.java:471) at wicket.markup.html.form.Form.visitFormComponents(Form.java:406) at wicket.markup.html.form.Form$DefaultFormValidationStrategy.validate(Form.java:100) at wicket.markup.html.form.Form.validate(Form.java:374) at wicket.markup.html.form.Form.onValidate(Form.java:341) at wicket.markup.html.form.Form.onFormSubmitted(Form.java:218) ... 27 more
----------------------------------------------------------------------
Comment By: Jonathan Locke (jonathanlocke)
Date: 2005-04-21 17:08
Message:
Logged In: YES user_id=486414
I don't think this is a bug.
you need to supply the string resource entry "form.email.TypeValidator". the string is being loaded because the form did not validate.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1187753&group_id=119783
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
