Author: michiel
Date: 2009-06-03 21:40:34 +0200 (Wed, 03 Jun 2009)
New Revision: 35655
Added:
mmbase/trunk/applications/cloudcontext/blocks/index.jspx
Modified:
mmbase/trunk/applications/cloudcontext/blocks/contexts.jspx
mmbase/trunk/applications/cloudcontext/config/components/cloudcontext.xml
Log:
Added a link to the old-style editors, which should still be working
Modified: mmbase/trunk/applications/cloudcontext/blocks/contexts.jspx
===================================================================
--- mmbase/trunk/applications/cloudcontext/blocks/contexts.jspx 2009-06-03
19:30:20 UTC (rev 35654)
+++ mmbase/trunk/applications/cloudcontext/blocks/contexts.jspx 2009-06-03
19:40:34 UTC (rev 35655)
@@ -17,9 +17,16 @@
<mm:import id="nodetype">${query.builder.tableName}</mm:import>
- <mm:import id="fields" externid="user_fields"><mm:write
value="${mm:managerProperty(nodetype, 'security_editor_fields')}"
write="true"><mm:isempty>name</mm:isempty></mm:write></mm:import>
+ <mm:import id="fields" externid="user_fields">
+ <mm:property nodemanager="${nodetype}" name="security_editor_fields">
+ <mm:isempty>
+ <mm:fieldlist nodetype="${nodetype}" type="list">
+ <mm:fieldinfo type="name" /><mm:last inverse="true">,</mm:last>
+ </mm:fieldlist>
+ </mm:isempty>
+ </mm:property>
+ </mm:import>
-
<p class="action">
<mm:maycreate type="$nodetype">
<mm:link
Added: mmbase/trunk/applications/cloudcontext/blocks/index.jspx
===================================================================
--- mmbase/trunk/applications/cloudcontext/blocks/index.jspx
(rev 0)
+++ mmbase/trunk/applications/cloudcontext/blocks/index.jspx 2009-06-03
19:40:34 UTC (rev 35655)
@@ -0,0 +1,18 @@
+<div
+ xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
+ xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
+ class="mm_c c_cloudcontent b_index ${requestScope.className}"
+ id="${requestScope.componentId}">
+
+ <jsp:output omit-xml-declaration="true" />
+
+
+ <h2>Legacy editors</h2>
+ <p>The 'component' based security editors are not yet ready.
+ <mm:link page="/mmbase/security/index.jsp">
+ <a href="${_}">The old style 'legacy' editors should still work</a>
+ </mm:link>
+ </p>
+</div>
+
Modified:
mmbase/trunk/applications/cloudcontext/config/components/cloudcontext.xml
===================================================================
--- mmbase/trunk/applications/cloudcontext/config/components/cloudcontext.xml
2009-06-03 19:30:20 UTC (rev 35654)
+++ mmbase/trunk/applications/cloudcontext/config/components/cloudcontext.xml
2009-06-03 19:40:34 UTC (rev 35655)
@@ -16,6 +16,14 @@
<bundle
name="org.mmbase.security.implementation.cloudcontext.editorresources.texts" />
+ <block name="legacy" mimetype="text/html"
+ classification="mmbase.security:1">
+ <title xml:lang="nl">Security editors</title>
+ <title xml:lang="en">Security editors</title>
+ <description xml:lang="en">Generic security editor</description>
+ <body jsp="index.jspx" />
+ </block>
+
<block name="users" mimetype="text/html"
classification="mmbase.edit:200 mmbase.security:10 unfinished">
<title xml:lang="nl">Gebruikers</title>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs