[EMAIL PROTECTED] 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="[EMAIL PROTECTED]"
-                href="mailto:[EMAIL PROTECTED]&#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="[EMAIL PROTECTED]" + href="mailto:[EMAIL PROTECTED]&#160;"> Send + feedback about the website to: </forrest:property>
          </forrest:properties>
        </forrest:contract>
      </forrest:hook>



Reply via email to