You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/08/20 20:57:25 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/config/menus generic.xsp
andreas 2003/08/20 11:57:25
Modified: src/webapp/lenya/pubs/default/config/menus generic.xsp
Log:
introduced uc:* attributes
Revision Changes Path
1.26 +4 -3 cocoon-lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp
Index: generic.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- generic.xsp 24 Jul 2003 17:16:25 -0000 1.25
+++ generic.xsp 20 Aug 2003 18:57:25 -0000 1.26
@@ -7,6 +7,7 @@
xmlns:xsp-lenya="http://apache.org/cocoon/lenya/xsp/1.0"
xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
+ xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
>
<menu>
@@ -40,8 +41,8 @@
<menus>
<menu name="File" label="File">
<block>
- <item><xsp:attribute name="href">?lenya.usecase=create-workflow&lenya.step=showscreen&doctype=simple</xsp:attribute>New Document (simple)</item>
- <item><xsp:attribute name="href">?lenya.usecase=create-workflow&lenya.step=showscreen&doctype=xhtml</xsp:attribute>New Document (xhtml)</item>
+ <item uc:usecase="create-workflow" uc:step="showscreen"><xsp:attribute name="href">?doctype=simple</xsp:attribute>New Document (simple)</item>
+ <item uc:usecase="create-workflow" uc:step="showscreen"><xsp:attribute name="href">?doctype=xhtml</xsp:attribute>New Document (xhtml)</item>
</block>
<block>
<item wf:event="approve" href="?lenya.usecase=transition">Approve</item>
@@ -54,7 +55,7 @@
<menu name="Edit" label="Search">
<block>
- <item wf:event="edit" href="?lenya.usecase=midas&lenya.step=open">Edit with Midas</item>
+ <item uc:usecase="midas" wf:event="edit" href="?lenya.step=open">Edit with Midas</item>
<item wf:event="edit"><xsp:attribute name="href"><xsp-request:get-context-path/>/authoring/xopus2<xsp:expr>xmlSource</xsp:expr>?documentid=<xsp:expr>xmlSource</xsp:expr></xsp:attribute>Edit with Xopus</item>
<item wf:event="edit"><xsp:attribute name="href"><xsp-request:get-context-path/>/bitflux/index.html?url-xml=<xsp:expr>bitflux_prefix+xmlSource+"&url-xslt="+bitflux_prefix+"/stylesheets/simple.xsl&url-xsd="+bitflux_prefix+"/schemas/simple.xsd&url-css="+bitflux_prefix+"/css/simple.css&url-post="+bitflux_prefix+"/save"+xmlSource+"&url-back="+<xsp-request:get-context-path/>+"/authoring"+<input:get-attribute module="page-envelope" as="string" name="document-url"/></xsp:expr></xsp:attribute>Edit with Bitflux</item>
</block>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org