continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r424423 - in /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main: resources/xwork.xml webapp/deleteUser.jsp webapp/editUser.jsp webapp/users.jsp
Date Fri, 21 Jul 2006 19:06:36 GMT
Author: carlos
Date: Fri Jul 21 12:06:35 2006
New Revision: 424423

URL: http://svn.apache.org/viewvc?rev=424423&view=rev
Log:
[CONTINUUM-771] Add user management pages
Submitted By: Henry Isidro

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/deleteUser.jsp
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editUser.jsp
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/users.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml?rev=424423&r1=424422&r2=424423&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
Fri Jul 21 12:06:35 2006
@@ -184,5 +184,19 @@
       <result name="success" type="chain">schedules</result>
     </action>
 
+    <action name="users" class="users">
+      <result name="success">users.jsp</result>
+    </action>
+
+    <action name="editUser" class="editUser">
+      <result name="input">editUser.jsp</result>
+      <result name="success" type="chain">users</result>
+    </action>
+
+    <action name="deleteUser" class="deleteUser">
+      <result name="delete">deleteUser.jsp</result>
+      <result name="success" type="chain">users</result>
+    </action>
+
   </package>
 </xwork>

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/deleteUser.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/deleteUser.jsp?rev=424423&r1=424422&r2=424423&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/deleteUser.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/deleteUser.jsp
Fri Jul 21 12:06:35 2006
@@ -3,7 +3,7 @@
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
-        <title><ww:text name="deleteUser.page.title"/></title>
+      <title><ww:text name="deleteUser.page.title"/></title>
     </head>
     <body>
       <div id="axial" class="h3">
@@ -12,15 +12,15 @@
         <div class="warningmessage">
           <p>
             <strong>
-                <ww:text name="deleteUser.confirmation.message">
-                    <ww:param><ww:property value="username"/></ww:param>
-                </ww:text>
+              <ww:text name="deleteUser.confirmation.message">
+                <ww:param><ww:property value="username"/></ww:param>
+              </ww:text>
             </strong>
           </p>
         </div>
         <div class="functnbar3">
           <ww:form action="deleteUser.action" method="post">
-            <ww:hidden name="userId"/>
+            <ww:hidden name="accountId"/>
             <c1:submitcancel value="%{getText('delete')}" cancel="%{getText('cancel')}"/>
           </ww:form>
         </div>

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editUser.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editUser.jsp?rev=424423&r1=424422&r2=424423&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editUser.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editUser.jsp
Fri Jul 21 12:06:35 2006
@@ -3,7 +3,7 @@
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
-        <title><ww:text name="editUser.page.title"/></title>
+      <title><ww:text name="editUser.page.title"/></title>
     </head>
     <body>
       <div id="axial" class="h3">
@@ -13,9 +13,10 @@
           <ww:form action="editUser.action" method="post">
             <table>
               <tbody>
-                <ww:hidden name="userId"/>
+                <ww:hidden name="addMode"/>
+                <ww:hidden name="accountId"/>
                 <ww:textfield label="%{getText('user.username')}" name="username" required="true"/>
-                <ww:textfield label="%{getText('user.password')}" name="password" required="true"/>
+                <ww:password label="%{getText('user.password')}" name="password" required="true"/>
                 <ww:textfield label="%{getText('user.email')}" name="email" required="true"/>
               </tbody>
             </table>

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/users.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/users.jsp?rev=424423&r1=424422&r2=424423&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/users.jsp (original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/users.jsp Fri
Jul 21 12:06:35 2006
@@ -3,7 +3,7 @@
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
-        <title><ww:text name="users.page.title"/></title>
+      <title><ww:text name="users.page.title"/></title>
     </head>
     <body>
       <div id="h3">
@@ -15,19 +15,19 @@
                   showPagination="false"
                   showStatusBar="false"
                   filterable="false">
-         <ec:row>
+          <ec:row>
             <ec:column property="username" title="user.username"/>
             <ec:column property="email" title="user.email"/>
             <ec:column property="actions" title="&nbsp;">
-                <a href="${pageContext.request.contextPath}/editUser!edit.action?id=${pageScope.user.id}"><ww:text
name="edit"/></a>
-                &nbsp;
-                <ww:text name="delete"/>
+              <a href="${pageContext.request.contextPath}/editUser!doEdit.action?accountId=${pageScope.user.accountId}"><ww:text
name="edit"/></a>
+              &nbsp;
+              <a href="${pageContext.request.contextPath}/deleteUser!doDelete.action?accountId=${pageScope.user.accountId}&username=${pageScope.user.username}"><ww:text
name="delete"/></a>
             </ec:column>
           </ec:row>
         </ec:table>
       </div>
       <div class="functnbar3">
-        <ww:form action="addUser!default.action" method="post">
+        <ww:form action="editUser!doAdd.action" method="post">
           <ww:submit value="%{getText('add')}"/>
         </ww:form>
     </div>



Mime
View raw message