Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-preferences/src/webapp/WEB-INF/templates/view/community In directory james.mmbase.org:/tmp/cvs-serv4199/portlets-preferences/src/webapp/WEB-INF/templates/view/community
Modified Files: preferences.jsp introduction.jsp Log Message: CMSC-950 - Removed the fmt tags; fixed portlet buttons. Make JSP nicer. See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-preferences/src/webapp/WEB-INF/templates/view/community See also: http://www.mmbase.org/jira/browse/CMSC-950 Index: preferences.jsp =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-preferences/src/webapp/WEB-INF/templates/view/community/preferences.jsp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- preferences.jsp 27 Nov 2008 14:28:48 -0000 1.3 +++ preferences.jsp 27 Nov 2008 18:57:05 -0000 1.4 @@ -1,30 +1,36 @@ -<[EMAIL PROTECTED] file="/WEB-INF/templates/portletglobals.jsp" %> -<fmt:setBundle basename="portlets-prefercences" scope="request" /> +<[EMAIL PROTECTED] file="/WEB-INF/templates/portletglobals.jsp"%> <c:if test="${preferenceFormUrls != null && fn:length(preferenceFormUrls) >0}"> + + <cmsc:portletmode name="edit"> + <[EMAIL PROTECTED] file="/WEB-INF/templates/edit/itemheader.jsp" %> + </cmsc:portletmode> + <div class="heading"> - <h3><fmt:message key="preference.preference.title"/></h3> + <h3><fmt:message key="preference.preference.title" /></h3> </div> - <div class="editor" style="height:500px"> <div class="body"> - <form method="POST" name="<portlet:namespace />form_preference" - action="<cmsc:actionURL/>"> + <form method="POST" name="<portlet:namespace />form_preference" action="<cmsc:actionURL/>"> <input type="hidden" name="action" value="preference"> - <table border="0"> + <table> <tr class="listheader"> <th><fmt:message key="community.preference.module" /></th> <th><fmt:message key="community.preference.key" /></th> <th><fmt:message key="community.preference.value" /></th> </tr> <c:forEach var="url" items="${preferenceFormUrls}"> - <c:import url ="${url}" /> + <c:import url="${url}" /> </c:forEach> <tr> - <td style="width: 150px"><input type="submit" name="submitButton" onclick="javascript:document.forms['<portlet:namespace />form_preference'].submit()" - value="<fmt:message key="view.submit" />"/></td> - <td> - </td> + <td style="width: 150px"><input type="submit" name="submitButton" + onclick="javascript:document.forms['<portlet:namespace />form_preference'].submit()" + value="<fmt:message key="view.submit" />" /></td> + <td></td> </tr> </table> </form> </div> - </c:if> \ No newline at end of file + + <cmsc:portletmode name="edit"> + <[EMAIL PROTECTED] file="/WEB-INF/templates/edit/itemfooter.jsp" %> + </cmsc:portletmode> +</c:if> \ No newline at end of file Index: introduction.jsp =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-preferences/src/webapp/WEB-INF/templates/view/community/introduction.jsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- introduction.jsp 27 Nov 2008 14:28:48 -0000 1.2 +++ introduction.jsp 27 Nov 2008 18:57:05 -0000 1.3 @@ -1,5 +1,4 @@ <[EMAIL PROTECTED] file="/WEB-INF/templates/portletglobals.jsp"%> -<fmt:setBundle basename="portlets-prefercences" scope="request"/> <form method="POST" name="<portlet:namespace />form_preference" action="<cmsc:renderURL/>" target="_self"> <br/> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs