Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/edit_defaults/login
In directory 
james.mmbase.org:/tmp/cvs-serv2523/portlets-login/src/webapp/WEB-INF/templates/edit_defaults/login

Modified Files:
        login.jsp 
Log Message:
CMSC-830 - *added* some functionality to send the password, but at the same 
time *removed* it from the portlet because it doesn't belong there.


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/edit_defaults/login
See also: http://www.mmbase.org/jira/browse/CMSC-830


Index: login.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/edit_defaults/login/login.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- login.jsp   19 Feb 2008 13:54:53 -0000      1.1
+++ login.jsp   7 Apr 2008 09:49:34 -0000       1.2
@@ -3,9 +3,15 @@
 <div class="portlet-config-canvas">
 <h3><fmt:message key="edit_defaults.title" /></h3>
 
-<form method="POST" name="<portlet:namespace />form" 
action="<cmsc:actionURL><cmsc:param name="action" 
value="edit"/></cmsc:actionURL>" target="_parent">
+<form 
+  method="post" 
+  name="<portlet:namespace />form" 
+  action="<cmsc:actionURL><cmsc:param name="action" 
value="edit"/></cmsc:actionURL>" 
+  target="_parent"
+>
 
 <table class="editcontent">
+   <c:if test="${fn:length(views) gt 0}">
    <tr>
       <td><fmt:message key="edit_defaults.view" />:</td>
       <td>
@@ -13,26 +19,10 @@
             <c:forEach var="v" items="${views}">
                <cmsc:option value="${v.id}" name="${v.title}" />
             </c:forEach>
-         </cmsc:select><br />
-      </td>
-   </tr>
-   <tr>
-      <td><fmt:message key="edit_defaults.maxelements" />:</td>
-      <td>
-         <input type="text" name="userName" value="${user}" />
-         <input type="text" name="passWord" value="${pass}" />
-      </td>
-   </tr>
-   <tr>
-      <td><fmt:message key="edit_defaults.indexname" />:</td>
-      <td><lm:listindexes var="indexes"/>
-         <cmsc:select var="indexName">
-            <c:forEach var="idx" items="${indexes}">
-               <cmsc:option value="${idx}" name="${idx}" />
-            </c:forEach>
          </cmsc:select>
       </td>
    </tr>
+   </c:if>
    <tr>
                <td colspan="2">
                        <input type="submit" value="<fmt:message 
key="edit_defaults.save" />" class="button" />
@@ -40,4 +30,3 @@
        </tr>
 </table>
 </div>
-
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to