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/10/17 00:10:53 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/config/workflow workflow.xml
andreas 2003/10/16 15:10:53
Modified: src/webapp/lenya/pubs/default/config/menus generic.xsp
src/webapp/lenya/pubs/default/config/workflow workflow.xml
Log:
renamed workflow variable to is_live
added deactivate menu item
Revision Changes Path
1.39 +1 -0 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.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- generic.xsp 16 Oct 2003 22:00:13 -0000 1.38
+++ generic.xsp 16 Oct 2003 22:10:53 -0000 1.39
@@ -49,6 +49,7 @@
<item uc:usecase="reject" uc:step="showscreen" wf:event="reject" href="?">Reject</item>
<item uc:usecase="publish" uc:step="showscreen" wf:event="publish">
<xsp:attribute name="href">?<xsp:expr>urisParameter</xsp:expr>&<xsp:expr>sourcesParameter</xsp:expr>&task-id=publish</xsp:attribute>Publish</item>
+ <item uc:usecase="deactivate" uc:step="showscreen" wf:event="deactivate" href="?">Deactivate</item>
</block>
<block>
<item uc:usecase="logout" uc:step="showscreen" href="?">Logout</item>
1.5 +3 -3 cocoon-lenya/src/webapp/lenya/pubs/default/config/workflow/workflow.xml
Index: workflow.xml
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/default/config/workflow/workflow.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- workflow.xml 12 Jun 2003 12:22:23 -0000 1.4
+++ workflow.xml 16 Oct 2003 22:10:53 -0000 1.5
@@ -17,7 +17,7 @@
<state id="review"/>
<state id="live"/>
- <variable name="is-live" value="false"/>
+ <variable name="is_live" value="false"/>
<transition source="redaktion" destination="review">
<event id="submit"/>
@@ -27,7 +27,7 @@
<transition source="review" destination="live">
<event id="publish"/>
<condition class="org.apache.lenya.cms.workflow.RoleCondition">reviewer</condition>
- <assign variable="is-live" value="true"/>
+ <assign variable="is_live" value="true"/>
<action id="publish"/>
</transition>
@@ -51,7 +51,7 @@
<transition source="live" destination="redaktion">
<event id="deactivate"/>
<condition class="org.apache.lenya.cms.workflow.RoleCondition">reviewer</condition>
- <assign variable="is-live" value="false"/>
+ <assign variable="is_live" value="false"/>
</transition>
</workflow>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org