Update of
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
In directory james.mmbase.org:/tmp/cvs-serv29632/editors/community
Modified Files:
preferenceform.jsp preferencesearch.jsp
Log Message:
CMSC-944,Create overview screen for Community Preferences
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
See also: http://www.mmbase.org/jira/browse/CMSC-944
Index: preferenceform.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/preferenceform.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- preferenceform.jsp 18 Jul 2008 04:56:01 -0000 1.5
+++ preferenceform.jsp 28 Jul 2008 06:14:42 -0000 1.6
@@ -20,7 +20,7 @@
</tr>
<tr>
<td></td>
- <td><input type="submit" name="submitButton" onclick="setOffset(0);"
+ <td><input type="submit" name="submitButton"
value="<fmt:message key="community.preference.submit" />"/>
</td>
</tr>
Index: preferencesearch.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/preferencesearch.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- preferencesearch.jsp 18 Jul 2008 04:56:01 -0000 1.6
+++ preferencesearch.jsp 28 Jul 2008 06:14:42 -0000 1.7
@@ -1,33 +1,19 @@
-<[EMAIL PROTECTED] language="java" contentType="text/html;charset=utf-8" %>
-<[EMAIL PROTECTED] file="globals.jsp" %>
-<[EMAIL PROTECTED] import="java.util.Iterator,
- com.finalist.cmsc.mmbase.PropertiesUtil" %>
-<%@ taglib prefix="edit" tagdir="/WEB-INF/tags/edit" %>
-
+<[EMAIL PROTECTED] language="java" contentType="text/html;charset=utf-8"
+%><[EMAIL PROTECTED] file="globals.jsp"
+%><[EMAIL PROTECTED]
import="java.util.Iterator,com.finalist.cmsc.mmbase.PropertiesUtil"
+%><%@ taglib prefix="edit" tagdir="/WEB-INF/tags/edit" %>
<mm:content type="text/html" encoding="UTF-8" expires="0">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html:html xhtml="true">
<cmscedit:head title="community.preference.title">
<c:url var="actionUrl" value="/editors/community/PreferenceAction.do"/>
<c:url var="userActionUrl" value="/editors/community/userAddInitAction.do"/>
- <script src="../repository/search.js" type="text/javascript"></script>
- <script src="../repository/content.js" type="text/javascript"></script>
<script src="../../js/prototype.js" type="text/javascript"></script>
<script type="text/javascript">
- function selectElement(element, title, src) {
- if (window.top.opener != undefined) {
- window.top.opener.selectElement(element, title, src);
- window.top.close();
- }
- }
-
- function showInfo(objectnumber) {
- openPopupWindow('reactioninfo', '500', '500',
'reactioninfo.jsp?objectnumber=' + objectnumber);
- }
function update(number) {
var myAjax = new Ajax.Request(
'${actionUrl}',
- { parameters:"method=modify&id=" + number + "&key=" +
document.getElementById("key_" + number).value + "&value=" +
document.getElementById("value_" + number).value,
+ { parameters:"method=modify&id=" + number + "&key=" + $("key_" +
number).value + "&value=" + $("value_" + number).value,
onComplete: postUpdate
}
);
@@ -42,14 +28,10 @@
url += "&id=" + number + "&offset=" + offset;
document.location = url;
}
-
}
function create() {
- // var url = "${actionUrl}?method=addInit";
- // document.location = url;
document.forms[0].method.value = "addInit";
- document.forms[0].offset.value = 0;
document.forms[0].submit();
}
function postUpdate() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs