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&#160;with&#160;Xopus2</item>
  +        <item uc:usecase="edit" href="?lenya.step=open&amp;doctype=cmfs">Edit&#160;with&#160;Forms</item>
   <!--
  -        <item href="?lenya.step=open&amp;doctype=cmfs">Edit&#160;with&#160;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&#160;with&#160;Xopus2</item>
   -->
  -        <item uc:usecase="edit" href="?lenya.step=open&amp;doctype=cmfs">Edit&#160;with&#160;Forms</item>
  +<!--
           <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix+"/authoring/matrix/"+projectid+".html"</xsp:expr>?lenya.usecase=rollback&amp;lenya.step=showscreen&amp;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&amp;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&#160;Page&#160;XML</item>
           <item><xsp:attribute name="href">body-<xsp:expr>projectid</xsp:expr>.xml</xsp:attribute>View&#160;Body&#160;XML</item>
         </block>
  +<!--
         <block>
           <item href="../../xopus/matrix.xsl">View&#160;Xopus&#160;XSLT</item>
           <item href="../../xopus/matrix.xsd">View&#160;Xopus&#160;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>&#160;</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>&#160;</td><td>Project Name</td><td><input type="text" name="&lt;xupdate:update select=&quot;/system/system_name[@tagID='{system_name/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="system_name" /></xsl:attribute></input></td>
   </tr>
  +<!--
   <tr>
  -  <td>&#160;</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>&#160;</td><td valign="top">Description</td><td><textarea name="&lt;xupdate:update select=&quot;/system/description[@tagID='{description/@tagID}']&quot;&gt;" 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