forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r692428 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/panels/common-fo.panel.xml
Date Fri, 05 Sep 2008 12:51:46 GMT
Author: sjur
Date: Fri Sep  5 05:51:45 2008
New Revision: 692428

URL: http://svn.apache.org/viewvc?rev=692428&view=rev
Log:
The double-sided specification is now also given to the header and footer templates.

The ugly thing is that the specification is repeated three times, and is hard-coded in the
panel. It should really be taken from a property.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/panels/common-fo.panel.xml

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/panels/common-fo.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/panels/common-fo.panel.xml?rev=692428&r1=692427&r2=692428&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/panels/common-fo.panel.xml
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/panels/common-fo.panel.xml
Fri Sep  5 05:51:45 2008
@@ -54,7 +54,9 @@
     </forrest:property>
   </forrest:contract>
   <forrest:contract name="content-title" dataURI="cocoon://#{$getRequest}.title.xml"/>
-  <forrest:contract name="page-header" dataURI="cocoon://#{$getRequest}.title.xml"/>
+  <forrest:contract name="page-header" dataURI="cocoon://#{$getRequest}.title.xml">
+    <forrest:property name="doublesided">false</forrest:property>
+  </forrest:contract>
   <forrest:contract name="page-footer-numbering">
 <!-- 
         Pattern of the page numbering in the footer - Default is "Page x".
@@ -70,6 +72,7 @@
         -->
     <forrest:property name="skip-first-page-numbering">true</forrest:property>
     <forrest:property name="page-numbering-format">1/1</forrest:property>
+    <forrest:property name="doublesided">false</forrest:property>
   </forrest:contract>
   <forrest:contract name="page-footer-copyright">
     <forrest:property name="copyright">



Mime
View raw message