portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets role-permission-form.vm user-role-form.vm permission-browser.vm permission-form.vm role-browser.vm role-form.vm user-browser.vm user-form.vm
Date Fri, 06 Jul 2001 08:39:03 GMT
taylor      01/07/06 01:39:02

  Modified:    webapp/WEB-INF/templates/vm/portlets permission-browser.vm
                        permission-form.vm role-browser.vm role-form.vm
                        user-browser.vm user-form.vm
  Added:       webapp/WEB-INF/templates/vm/portlets role-permission-form.vm
                        user-role-form.vm
  Log:
  - wrote two .vm portlet security forms for user/role security and role/permission security
  - updated other forms to reference the new forms
  
  Revision  Changes    Path
  1.2       +0 -0      jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/permission-browser.vm
  
  Index: permission-browser.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/permission-browser.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- permission-browser.vm	2001/07/02 08:01:56	1.1
  +++ permission-browser.vm	2001/07/06 08:38:44	1.2
  @@ -1,7 +1,7 @@
   #**
   
   @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  -@version $Id: permission-browser.vm,v 1.1 2001/07/02 08:01:56 taylor Exp $
  +@version $Id: permission-browser.vm,v 1.2 2001/07/06 08:38:44 taylor Exp $
   
   *#
   
  
  
  
  1.2       +0 -0      jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/permission-form.vm
  
  Index: permission-form.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/permission-form.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- permission-form.vm	2001/07/02 08:01:56	1.1
  +++ permission-form.vm	2001/07/06 08:38:45	1.2
  @@ -3,7 +3,7 @@
   Display the details of a permission.
   
   @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  -@version $Id: permission-form.vm,v 1.1 2001/07/02 08:01:56 taylor Exp $
  +@version $Id: permission-form.vm,v 1.2 2001/07/06 08:38:45 taylor Exp $
   
   *#
   <form method="post" action="$jlink.setPanel("Permission Browser").setAction("portlets.security.PermissionUpdateAction")">
  
  
  
  1.3       +1 -1      jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/role-browser.vm
  
  Index: role-browser.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/role-browser.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- role-browser.vm	2001/07/02 08:02:27	1.2
  +++ role-browser.vm	2001/07/06 08:38:48	1.3
  @@ -1,7 +1,7 @@
   #**
   
   @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  -@version $Id: role-browser.vm,v 1.2 2001/07/02 08:02:27 taylor Exp $
  +@version $Id: role-browser.vm,v 1.3 2001/07/06 08:38:48 taylor Exp $
   
   *#
   
  @@ -22,7 +22,7 @@
           <tr>
             #entryCell ($role.Name)
             <td>
  -              <a href="$jlink.setPanel("Role").addPathInfo("entityid",$role.Name)">Permissions</a>
&nbsp;
  +              <a href="$jlink.setPanel("Role Permissions").addPathInfo("entityid",$role.Name)">Permissions</a>
                 <a href="$jlink.setPanel("Role").addPathInfo("entityid",$role.Name).addQueryData("mode","delete")">Remove</a>
             </td>
           </tr>
  
  
  
  1.3       +0 -0      jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/role-form.vm
  
  Index: role-form.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/role-form.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- role-form.vm	2001/07/02 08:02:28	1.2
  +++ role-form.vm	2001/07/06 08:38:49	1.3
  @@ -3,7 +3,7 @@
   Display the details of a role.
   
   @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  -@version $Id: role-form.vm,v 1.2 2001/07/02 08:02:28 taylor Exp $
  +@version $Id: role-form.vm,v 1.3 2001/07/06 08:38:49 taylor Exp $
   
   *#
   <form method="post" action="$jlink.setPanel("Security Role Browser").setAction("portlets.security.RoleUpdateAction")">
  
  
  
  1.3       +1 -1      jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/user-browser.vm
  
  Index: user-browser.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/user-browser.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- user-browser.vm	2001/07/02 08:02:29	1.2
  +++ user-browser.vm	2001/07/06 08:38:50	1.3
  @@ -1,7 +1,7 @@
   #**
   
   @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  -@version $Id: user-browser.vm,v 1.2 2001/07/02 08:02:29 taylor Exp $
  +@version $Id: user-browser.vm,v 1.3 2001/07/06 08:38:50 taylor Exp $
   
   *#
   
  @@ -27,7 +27,7 @@
             #entryCell ("<a href=mailto:$!user.Email>$!user.Email</a>")
             <td>
                 <a href="$jlink.setPanel("User").addPathInfo("entityid",$user.UserName).addQueryData("mode","update")">Edit</a>
