You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by kp...@apache.org on 2002/07/12 10:27:02 UTC

cvs commit: xml-cocoon2/src/webapp/samples/i18n/translations menu.xml menu_en.xml menu_ru.xml messages.xml messages_de.xml messages_en.xml messages_es.xml messages_fr.xml messages_fr_CH.xml messages_hy.xml messages_pl.xml messages_pt.xml messages_ru.xml messages_tr.xml

kpiroumian    2002/07/12 01:27:01

  Modified:    .        Tag: cocoon_2_0_3_branch changes.xml
               src/webapp/samples Tag: cocoon_2_0_3_branch sitemap.xmap
                        samples.xml
  Added:       src/webapp/samples/i18n/images Tag: cocoon_2_0_3_branch
                        chapter.gif chapter_open.gif current.gif f-am.gif
                        f-at.gif f-ca.gif f-ch.gif f-de.gif f-es.gif
                        f-fr.gif f-gb.gif f-pl.gif f-pt.gif f-ru.gif
                        f-tr.gif f-us.gif page.gif
               src/webapp/samples/jsp Tag: cocoon_2_0_3_branch hello.jsp
                        simple-page2html.xsl sitemap.xmap welcome.jsp
               src/webapp/samples/i18n Tag: cocoon_2_0_3_branch menu.xml
                        menu2html.xsl page.css simple.xml simple.xsl
                        simple.xsp site2html.xsl sitemap.xmap
               src/webapp/samples/i18n/translations Tag:
                        cocoon_2_0_3_branch menu.xml menu_en.xml
                        menu_ru.xml messages.xml messages_de.xml
                        messages_en.xml messages_es.xml messages_fr.xml
                        messages_fr_CH.xml messages_hy.xml messages_pl.xml
                        messages_pt.xml messages_ru.xml messages_tr.xml
  Log:
  Refactored i18n and JSP samples.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.138.2.29 +7 -1      xml-cocoon2/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/changes.xml,v
  retrieving revision 1.138.2.28
  retrieving revision 1.138.2.29
  diff -u -r1.138.2.28 -r1.138.2.29
  --- changes.xml	11 Jul 2002 10:03:04 -0000	1.138.2.28
  +++ changes.xml	12 Jul 2002 08:26:59 -0000	1.138.2.29
  @@ -38,6 +38,12 @@
    </devs>
   
    <release version="@version@" date="@date@">
  +  <action dev="KP" type="fix">
  +   Fixed current page indication in documentation menu (synced with HEAD).
  +  </action>
  +  <action dev="KP" type="update">
  +   Internationalization and JSP samples are refactored.
  +  </action>
     <action dev="CZ" type="add" fixes-bug="10505" due-to="Stuart Roebuck" due-to-email="stuart.roebuck@adolos.co.uk">
      When building Cocoon it is required to set the targetted JVM (either 1.3 (means 1.3 or lower) or 1.4.
     </action>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +2 -2      xml-cocoon2/src/webapp/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/sitemap.xmap,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- sitemap.xmap	27 Apr 2002 18:24:45 -0000	1.2.2.1
  +++ sitemap.xmap	12 Jul 2002 08:26:59 -0000	1.2.2.2
  @@ -78,7 +78,7 @@
   
      <!-- ================== Common fallthrough ===================== -->
   
  -   <map:match pattern="*/images/*.gif">
  +   <!--map:match pattern="*/images/*.gif">
       <map:read src="common/resources/images/{2}.gif" mime-type="image/gif"/>
      </map:match>
   
  @@ -88,7 +88,7 @@
   
      <map:match pattern="*/images/*.png">
       <map:read src="common/resources/images/{2}.png" mime-type="image/png"/>
  -   </map:match>
  +   </map:match-->
      
      <!-- ======================== Samples =============================== -->
      
  
  
  
  1.3.2.1   +12 -37    xml-cocoon2/src/webapp/samples/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/samples.xml,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- samples.xml	26 Mar 2002 08:08:49 -0000	1.3
  +++ samples.xml	12 Jul 2002 08:26:59 -0000	1.3.2.1
  @@ -44,6 +44,17 @@
      </sample>
     </group>
   
  +  <group name="More Samples">
  +   <sample name="Internationalization" href="i18n/">
  +    Internationalization and Localization with Cocoon
  +   </sample>
  +   <sample name="JSP in Cocoon" href="jsp/">
  +    How to use JSP for dynamic content generation.
  +    (Note: this samples works only in Tomcat 4.x, for other containers 
  +     settings for JSPEngine should be changed accordingly)
  +   </sample>
  +  </group>
  +
     <group name="System Tools And Pages">
      <!-- sample name="Sitemap Editor" href="sitebuilder/openSubSite/">
       Cocoon/JSP based Sitemap Editor.
  @@ -75,42 +86,6 @@
      <sample name="Search the docs" href="../search/welcome">
       Search into the cocoon documentation using Apache Lucene.
      </sample>
  -  </group>
  -  
  -  <group name="More Samples">
  -   <sample name="Static Content" href="sample-static">
  -    How to produce different type of static content.
  -   </sample>
  -
  -   <sample name="Server Pages" href="sample-xsp">
  -    Dynamic content implemented in XSP pages.
  -   </sample>
  -
  -   <sample name="Dynamic Content" href="sample-dynamic">
  -    More ways of implementing dynamic content.
  -   </sample>
  -
  -   <sample name="Portal &amp; Authentication" href="sunspotdemoportal">
  -    A customizable Portal with Cocoon. In order to run this
  -    sample, you have to build the Cocoon webapp with the "-Dinclude.scratchpad.libs"
  -    option.
  -   </sample>
  -
  -   <sample name="Sources" href="sub/">
  -    Samples showing possible ways how to use Cocoon sources in sitemap.
  -    (These samples are served by sub-sitemap)
  -   </sample>
  -
  -   <sample name="Web Applications" href="sample-apps">
  -    Samples showing how to perform form processing, state management,
  -    and simple web-application with login and protected resources.
  -   </sample>
  -   
  -   <sample name="Legacy file formats" href="../poi/">
  -    Samples showing how to use Apache POI to use common office file formats
  -    with Cocoon.
  -   </sample>
  -   
     </group>
     
     <group name="Scratchpad samples">
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/chapter.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/chapter_open.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/current.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-am.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-at.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-ca.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-ch.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-de.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-es.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-fr.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-gb.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-pl.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-pt.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-ru.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-tr.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/f-us.gif
  
  	<<Binary file>>
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/images/page.gif
  
  	<<Binary file>>
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/jsp/hello.jsp
  
  Index: hello.jsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/jsp/hello.jsp,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/jsp/simple-page2html.xsl
  
  Index: simple-page2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/jsp/simple-page2html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.2.2.1   +0 -0      xml-cocoon2/src/webapp/samples/jsp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/jsp/sitemap.xmap,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/jsp/welcome.jsp
  
  Index: welcome.jsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/jsp/welcome.jsp,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/menu.xml
  
  Index: menu.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/menu.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.2.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/menu2html.xsl
  
  Index: menu2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/menu2html.xsl,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/page.css
  
  Index: page.css
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/page.css,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.3.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/simple.xml
  
  Index: simple.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/simple.xml,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  
  
  
  1.3.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/simple.xsl
  
  Index: simple.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/simple.xsl,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  
  
  
  1.4.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/simple.xsp
  
  Index: simple.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/simple.xsp,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  
  
  
  1.4.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/site2html.xsl
  
  Index: site2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/site2html.xsl,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  
  
  
  1.4.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/sitemap.xmap,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- sitemap.xmap	30 May 2002 10:13:14 -0000	1.4
  +++ sitemap.xmap	12 Jul 2002 08:27:01 -0000	1.4.2.1
  @@ -70,7 +70,7 @@
               
                   <!-- Default pipeline -->
                   <map:match pattern="">
  -                    <map:redirect-to uri="cocoon:/simple.xml"/>
  +                    <map:redirect-to uri="simple.xml"/>
                   </map:match>
               
                   <!-- Generate static output (simple.xml) -->
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/translations/menu.xml
  
  Index: menu.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/menu.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/translations/menu_en.xml
  
  Index: menu_en.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/menu_en.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/translations/menu_ru.xml
  
  Index: menu_ru.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/menu_ru.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.2.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages.xml
  
  Index: messages.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.2.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages_de.xml
  
  Index: messages_de.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_de.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.2.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages_en.xml
  
  Index: messages_en.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_en.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.2.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages_es.xml
  
  Index: messages_es.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_es.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/translations/messages_fr.xml
  
  Index: messages_fr.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_fr.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/translations/messages_fr_CH.xml
  
  Index: messages_fr_CH.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_fr_CH.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.2.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages_hy.xml
  
  Index: messages_hy.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_hy.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.2.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages_pl.xml
  
  Index: messages_pl.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_pl.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.3.2.1   +0 -0      xml-cocoon2/src/webapp/samples/i18n/translations/messages_pt.xml
  
  Index: messages_pt.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_pt.xml,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  
  
  
  1.2.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages_ru.xml
  
  Index: messages_ru.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_ru.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.1.2.1   +1 -1      xml-cocoon2/src/webapp/samples/i18n/translations/messages_tr.xml
  
  Index: messages_tr.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/i18n/translations/messages_tr.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org