Update of /var/cvs/html/mmbase/components/core
In directory james.mmbase.org:/tmp/cvs-serv29282
Modified Files:
modules-actions.jsp modules.jsp
Log Message:
make sure decent xml is produces
See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core
Index: modules-actions.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/modules-actions.jsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- modules-actions.jsp 27 Jun 2008 12:43:55 -0000 1.4
+++ modules-actions.jsp 9 Jul 2008 21:13:59 -0000 1.5
@@ -1,5 +1,6 @@
<%@ page import="org.mmbase.bridge.*,java.util.*"
%><%@ taglib uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm" %>
+<mm:content>
<mm:cloud rank="administrator" loginpage="login.jsp" jspvar="cloud">
<mm:import externid="module" jspvar="module" />
<mm:import externid="property" jspvar="property" />
@@ -71,8 +72,8 @@
<th class="center">Change</th>
</tr>
<tr>
- <td><%= property %></td>
- <td><input type="text" name="value" size="62" value="<%= val %>" /></td>
+ <td>><mm:escape><%= property %></mm:escape></td>
+ <td><input type="text" name="value" size="62" value="<mm:escape><%= val
%></mm:escape>" /></td>
<td class="center">
<input type="hidden" name="cmd" value="MODULE-SETPROPERTY" />
<input type="image" src="<mm:url page="/mmbase/style/images/edit.png"
/>" alt="Change" />
@@ -113,8 +114,8 @@
Node prop=props.getNode(i);
%>
<tr>
- <td><%= prop.getStringValue("item1") %></td>
- <td><%= prop.getStringValue("item2") %></td>
+ <td><mm:escape><%= prop.getStringValue("item1") %></mm:escape></td>
+ <td><mm:escape><%= prop.getStringValue("item2") %></mm:escape></td>
<td class="center">
<mm:link page="modules-actions" referids="module">
<mm:param name="property"><%= prop.getStringValue("item1") %></mm:param>
@@ -158,3 +159,4 @@
</div>
</mm:cloud>
+</mm:content>
Index: modules.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/modules.jsp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- modules.jsp 27 Jun 2008 12:43:55 -0000 1.7
+++ modules.jsp 9 Jul 2008 21:13:59 -0000 1.8
@@ -1,4 +1,5 @@
<%@ taglib uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm" %>
+<mm:content>
<mm:cloud rank="administrator">
<div
class="mm_c c_core b_modules ${requestScope.componentClassName}"
@@ -39,3 +40,4 @@
</div>
</mm:cloud>
+</mm:content>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs