You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/08/06 15:27:06 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus entry.xsp feed.xsp
michi 2003/08/06 06:27:06
Modified: src/webapp/lenya/pubs/blog sitemap.xmap
src/webapp/lenya/pubs/blog/config/ac usecase-policies.xml
src/webapp/lenya/pubs/blog/config/menus entry.xsp feed.xsp
Log:
usecase policies fixed
Revision Changes Path
1.2 +3 -1 cocoon-lenya/src/webapp/lenya/pubs/blog/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/sitemap.xmap,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sitemap.xmap 5 Aug 2003 19:50:47 -0000 1.1
+++ sitemap.xmap 6 Aug 2003 13:27:06 -0000 1.2
@@ -83,10 +83,12 @@
<map:pipeline>
<map:match pattern="authoring/menubar/entry.xml">
<map:generate type="serverpages" src="config/menus/entry.xsp"/>
+ <map:transform type="usecasemenu"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="authoring/menubar/feed.xml">
<map:generate type="serverpages" src="config/menus/feed.xsp"/>
+ <map:transform type="usecasemenu"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="live/menubar/*.xml">
1.2 +3 -0 cocoon-lenya/src/webapp/lenya/pubs/blog/config/ac/usecase-policies.xml
Index: usecase-policies.xml
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/config/ac/usecase-policies.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- usecase-policies.xml 5 Aug 2003 23:54:19 -0000 1.1
+++ usecase-policies.xml 6 Aug 2003 13:27:06 -0000 1.2
@@ -7,4 +7,7 @@
<usecase id="edit">
<role id="editor"/>
</usecase>
+ <usecase id="publish">
+ <role id="editor"/>
+ </usecase>
</usecases>
1.2 +3 -2 cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/entry.xsp
Index: entry.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/entry.xsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- entry.xsp 5 Aug 2003 19:50:48 -0000 1.1
+++ entry.xsp 6 Aug 2003 13:27:06 -0000 1.2
@@ -6,6 +6,7 @@
xmlns:xsp-lenya="http://apache.org/cocoon/lenya/xsp/1.0"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
>
<menu>
@@ -38,9 +39,9 @@
<menus>
<menu name="File" label="File">
<block>
- <item href="?lenya.usecase=edit&lenya.step=open">Edit with Forms</item>
+ <item uc:usecase="edit" href="?lenya.step=open">Edit with Forms</item>
<item>Edit with Midas</item>
- <item><xsp:attribute name="href">?lenya.usecase=publish&lenya.step=showscreen&sources=<xsp:expr>source</xsp:expr>&uris=<xsp:expr>uri</xsp:expr></xsp:attribute>Publish</item>
+ <item uc:usecase="publish" uc:step="showscreen"><xsp:attribute name="href">?sources=<xsp:expr>source</xsp:expr>&uris=<xsp:expr>uri</xsp:expr></xsp:attribute>Publish</item>
</block>
<block>
<item><xsp:attribute name="href">?lenya.usecase=logout</xsp:attribute>Logout</item>
1.2 +2 -1 cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/feed.xsp
Index: feed.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/feed.xsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- feed.xsp 5 Aug 2003 19:50:48 -0000 1.1
+++ feed.xsp 6 Aug 2003 13:27:06 -0000 1.2
@@ -6,6 +6,7 @@
xmlns:xsp-lenya="http://apache.org/cocoon/lenya/xsp/1.0"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
>
<menu>
@@ -29,7 +30,7 @@
<menus>
<menu name="File" label="File">
<block>
- <item href="?lenya.usecase=create&lenya.step=showscreen&doctype=entry">Add new Entry</item>
+ <item uc:usecase="create" uc:step="showscreen" href="?doctype=entry">Add new Entry</item>
</block>
<block>
<item><xsp:attribute name="href">?lenya.usecase=logout</xsp:attribute>Logout</item>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org