&nbsp;
  -              <a href="$jlink.setPanel("User").addPathInfo("entityid",$user.UserName).addQueryData("mode","user-role")">Roles</a>
&nbsp;
  +              <a href="$jlink.setPanel("User Roles").addPathInfo("entityid",$user.UserName)">Roles</a>
                 <a href="$jlink.setPanel("User").addPathInfo("entityid",$user.UserName).addQueryData("mode","delete")">Remove</a>
             </td>
           </tr>
  
  
  
  1.3       +0 -0      jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/user-form.vm
  
  Index: user-form.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/user-form.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- user-form.vm	2001/07/02 08:02:29	1.2
  +++ user-form.vm	2001/07/06 08:38:51	1.3
  @@ -3,7 +3,7 @@
   Display the details of a user.
   
   @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  -@version $Id: user-form.vm,v 1.2 2001/07/02 08:02:29 taylor Exp $
  +@version $Id: user-form.vm,v 1.3 2001/07/06 08:38:51 taylor Exp $
   *#
   
   <form method="post" action="$jlink.setPanel("User Browser").setAction("portlets.security.UserUpdateAction")">
  
  
  
  1.1                  jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/role-permission-form.vm
  
  Index: role-permission-form.vm
  ===================================================================
  #**
  
  @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  @version $Id: role-permission-form.vm,v 1.1 2001/07/06 08:38:49 taylor Exp $
  
  *#
  
  <h3>Permissions for Role: $role.Name<h3>
  #set ( $headings = ["Permission Name", "Assign"] )
  
  <form method="post" action="$jlink.setPanel("Role Permissions").setAction("portlets.security.RolePermissionUpdateAction")">
  
  <table>
  
    <tr>
      <td>
        <table border="true" cellspacing="1" cellpadding="3">
          <tr>
            #foreach ($heading in $headings)
            #headerCell ($heading)
            #end
          </tr>
  
          #foreach ($permission in $permissions)
          <tr>
            #entryCell ($permission.Name)
            #formCheckBox ($permission.Name $selected.elementAt($velocityCount).booleanValue())
          </tr>
          #end
        </table>
      </td>
    </tr>
    <tr>
      <td>
         <input type="submit" name="eventSubmit_doUpdate" value="Update"/>
      <td>
        <td>
           $!msg         
        </td>
    </tr>
  </table>
  <input type="hidden" name="entityid" value="$!role.Name"/>
  </form>
  
  
  
  1.1                  jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/user-role-form.vm
  
  Index: user-role-form.vm
  ===================================================================
  #**
  
  @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  @version $Id: user-role-form.vm,v 1.1 2001/07/06 08:38:52 taylor Exp $
  
  *#
  
  <h3>Roles for $user.FirstName $user.LastName<h3>
  #set ( $headings = ["Role Name", "Assign"] )
  
  <form method="post" action="$jlink.setPanel("User Roles").setAction("portlets.security.UserRoleUpdateAction")">
  
  <table>
  
    <tr>
      <td>
        <table border="true" cellspacing="1" cellpadding="3">
          <tr>
            #foreach ($heading in $headings)
            #headerCell ($heading)
            #end
          </tr>
  
          #foreach ($role in $roles)
          <tr>
            #entryCell ($role.Name)
            #formCheckBox ($role.Name $selected.elementAt($velocityCount).booleanValue())
          </tr>
          #end
        </table>
      </td>
    </tr>
    <tr>
      <td>
         <input type="submit" name="eventSubmit_doUpdate" value="Update"/>
      <td>
        <td>
           $!msg         
        </td>
    </tr>
  </table>
  <input type="hidden" name="entityid" value="$!user.UserName"/>
  </form>
  
  
  

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


Mime
View raw message