forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r418636 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher: internal.xmap status.xml
Date Sun, 02 Jul 2006 19:17:42 GMT
Author: thorsten
Date: Sun Jul  2 12:17:42 2006
New Revision: 418636

URL: http://svn.apache.org/viewvc?rev=418636&view=rev
Log:
Extending the dispatcher with an internal format. 
This internal format is our xdoc or xhtml2. 
The internal format will then be contacted by e.g. html contracts.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/status.xml

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap?rev=418636&r1=418635&r2=418636&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
Sun Jul  2 12:17:42 2006
@@ -161,7 +161,18 @@
           />
         <map:serialize type="xhtml" />
       </map:match>
-      
+      <map:match pattern="**.internal*">
+        <map:generate src="cocoon:/resolve.structurer.{1}" type="jx">
+          <map:parameter name="lenient-xpath" value="true" />
+          <map:parameter name="getRequest" value="{1}" />
+          <map:parameter name="getRequestExtension" value="internal{2}" />
+        </map:generate>
+        <map:transform type="dispatcher">
+          <map:parameter name="request" value="{1}" />
+          <map:parameter name="type" value="internal{2}" />
+        </map:transform>
+        <map:serialize type="xml" />
+      </map:match>
       <map:match pattern="**.prepare.dispatcher.css">
         <map:generate src="cocoon:/resolve.structurer.{1}" type="jx">
           <map:parameter name="lenient-xpath" value="true" />

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/status.xml?rev=418636&r1=418635&r2=418636&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/status.xml
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/status.xml
Sun Jul  2 12:17:42 2006
@@ -37,6 +37,12 @@
   <changes>
     <!-- Add new releases here -->
     <release version="0.1" date="unreleased">
+      <!-- 07/2006 -->
+      <action dev="TS" type="add" context="code"> Extending the dispatcher 
+          with an internal format. This internal format is our xdoc or 
+          xhtml2. The internal format will then be contacted by e.g. html 
+          contracts. </action>
+      <!-- < 07/2006 -->
       <action dev="TS" type="add" context="admin">
         Initial plugin code extracted from the old views plugin.
       </action>



Mime
View raw message