cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: WyonaParentChildCreator
Date Sat, 10 Jul 2004 01:47:51 GMT
   Date: 2004-07-09T18:47:51
   Editor: JoergHeinicke <joerg.heinicke@gmx.de>
   Wiki: Cocoon Wiki
   Page: WyonaParentChildCreator
   URL: http://wiki.apache.org/cocoon/WyonaParentChildCreator

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -56,14 +56,14 @@
      <p>
 Finally the Java class !AbstractParentChildCreator has to be extended.
      </p>  
-           <source><![CDATA[packagech.unizh.unipublic.lenya.cms.authoring;importjava.io.File;importorg.apache.lenya.cms.authoring.!AbstractParentChildCreator;importorg.apache.log4j.Category;/***@authorMichaelWechner*@version2002.7.2*/publicclass!NewArticleCreatorextendsAbstractParentChildCreator{staticCategorylog=Category.getInstance(!NewArticleCreator.class);/****/publicshortgetChildType(shortchildType)throwsException{returnchildType;}/****/publicStringgenerateTreeId(StringchildId,shortchildType)throwsException{returnchildId;}/****/publicvoidcreate(FilesamplesDir,FileparentDir,StringchildId,shortchildType)throwsException{log.warn("!NewArticleCreator.create()hasbeencalled.");}}]]></source>
+           <source><![CDATA[packagech.unizh.unipublic.lenya.cms.authoring;importjava.io.File;importorg.apache.lenya.cms.authoring.!AbstractParentChildCreator;importorg.apache.log4j.Category;/***@authorMichaelWechner*@version2002.7.2*/publicclass!NewArticleCreatorextendsAbstractParentChildCreator{staticCategorylog=Category.getInstance(!NewArticleCreator.class);/****/publicshortgetChildType(shortchildType)throwsException{returnchildType;}/****/publicStringgenerateTreeId(!StringchildId,shortchildType)throwsException{returnchildId;}/****/publicvoidcreate(!FilesamplesDir,!FileparentDir,!StringchildId,shortchildType)throwsException{log.warn("!NewArticleCreator.create()hasbeencalled.");}}]]></source>
    </section>
 
    <section><title>Sample: sample.xml</title>
      <p>
 When the child is created, the systems takes a sample of the appropriate doctype and makes
a copy of that sample, such that the user has a starting point for editing.
      </p>
-       <source><![CDATA[<?xmlversion="1.0"?><article><meta><id/></meta><head><title>SampleTitle</title></head><body><p>SamplePersonwrites:<quotation>SampleQuotation...</quotation>SampleText...</p></body><comments/></article>]]></source>
+       <source><![CDATA[<?xmlversion="1.0"?><article><meta><id/></meta><head><title>!SampleTitle</title></head><body><p>!SamplePersonwrites:<quotation>!SampleQuotation...</quotation>!SampleText...</p></body><comments/></article>]]></source>
    </section>
 
       <section><title>Bread-Crumb Path</title>

Mime
View raw message