Commits

Anonymous committed bd17110

Validation Errors with DWR (AJAX Tutorial)
o fixed signatures
Issue number: WW-1043

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1873573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 836050d

Comments (0)

Files changed (2)

File webapps/ajax/src/webapp/WEB-INF/classes/xwork.xml

             <result name="success">hello.jsp</result>
         </action>
 
+        <action name="helloDefault" class="com.opensymphony.webwork.tutorial.ajax.HelloWorld" method="doDefault">
+            <result name="input">hello-input.jsp</result>
+        </action>
+
         <!-- Ajax Component examples -->
         <action name="AjaxTest" class="com.opensymphony.webwork.tutorial.ajax.AjaxTestAction">
             <result name="success">AjaxResult.jsp</result>

File webapps/ajax/src/webapp/lesson1/index.jsp

 <p>
     <ol>
         <li>
-            <a href="hello!default.action">A simple DIV that refreshes only once</a>
+            <a href="helloDefault.action">A simple DIV that refreshes only once</a>
         </li>
     </ol>
 </p>