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/10/02 06:22:16 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor cmfs.xsl
michi 2003/10/01 21:22:16
Modified: src/webapp/lenya/pubs/oscom/config/menus matrix.xsp
src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor cmfs.xsl
Log:
Xopus removed and Form Editor fixed
Revision Changes Path
1.23 +6 -3 cocoon-lenya/src/webapp/lenya/pubs/oscom/config/menus/matrix.xsp
Index: matrix.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/config/menus/matrix.xsp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- matrix.xsp 29 Sep 2003 15:18:01 -0000 1.22
+++ matrix.xsp 2 Oct 2003 04:22:16 -0000 1.23
@@ -34,12 +34,13 @@
<menus>
<menu name="File" label="File">
<block>
- <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix+"/authoring/xopus2/matrix/"+projectid+".html"</xsp:expr>?documentid=matrix/<xsp:expr>projectid+".xml"</xsp:expr></xsp:attribute>Edit with Xopus2</item>
+ <item uc:usecase="edit" href="?lenya.step=open&doctype=cmfs">Edit with Forms</item>
<!--
- <item href="?lenya.step=open&doctype=cmfs">Edit with Forms</item>
+ <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix+"/authoring/xopus2/matrix/"+projectid+".html"</xsp:expr>?documentid=matrix/<xsp:expr>projectid+".xml"</xsp:expr></xsp:attribute>Edit with Xopus2</item>
-->
- <item uc:usecase="edit" href="?lenya.step=open&doctype=cmfs">Edit with Forms</item>
+<!--
<item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix+"/authoring/matrix/"+projectid+".html"</xsp:expr>?lenya.usecase=rollback&lenya.step=showscreen&documentid=matrix/<xsp:expr>projectid+".xml"</xsp:expr></xsp:attribute>Rollback</item>
+-->
<item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix+"/authoring/lenya/publishScreen?uris=/lenya/oscom/matrix/"+projectid+".html,/lenya/oscom/matrix/index.html&sources=/matrix/"+projectid+".xml"</xsp:expr></xsp:attribute>Publish</item>
</block>
<block>
@@ -71,10 +72,12 @@
<item><xsp:attribute name="href"><xsp:expr>projectid</xsp:expr>.xml</xsp:attribute>View Page XML</item>
<item><xsp:attribute name="href">body-<xsp:expr>projectid</xsp:expr>.xml</xsp:attribute>View Body XML</item>
</block>
+<!--
<block>
<item href="../../xopus/matrix.xsl">View Xopus XSLT</item>
<item href="../../xopus/matrix.xsd">View Xopus XSD</item>
</block>
+-->
</menu>
</menus>
1.3 +6 -2 cocoon-lenya/src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor/cmfs.xsl
Index: cmfs.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor/cmfs.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cmfs.xsl 3 Sep 2003 17:52:17 -0000 1.2
+++ cmfs.xsl 2 Oct 2003 04:22:16 -0000 1.3
@@ -10,12 +10,16 @@
<xsl:template match="system">
<tr>
- <td> </td><td>Project Name</td><td><input type="text" name="element./system/system_name[{system_name/@tagID}]" size="40"><xsl:attribute name="value"><xsl:value-of select="system_name" /></xsl:attribute></input></td>
+ <td> </td><td>Project Name</td><td><input type="text" name="<xupdate:update select="/system/system_name[@tagID='{system_name/@tagID}']">" size="40"><xsl:attribute name="value"><xsl:value-of select="system_name" /></xsl:attribute></input></td>
</tr>
+<!--
<tr>
- <td> </td><td valign="top">Description</td><td><textarea name="element./system/description[{description/@tagID}]" cols="40" rows="5"><xsl:value-of select="description" /></textarea></td>
+ <td> </td><td valign="top">Description</td><td><textarea name="<xupdate:update select="/system/description[@tagID='{description/@tagID}']">" cols="40" rows="5"><xsl:value-of select="description" /></textarea></td>
</tr>
+-->
+<!--
<xsl:apply-templates select="features/feature"/>
+-->
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org