struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject cvs commit: jakarta-struts/web/example Registration.jsp mainMenu.jsp logon.jsp changePassword.jsp
Date Sun, 21 Dec 2003 22:46:09 GMT
husted      2003/12/21 14:46:09

  Modified:    web/example Registration.jsp mainMenu.jsp logon.jsp
                        changePassword.jsp
  Log:
  Use action form of html:link
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-struts/web/example/Registration.jsp
  
  Index: Registration.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/example/Registration.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Registration.jsp	25 Oct 2003 01:37:11 -0000	1.1
  +++ Registration.jsp	21 Dec 2003 22:46:09 -0000	1.2
  @@ -24,7 +24,7 @@
   
   <html:errors/>
   
  -<html:form action="/saveRegistration"
  +<html:form action="/saveRegistration" focus="username"
            onsubmit="return validateRegistrationForm(this);">
   <html:hidden property="action"/>
   <table border="0" width="100%">
  @@ -168,7 +168,7 @@
   
   </table>
   
  -<html:link page="/editSubscription.do?action=Create" paramId="username"
  +<html:link action="/editSubscription?action=Create" paramId="username"
    paramName="RegistrationForm" paramProperty="username">
     <bean:message key="registration.addSubscription"/>
   </html:link>
  
  
  
  1.15      +1 -1      jakarta-struts/web/example/mainMenu.jsp
  
  Index: mainMenu.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/example/mainMenu.jsp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mainMenu.jsp	30 Nov 2001 02:12:00 -0000	1.14
  +++ mainMenu.jsp	21 Dec 2003 22:46:09 -0000	1.15
  @@ -15,7 +15,7 @@
   <h3><bean:message key="mainMenu.heading"/>
   <jsp:getProperty name="user" property="username"/></h3>
   <ul>
  -<li><html:link page="/editRegistration.do?action=Edit"><bean:message key="mainMenu.registration"/></html:link></li>
  +<li><html:link action="/editRegistration?action=Edit"><bean:message key="mainMenu.registration"/></html:link></li>
   <li><html:link forward="logoff"><bean:message key="mainMenu.logoff"/></html:link></li>
   </ul>
   
  
  
  
  1.23      +1 -1      jakarta-struts/web/example/logon.jsp
  
  Index: logon.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/example/logon.jsp,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- logon.jsp	4 Nov 2002 06:27:59 -0000	1.22
  +++ logon.jsp	21 Dec 2003 22:46:09 -0000	1.23
  @@ -11,7 +11,7 @@
   
   <html:errors/>
   
  -<html:form action="/logon" focus="username"
  +<html:form action="/submitLogon" focus="username"
            onsubmit="return validateLogonForm(this);">
   <table border="0" width="100%">
   
  
  
  
  1.2       +1 -1      jakarta-struts/web/example/changePassword.jsp
  
  Index: changePassword.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/example/changePassword.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changePassword.jsp	31 Dec 2001 01:14:36 -0000	1.1
  +++ changePassword.jsp	21 Dec 2003 22:46:09 -0000	1.2
  @@ -10,7 +10,7 @@
   <body bgcolor="white">
   
   <bean:message key="change.message"/>
  -<html:link page="/logon.jsp">
  +<html:link action="/logon">
     <bean:message key="change.try"/>
   </html:link>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message