You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2007/04/10 22:26:57 UTC

svn commit: r527277 - in /cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF: samples.xml sitemap.xmap

Author: joerg
Date: Tue Apr 10 13:26:57 2007
New Revision: 527277

URL: http://svn.apache.org/viewvc?view=rev&rev=527277
Log:
reactivated a most trivial wsproxy sample based on hello world xml sample
(Kept trunk in sync, but that does not mean that it works there. Actually I'm quite sure it does not because of usage of context:// protocol.)

Modified:
    cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/samples.xml
    cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/samples.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/samples.xml?view=diff&rev=527277&r1=527276&r2=527277
==============================================================================
--- cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/samples.xml (original)
+++ cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/samples.xml Tue Apr 10 13:26:57 2007
@@ -23,12 +23,13 @@
   </group>
 
   <group name="Web Site Syndication">
-    <!-- Sample disabled as it references xmlforms
-    <sample name="Examples" href="wsproxy/">
+    <sample name="Simple Hello World sample" href="wsproxy/">
       Demonstrates how to embed one website's functionality into another.
       Using the WebServiceProxyGenerator remote web app integration is easy.
+      This sample only links the Hello World XML and transforms it to HTML,
+      which is rather trivial, but with having a look into the sitemap it should
+      give you the idea.
     </sample>
-    -->
     <sample name="Virtual Portal Demo" href="cocoonhive/">
       A more sophisticated example including Amazon and OpenWiki.
       Shows how a personalized portal can be built by connecting multiple remote

Modified: cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=527277&r1=527276&r2=527277
==============================================================================
--- cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap Tue Apr 10 13:26:57 2007
@@ -49,9 +49,8 @@
     <map:pipeline>
       <map:match pattern="wsproxy/*">
         <map:generate type="wsproxy" label="xml"
-          src="http://{request:serverName}:{request:serverPort}{request:contextPath}/samples/xmlform/wizard?cocoon-view=xml"/>
-        <map:transform src="stylesheets/newWizard2html.xsl" />
-        <map:transform src="context://stylesheets/system/xmlform2html.xslt"/>
+          src="http://{request:serverName}:{request:serverPort}{request:contextPath}/samples/hello-world/hello.xml"/>
+        <map:transform src="context://samples/hello-world/style/xsl/page2html.xsl"/>
         <map:serialize type="html"/>
       </map:match>
     </map:pipeline>