DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35265>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35265 Summary: Example applications don't work?! Product: Struts Version: Unknown Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P4 Component: Struts-Faces Library AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] Dear all, I downloaded the latest nightly build, but I was unable to successfully deploy and execute the second example application on Tomcat 5.0.28. Deployment causes no errors, but when clicking on any of the 2 links ("Register"/"Login") of the first page, I get the following javascript error: "Error: 'document.forms.menu:_id7.menu:_id7:_idcl' is null or not an object". My guess was that the <h:commandLink> tags for these links (in loggedoff.jsp) should be replaced by <s:commandLink>. I tried fixing that, and it worked, but then I get an inexplicable http 404 error: “Invalid path /layout was requested” when I click on any of the two links. Looking at the source code of both JSP and HTML I noticed that the JSP element <s:form action="/editRegistration"> renders itself as <form id="menu:_id5" name="registrationForm" action="/StrutsFacesExample/layout.do" method="post">. I might be missing out on something here, but it seems to me the action element is (?) wrong: there is no layout.do action mapping anywhere, it’s the path pointing to the main layout jsp with the suffix replaced. I have also tried deploying the example on Tomcat 5.5.7 and JBoss 3.2.5, but the behavior was exactly the same. Can anyone else confirm this? Mario -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]