I'm using Appfuse 1.9.4 Marc
2008/1/10, Matt Raible <[EMAIL PROTECTED]>: > > What version of AppFuse are you using? > On Jan 9, 2008, at 4:45 PM, Marc Siramy wrote: > > No, that doesn't work. I tried both french and english locales with > editPerson action. > Each time that cause the same error (except locale='en' message instead > of locale='fr' in tomcat output). > > Something surely cause Struts to fall finding the Person Detail form but > I unfortunately I can't see what it is. > > Marc > > 2008/1/9, Matt Raible < [EMAIL PROTECTED]>: > > > > It's strange that it doesn't fallback from French to English, but that > > seems to be what's happening. If you login to your application, then append > > ?locale=fr onto the URL - can you successfully view the Person Detail form? > > Matt > > > > On Jan 9, 2008, at 12:35 PM, Marc Siramy wrote: > > > > Hello, > > > > I obtain this error when doing Canoo WebTest (running ant test-canoo > > -Dtestcase=PersonTests ) > > in the appfuse tutorial: > > test-canoo: > > [delete] Deleting: /home/marc/workspace/appfuse/build/test/data/web- > > tests-result.xml > > [echo] Testing with locale 'fr' > > > > EditPerson: > > > > BUILD FAILED > > /home/marc/workspace/appfuse/build.xml:624: The following error occurred > > while executing this line: > > /home/marc/workspace/appfuse/test/web/web- tests.xml:212: Canoo Webtest: > > R_1393. > > Test failed. > > Test step invoke (/home/marc/workspace/appfuse/test/web/web-tests.xml:216: > > ) named "click Edit Person link" failed with message "Step[invoke "click > > Edit Person link" (7/8)]: HTTP error 500, at: invoke" > > > > Total time: 12 seconds > > > > And when I use the http://localhost:8080/appfuse/editPerson.html?id=1 URL > > to test the same action, > > Tomcat give the following output: > > > > javax.servlet.jsp.JspException: No form found under 'personForm' in locale > > 'fr' > > > > at org.apache.struts.taglib.html.JavascriptValidatorTag.renderJavascript > > (JavascriptValidatorTag.java:384) > > at > > org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:349) > > > > at > > org.apache.jsp.WEB_002dINF.pages.personForm_jsp._jspx_meth_html_javascript_0 > > (personForm_jsp.java:608) > > at > > org.apache.jsp.WEB_002dINF.pages.personForm_jsp._jspService(personForm_jsp.java:131) > > at org.apache.jasper.runtime.HttpJspBase.service > > (HttpJspBase.java:97) > > at javax.servlet.http.HttpServlet.service > > (HttpServlet.java:802) > > at > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) > > at org.apache.jasper.servlet.JspServlet.serviceJspFile > > (JspServlet.java:314) > > at org.apache.jasper.servlet.JspServlet.service > > (JspServlet.java:264) > > > > > > But if I test > > http://localhost:8080/appfuse/editUser.html?username=tomcat&from=list url, > > everything is ok. > > > > > > Any ideas please ? > > > > Thanks in advance. > > > > Marc > > > > > > > > > >