You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2006/09/16 08:26:18 UTC

svn commit: r446821 - in /incubator/ofbiz/trunk/applications/content: webapp/content/WEB-INF/controller.xml webapp/content/WEB-INF/pagedefs/fonts.fo.xml widget/CommonScreens.xml

Author: jacopoc
Date: Fri Sep 15 23:26:16 2006
New Revision: 446821

URL: http://svn.apache.org/viewvc?view=rev&rev=446821
Log:
fonts.pdf report converted from JPublish to screen widget.

Removed:
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/pagedefs/fonts.fo.xml
Modified:
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml
    incubator/ofbiz/trunk/applications/content/widget/CommonScreens.xml

Modified: incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml?view=diff&rev=446821&r1=446820&r2=446821
==============================================================================
--- incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml (original)
+++ incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml Fri Sep 15 23:26:16 2006
@@ -29,8 +29,8 @@
     <handler name="bsf" type="request" class="org.ofbiz.webapp.event.BsfEventHandler"/>
 
     <handler name="jpublish" type="view" class="org.ofbiz.webapp.view.JPublishViewHandler"/>        
-    <handler name="fop" type="view" class="org.ofbiz.webapp.view.FopPdfViewHandler"/>
     <handler name="screen" type="view" class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
+    <handler name="screenfop" type="view" class="org.ofbiz.widget.screen.ScreenFopPdfViewHandler"/>
     <handler name="simplecontent" type="view" class="org.ofbiz.content.view.SimpleContentViewHandler"/>
 
     <preprocessor>
@@ -1536,7 +1536,7 @@
     <view-map name="error" page="/error/error.jsp"/>
     <view-map name="main" type="screen" page="component://content/widget/CommonScreens.xml#main"/>
     <view-map name="login" type="screen" page="component://content/widget/CommonScreens.xml#login"/>
-    <view-map name="fonts.fo" page="/fonts.fo.ftl" type="fop"/>
+    <view-map name="fonts.fo" type="screenfop" page="component://content/widget/CommonScreens.xml#fonts.fo"/>
     
     <view-map name="FindForumGroups" page="component://content/widget/forum/ForumScreens.xml#FindForumGroups" type="screen"/>
     <view-map name="ForumGroupRoles" page="component://content/widget/forum/ForumScreens.xml#ForumGroupRoles" type="screen"/>

Modified: incubator/ofbiz/trunk/applications/content/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/widget/CommonScreens.xml?view=diff&rev=446821&r1=446820&r2=446821
==============================================================================
--- incubator/ofbiz/trunk/applications/content/widget/CommonScreens.xml (original)
+++ incubator/ofbiz/trunk/applications/content/widget/CommonScreens.xml Fri Sep 15 23:26:16 2006
@@ -257,6 +257,13 @@
             </widgets>
         </section>
     </screen>
-    
-    
+    <screen name="fonts.fo">
+        <section>
+            <widgets>
+                <platform-specific>
+                    <html><html-template location="component://content/webapp/content/fonts.fo.ftl"/></html>
+                </platform-specific>
+            </widgets>
+        </section>
+    </screen>
 </screens>