cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@locus.apache.org
Subject cvs commit: xml-cocoon/webapp/docs/samples samples.xml
Date Thu, 21 Dec 2000 23:05:43 GMT
bloritsch    00/12/21 15:05:42

  Modified:    webapp   Tag: xml-cocoon2 sitemap.xmap
               webapp/docs/samples Tag: xml-cocoon2 samples.xml
  Log:
  Added some sample form processing using esql and xsp.  It utilizes the same
  sample database under the sql demo
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.25  +17 -4     xml-cocoon/webapp/Attic/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/Attic/sitemap.xmap,v
  retrieving revision 1.1.2.24
  retrieving revision 1.1.2.25
  diff -u -r1.1.2.24 -r1.1.2.25
  --- sitemap.xmap	2000/12/04 19:41:56	1.1.2.24
  +++ sitemap.xmap	2000/12/21 23:05:39	1.1.2.25
  @@ -213,6 +213,7 @@
       <map:read src="docs/samples/{1}.png" mime-type="image/png"/>
      </map:match>
   
  +   <!-- =========================== Dynamic ================================ -->
      <map:match pattern="xsp/*">
       <map:generate type="serverpages" src="docs/samples/xsp/{1}.xsp"/>
       <map:transform src="stylesheets/dynamic-page2html.xsl"/>
  @@ -222,15 +223,27 @@
      <map:match pattern="sql/*">
       <map:generate src="docs/samples/sql/{1}.xml"/>
       <map:transform type="sql">
  -      <parameter name="driver"   value="org.gjt.mm.mysql.Driver"/>
  -      <parameter name="dburl"    value="jdbc:mysql://localhost/test"/>
  -      <parameter name="username" value="test"/>
  -      <parameter name="password" value="test"/>
  +      <parameter name="driver"   value="oracle.jdbc.driver.OracleDriver"/>
  +      <parameter name="dburl"    value="jdbc:oracle:thin:@borg:1521:BORG"/>
  +      <parameter name="username" value="bloritsch"/>
  +      <parameter name="password" value="samantha"/>
       </map:transform>
       <map:transform src="stylesheets/simple-sql2html.xsl"/>
       <map:serialize/>
      </map:match>
   
  +   <!-- ========================== Forms ================================= -->
  +   <map:match pattern="forms/*">
  +     <map:generate type="serverpages" src="docs/samples/forms/{1}.xsp"/>
  +     <map:transform src="stylesheets/dynamic-page2html.xsl"/>
  +     <map:serialize/>
  +   </map:match>
  +
  +   <map:match pattern="forms/*/process">
  +     <map:generate type="serverpages" src="docs/samples/forms/process-{1}.xsp"/>
  +   </map:match>
  +
  +   <!-- ========================= Server ================================ -->
      <map:match pattern="generror">
       <map:generate src="docs/samples/error-giving-page.xml"/>
       <map:transform src="stylesheets/simple-samples2html.xsl"/>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.10  +13 -0     xml-cocoon/webapp/docs/samples/Attic/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/docs/samples/Attic/samples.xml,v
  retrieving revision 1.1.2.9
  retrieving revision 1.1.2.10
  diff -u -r1.1.2.9 -r1.1.2.10
  --- samples.xml	2000/11/17 20:37:20	1.1.2.9
  +++ samples.xml	2000/12/21 23:05:41	1.1.2.10
  @@ -63,6 +63,19 @@
      </sample>
     </group>
   
  +  <group name="Sample Forms">
  +    <sample name="Insert Department" href="forms/add-department" xlink:role="dynamic">
  +      Adds new Departments to the department table.  You should make sure
  +      that you have a database and table according to the docs/samples/sql/sql-page.sql
  +      definitions.  Don't forget to change the driver information...
  +    </sample>
  +    <sample name="Insert Employees" href="forms/add-employee" xlink:role="dynamic">
  +      Adds new Employees to the employees table.  You should make sure
  +      that you have a database and table according to the docs/samples/sql/sql-page.sql
  +      definitions.  Don't forget to change the driver information...
  +    </sample>
  +  </group>
  +
     <group name="System Pages">
      <sample name="Status Page" href="status">
       Cocoon status page.
  
  
  

Mime
View raw message