You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Cyriaque Dupoirieux <Cy...@pcotech.fr> on 2005/12/09 14:20:17 UTC

Re: svn commit: r355468 - /forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv

thorsten@apache.org a écrit :

>Author: thorsten
>Date: Fri Dec  9 04:43:21 2005
>New Revision: 355468
>
>URL: http://svn.apache.org/viewcvs?rev=355468&view=rev
>Log:
>Bugfix FOR-757 - the contract definition of the siteinfo-meta-navigation contract was wrong, since we do not need it there I commented it out.
>
>  
>
I have corrected the call and the contract. You have an example in the 
pelt.fv :
    <forrest:contract name="siteinfo-meta-navigation">
      <forrest:properties contract="siteinfo-meta-navigation">
        <forrest:property name="nav-main" nugget="get.navigation">
          <jx:import 
uri="cocoon://${cocoon.parameters.getRequest}.navigation.xml"/>
        </forrest:property>
      </forrest:properties>
    </forrest:contract>

is working ...

Salutations,
Cyriaque,

>Modified:
>    forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv
>
>Modified: forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv
>URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv?rev=355468&r1=355467&r2=355468&view=diff
>==============================================================================
>--- forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv (original)
>+++ forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv Fri Dec  9 04:43:21 2005
>@@ -38,7 +38,6 @@
>         </forrest:property>
>       </forrest:properties>
>     </forrest:contract>
>-    <forrest:contract name="siteinfo-meta-navigation"/>
>     <!-- FIXME - Cocoon problem with favicon.ico -->
>     <!--<forrest:contract name="siteinfo-meta-icon">
>       <forrest:properties contract="siteinfo-meta-icon">
>@@ -419,14 +418,12 @@
>             </forrest:property>
>           </forrest:properties>
>         </forrest:contract>
>-        <forrest:contract name="siteinfo-feedback">
>-          <forrest:properties contract="siteinfo-feedback">
>-            <forrest:property name="siteinfo-feedback">
>-              <feedback to="webmaster@foo.com"
>-                href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
>-                Send feedback about the website to:
>-              </feedback>
>-            </forrest:property>
>+        <forrest:contract name="siteinfo-feedback-dyn">
>+          <forrest:properties contract="siteinfo-feedback-dyn">
>+              <forrest:property name="siteinfo-feedback-dyn-config" 
>+                to="webmaster@foo.com" 
>+                href="mailto:webmaster@foo.com?subject=Feedback&#160;"> Send 
>+                feedback about the website to: </forrest:property>
>           </forrest:properties>
>         </forrest:contract>
>       </forrest:hook>
>
>
>
>  
>

Re: svn commit: r355468 - /forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv

Posted by Thorsten Scherler <th...@apache.org>.
yeah, thx.

salu2

El vie, 09-12-2005 a las 14:20 +0100, Cyriaque Dupoirieux escribió:
> thorsten@apache.org a écrit :
> 
> >Author: thorsten
> >Date: Fri Dec  9 04:43:21 2005
> >New Revision: 355468
> >
> >URL: http://svn.apache.org/viewcvs?rev=355468&view=rev
> >Log:
> >Bugfix FOR-757 - the contract definition of the siteinfo-meta-navigation contract was wrong, since we do not need it there I commented it out.
> >
> >  
> >
> I have corrected the call and the contract. You have an example in the 
> pelt.fv :
>     <forrest:contract name="siteinfo-meta-navigation">
>       <forrest:properties contract="siteinfo-meta-navigation">
>         <forrest:property name="nav-main" nugget="get.navigation">
>           <jx:import 
> uri="cocoon://${cocoon.parameters.getRequest}.navigation.xml"/>
>         </forrest:property>
>       </forrest:properties>
>     </forrest:contract>
> 
> is working ...
> 
> Salutations,
> Cyriaque,
> 
> >Modified:
> >    forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv
> >
> >Modified: forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv
> >URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv?rev=355468&r1=355467&r2=355468&view=diff
> >==============================================================================
> >--- forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv (original)
> >+++ forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/index.fv Fri Dec  9 04:43:21 2005
> >@@ -38,7 +38,6 @@
> >         </forrest:property>
> >       </forrest:properties>
> >     </forrest:contract>
> >-    <forrest:contract name="siteinfo-meta-navigation"/>
> >     <!-- FIXME - Cocoon problem with favicon.ico -->
> >     <!--<forrest:contract name="siteinfo-meta-icon">
> >       <forrest:properties contract="siteinfo-meta-icon">
> >@@ -419,14 +418,12 @@
> >             </forrest:property>
> >           </forrest:properties>
> >         </forrest:contract>
> >-        <forrest:contract name="siteinfo-feedback">
> >-          <forrest:properties contract="siteinfo-feedback">
> >-            <forrest:property name="siteinfo-feedback">
> >-              <feedback to="webmaster@foo.com"
> >-                href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
> >-                Send feedback about the website to:
> >-              </feedback>
> >-            </forrest:property>
> >+        <forrest:contract name="siteinfo-feedback-dyn">
> >+          <forrest:properties contract="siteinfo-feedback-dyn">
> >+              <forrest:property name="siteinfo-feedback-dyn-config" 
> >+                to="webmaster@foo.com" 
> >+                href="mailto:webmaster@foo.com?subject=Feedback&#160;"> Send 
> >+                feedback about the website to: </forrest:property>
> >           </forrest:properties>
> >         </forrest:contract>
> >       </forrest:hook>
> >
> >
> >
> >  
> >
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)