Author: jleroux
Date: Fri Dec 19 09:23:19 2008 New Revision: 728073 URL: http://svn.apache.org/viewvc?rev=728073&view=rev Log: A patch from Erwan de FERRIERES "Button to print a preview of fonts in OFBiz" (https://issues.apache.org/jira/browse/OFBIZ-2094) - OFBIZ-2094 + some i18n and French translation Added: ofbiz/trunk/framework/example/webapp/example/reports/ ofbiz/trunk/framework/example/webapp/example/reports/fonts.fo.ftl Modified: ofbiz/trunk/framework/example/config/ExampleUiLabels.xml ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml Modified: ofbiz/trunk/framework/example/config/ExampleUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/config/ExampleUiLabels.xml?rev=728073&r1=728072&r2=728073&view=diff ============================================================================== --- ofbiz/trunk/framework/example/config/ExampleUiLabels.xml (original) +++ ofbiz/trunk/framework/example/config/ExampleUiLabels.xml Fri Dec 19 09:23:19 2008 @@ -32,6 +32,10 @@ <value xml:lang="en">To use this Ajax demonstration, you must have JavaScript enabled on your browser.</value> <value xml:lang="fr">Pour utiliser cette démonstration Ajax, vous devez avoir activé Javascript </value> </property> + <property key="ExampleAjaxExamples"> + <value xml:lang="en">Ajax Examples</value> + <value xml:lang="fr">Exemples Ajax</value> + </property> <property key="ExampleCompanyName"> <value xml:lang="en">OFBiz: Example</value> <value xml:lang="fr">OFBiz : Exemple</value> @@ -59,6 +63,7 @@ </property> <property key="ExampleExampleId"> <value xml:lang="en">Example ID</value> + <value xml:lang="fr">Réf. exemple</value> <value xml:lang="it">Codice Esempio</value> <value xml:lang="ro">Cod Exemplu</value> <value xml:lang="ru">Ðод пÑимеÑа</value> @@ -67,6 +72,7 @@ </property> <property key="ExampleExample"> <value xml:lang="en">Example</value> + <value xml:lang="fr">Exemple</value> <value xml:lang="it">Esempio</value> <value xml:lang="ro">Exemplu</value> <value xml:lang="ru">ÐÑимеÑ</value> @@ -75,6 +81,7 @@ </property> <property key="ExampleExamples"> <value xml:lang="en">Examples</value> + <value xml:lang="fr">Exemples</value> <value xml:lang="it">Esempi</value> <value xml:lang="ro">Exemple</value> <value xml:lang="ru">ÐÑимеÑÑ</value> @@ -83,6 +90,7 @@ </property> <property key="ExampleFeature"> <value xml:lang="en">Feature</value> + <value xml:lang="fr">Caractéristique</value> <value xml:lang="it">Caratteristica</value> <value xml:lang="ro">Caracteristica</value> <value xml:lang="ru">ÐÑобенноÑÑÑ</value> @@ -91,6 +99,7 @@ </property> <property key="ExampleFeatures"> <value xml:lang="en">Features</value> + <value xml:lang="fr">Caractéristiques</value> <value xml:lang="it">Caratteristiche</value> <value xml:lang="ro">Caracteristici</value> <value xml:lang="ru">ÐÑобенноÑÑи</value> @@ -99,6 +108,7 @@ </property> <property key="ExampleFeatureSource"> <value xml:lang="en">Feature Source</value> + <value xml:lang="fr">Caractéristique d'origine</value> <value xml:lang="it">Caratteristica Origine</value> <value xml:lang="ro">Origine Caracteristici </value> <value xml:lang="ru">ÐÑÑоÑник оÑобенноÑÑи</value> @@ -107,6 +117,7 @@ </property> <property key="ExampleExampleFeature"> <value xml:lang="en">Example Feature</value> + <value xml:lang="fr">Caractéristique exemple</value> <value xml:lang="it">Caratteristica Esempio</value> <value xml:lang="ro">Caracteristica Exemplu</value> <value xml:lang="ru">ÐÑобенноÑÑÑ Ð¿ÑимеÑа</value> @@ -115,6 +126,7 @@ </property> <property key="ExampleExampleFeatureId"> <value xml:lang="en">Example Feature ID</value> + <value xml:lang="fr">Réf. de caractéristique exemple</value> <value xml:lang="it">Codice Caratteristica Esempio</value> <value xml:lang="ro">Cod Caracteristica Exemplu </value> <value xml:lang="ru">Ðод оÑобенноÑÑи пÑимеÑа</value> @@ -123,6 +135,7 @@ </property> <property key="ExampleExplicitOption"> <value xml:lang="en">Explicit Option</value> + <value xml:lang="fr">Option explicite</value> <value xml:lang="it">Opzione Esplicita</value> <value xml:lang="th">à¸à¸²à¸à¹à¸¥à¸·à¸à¸à¸à¸µà¹à¸à¸±à¸à¹à¸à¸</value> </property> @@ -132,15 +145,18 @@ </property> <property key="ExampleFormWidgetExamples"> <value xml:lang="en">Form Widget Examples</value> + <value xml:lang="fr">Exemple de Form Widget</value> <value xml:lang="th">à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¸£à¸¹à¸à¹à¸à¸ Widget</value> </property> <property key="ExampleMainPage"> <value xml:lang="en">Example Main Page</value> + <value xml:lang="fr">Exemple de page principale</value> <value xml:lang="it">Pagina Principale Esempi</value> <value xml:lang="th">à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¸«à¸à¹à¸²à¸«à¸¥à¸±à¸</value> </property> <property key="ExampleMessage"> <value xml:lang="en">For something interesting make sure you are logged in, try username:admin, password:ofbiz.</value> + <value xml:lang="fr">Pour voir les exemples, vérifiez que vous être connecté, essayez l'utilisateur admin et le mot de passe ofbiz</value> <value xml:lang="it">Per qualsiasi interesse devi essere sicuro di essere entrato, provare nome utente:admin, password:ofbiz.</value> <value xml:lang="ro">Pentru a fi sigur ca te-ai logat, incearca username:admin, password:ofbiz.</value> <value xml:lang="ru">ÐÐ»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð¸Ð¼ÐµÑÑ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑÑ ÑделаÑÑ ÑÑо-нибÑÐ´Ñ Ð¸Ð½ÑеÑеÑное ÑбедиÑеÑÑ ÑÑо Ð²Ñ Ð·Ð°ÑегиÑÑÑиÑовалиÑÑ Ð² ÑиÑÑеме, попÑобÑйÑе имÑ:admin, паÑолÑ:ofbiz.</value> @@ -149,6 +165,7 @@ </property> <property key="ExampleNewExample"> <value xml:lang="en">New Example</value> + <value xml:lang="fr">Nouvel exemple</value> <value xml:lang="it">Nuovo Esempio</value> <value xml:lang="ro">Nou Exemplu</value> <value xml:lang="ru">ÐовÑй пÑимеÑ</value> @@ -157,6 +174,7 @@ </property> <property key="ExampleNewExampleFeature"> <value xml:lang="en">New Example Feature</value> + <value xml:lang="fr">Nouvelle caractéristique exemple</value> <value xml:lang="it">Nuova Caratteristica Esempio</value> <value xml:lang="ro">Noua Caracteristica Exemplu</value> <value xml:lang="ru">ÐÐ¾Ð²Ð°Ñ Ð¾ÑобенноÑÑÑ Ð¿ÑимеÑа</value> @@ -165,11 +183,13 @@ </property> <property key="ExampleOriginalExample"> <value xml:lang="en">Original Example</value> + <value xml:lang="fr">Exemple d'origine</value> <value xml:lang="ru">ÐÑигиналÑнÑй пÑимеÑ</value> <value xml:lang="th">à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¹à¸à¸´à¸¡</value> </property> <property key="ExamplePermissionError"> <value xml:lang="en">Security Error: to run ${resourceDescription} you must have the EXAMPLE_${mainAction} or EXAMPLE_ADMIN permission</value> + <value xml:lang="fr">Erreur de sécurité : pour exécuter ${resourceDescription} vous devez avoir l'autorisation EXAMPLE_${mainAction} ou EXAMPLE_ADMIN</value> <value xml:lang="it">Errore Sicurezza: per eseguire ${resourceDescription} tu devi avere il permesso EXAMPLE${mainAction} o EXAMPLE_ADMIN</value> <value xml:lang="ro">Eroare Siguranta: pentru executare ${resourceDescription} trebuie sa ai permisul EXAMPLE${mainAction} sau EXAMPLE_ADMIN</value> <value xml:lang="ru">ÐÑибка безопаÑноÑÑи: Ð´Ð»Ñ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ ${resourceDescription} Ñ Ð²Ð°Ñ Ð´Ð¾Ð»Ð¶Ð½Ñ Ð±ÑÑÑ Ð¿Ñава EXAMPLE_${mainAction} или EXAMPLE_ADMIN</value> @@ -178,6 +198,7 @@ </property> <property key="ExampleViewPermissionError"> <value xml:lang="en">You do not have permission to view this page. ("EXAMPLE_VIEW" or "EXAMPLE_ADMIN" needed)</value> + <value xml:lang="fr">Vous n'avez pas l'autorisation de voir cette page ("EXAMPLE_VIEW" ou "EXAMPLE_ADMIN" nécessaire)</value> <value xml:lang="it">Tu non sei autorizzare a vedere questa pagina. (Permesso "EXAMPLE_VIEW" o "EXAMPLE_ADMIN" necessario)</value> <value xml:lang="ro">Nu esti autorizat sa vezi aceasta pagina. (Este necesar Permisul "EXAMPLE_VIEW" sau "EXAMPLE_ADMIN")</value> <value xml:lang="ru">У Ð²Ð°Ñ Ð½ÐµÑ Ð¿Ñав Ð´Ð»Ñ Ð¿ÑоÑмоÑÑа ÑÑой ÑÑÑаниÑÑ. (Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ñ Ð¿Ñава "EXAMPLE_VIEW" или "EXAMPLE_ADMIN")</value> @@ -186,6 +207,7 @@ </property> <property key="ExampleWelcome"> <value xml:lang="en">Welcome to the Example application!</value> + <value xml:lang="fr">Bienvenue dans l'application exemple</value> <value xml:lang="it">Benvenuto nell'Applicazione Esempi!</value> <value xml:lang="ro">Bine ai venit in Aplicatia Exemple!</value> <value xml:lang="ru">ÐобÑо пожаловаÑÑ Ð² ÑÑебное пÑиложение ÐÑимеÑ!</value> @@ -196,6 +218,7 @@ <!-- Page Titles --> <property key="PageTitleFindExample"> <value xml:lang="en">Find Example</value> + <value xml:lang="fr">Recherche d'un exemple</value> <value xml:lang="it">Ricerca Esempio</value> <value xml:lang="ro">Cauta Exemplu</value> <value xml:lang="ru">ÐайÑи пÑимеÑ</value> @@ -204,10 +227,12 @@ </property> <property key="PageTitleFormWidgetExamples"> <value xml:lang="en">Form Widget Examples</value> + <value xml:lang="fr">Exemple Form Widget</value> <value xml:lang="th">à¸à¸±à¸§à¸à¸¢à¹à¸²à¸ Widget</value> </property> <property key="PageTitleEditExample"> <value xml:lang="en">Edit Example</value> + <value xml:lang="fr">Modifier l'exemple</value> <value xml:lang="it">Aggiorna Esempio</value> <value xml:lang="ro">Actualizeaza Exemplu</value> <value xml:lang="ru">ÐзмениÑÑ Ð¿ÑимеÑ</value> @@ -216,6 +241,7 @@ </property> <property key="PageTitleEditExampleItems"> <value xml:lang="en">Edit Example Items</value> + <value xml:lang="fr">Modifier la ligne de l'exemple</value> <value xml:lang="it">Aggiorna Righe Esempio</value> <value xml:lang="ro">Actualizeaza Linii Exemplu</value> <value xml:lang="ru">ÐзмениÑÑ Ð¿Ð¾Ð·Ð¸Ñии пÑимеÑа</value> @@ -224,6 +250,7 @@ </property> <property key="PageTitleEditExampleFeatureAppls"> <value xml:lang="en">Edit Example Features</value> + <value xml:lang="fr">Modifier les caractéristiques de l'exemple</value> <value xml:lang="it">Aggiorna Caratteristiche Esempio</value> <value xml:lang="ro">Actualizeaza Carateristici Exemplu</value> <value xml:lang="ru">ÐзмениÑÑ Ð¾ÑобенноÑÑÑ Ð¿ÑимеÑа</value> @@ -232,6 +259,7 @@ </property> <property key="PageTitleFindExampleFeature"> <value xml:lang="en">Find Example Feature</value> + <value xml:lang="fr">Rechercher la caractéristique de l'exemple</value> <value xml:lang="it">Ricerca Caratteristica Esempio</value> <value xml:lang="ro">Cauta Caracteristica Exemplu</value> <value xml:lang="ru">ÐайÑи оÑобенноÑÑÑ Ð¿ÑимеÑа</value> @@ -240,6 +268,7 @@ </property> <property key="PageTitleEditExampleFeature"> <value xml:lang="en">Edit Example Feature</value> + <value xml:lang="fr">Modifier la caractéristique de l'exemple</value> <value xml:lang="it">Aggiorna Caratteristica Esempio</value> <value xml:lang="ro">Actualizeaza Caracteristica Exemplu</value> <value xml:lang="ru">ÐзмениÑÑ Ð¾ÑобенноÑÑи пÑимеÑа</value> @@ -248,6 +277,7 @@ </property> <property key="PageTitleEditExampleFeatureExampleAppls"> <value xml:lang="en">Edit Example Feature Examples</value> + <value xml:lang="fr">Modifier la caractéristique exemple des exemples</value> <value xml:lang="it">Aggiorna Esempio Caratteristica Esempi</value> <value xml:lang="ro">Actualizeaza Exemplu Caratteristica Exemple</value> <value xml:lang="ru">ÐзмениÑÑ Ð¿ÑимеÑÑ Ð¾ÑобенноÑÑей</value> @@ -256,6 +286,7 @@ </property> <property key="PageTitleLookupExampleFeature"> <value xml:lang="en">Lookup Example Feature</value> + <value xml:lang="fr">Rechercher la caractéristique exemple</value> <value xml:lang="it">Ricerca Caratteristica Esempio</value> <value xml:lang="ro">Cauta Caracteristica Exemplu</value> <value xml:lang="ru">ÐÑкаÑÑ Ð¾ÑобенноÑÑи пÑимеÑа</value> @@ -264,40 +295,18 @@ </property> <!-- Form Field Labels --> - <property key="FormFieldTitle_amount"> - <value xml:lang="en">Amount</value> - <value xml:lang="it">Importo</value> - <value xml:lang="ro">Import</value> - <value xml:lang="ru">СÑмма</value> - <value xml:lang="th">à¸à¸³à¸à¸§à¸</value> - <value xml:lang="zh">éé¢</value> - </property> <property key="FormFieldTitle_exampleName"> <value xml:lang="en">Example Name</value> + <value xml:lang="fr">Nom d'exemple</value> <value xml:lang="it">Nome Esempio</value> <value xml:lang="ro">Nume Exemplu</value> <value xml:lang="ru">ÐÐ¼Ñ Ð¿ÑимеÑа</value> <value xml:lang="th">à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¸à¸·à¹à¸</value> <value xml:lang="zh">æ ·ä¾å称</value> </property> - <property key="FormFieldTitle_longDescription"> - <value xml:lang="en">Long Description</value> - <value xml:lang="it">Descrizione Lunga</value> - <value xml:lang="ro">Descriere Lunga</value> - <value xml:lang="ru">Ðлинное опиÑание</value> - <value xml:lang="th">à¸à¸³à¸à¸à¸´à¸à¸²à¸¢</value> - <value xml:lang="zh">详ç»æè¿°</value> - </property> - <property key="FormFieldTitle_comments"> - <value xml:lang="en">Comments</value> - <value xml:lang="it">Commenti</value> - <value xml:lang="ro">Comentarii</value> - <value xml:lang="ru">ÐомменÑаÑии</value> - <value xml:lang="th">à¸à¸§à¸²à¸¡à¸à¸´à¸à¹à¸«à¹à¸</value> - <value xml:lang="zh">è¯è®º</value> - </property> <property key="FormFieldTitle_exampleSize"> <value xml:lang="en">Example Size</value> + <value xml:lang="fr">Exemple de taille</value> <value xml:lang="it">Esempio Taglia</value> <value xml:lang="ro">Marime-size Exemplu</value> <value xml:lang="ru">Ð Ð°Ð·Ð¼ÐµÑ Ð¿ÑимеÑа</value> @@ -306,6 +315,7 @@ </property> <property key="FormFieldTitle_exampleDate"> <value xml:lang="en">Example Date</value> + <value xml:lang="fr">Exemple de date</value> <value xml:lang="it">Esempio Data</value> <value xml:lang="ro">Data Exemplu</value> <value xml:lang="ru">ÐаÑа пÑимеÑа</value> @@ -314,11 +324,13 @@ </property> <property key="FormFieldTitle_anotherDate"> <value xml:lang="en">Another Date</value> + <value xml:lang="fr">Une autre date</value> <value xml:lang="it">Altra Data</value> <value xml:lang="th">วัà¸à¸à¸µà¹à¸à¸·à¹à¸ à¹</value> </property> <property key="FormFieldTitle_anotherText"> <value xml:lang="en">Another Text</value> + <value xml:lang="fr">Un autre texte</value> <value xml:lang="it">Altro Testo</value> <value xml:lang="th">à¸à¸±à¸§à¸«à¸à¸±à¸à¸ªà¸·à¸à¸à¸·à¹à¸ à¹</value> </property> Modified: ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml?rev=728073&r1=728072&r2=728073&view=diff ============================================================================== --- ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml (original) +++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml Fri Dec 19 09:23:19 2008 @@ -171,6 +171,11 @@ <request-map uri="ListExampleFormOnly"><security https="true" auth="false"/><response name="success" type="view" value="ListExampleFormOnly"/></request-map> <request-map uri="CreateExampleFormOnly"><security https="true" auth="false"/><response name="success" type="view" value="CreateExampleFormOnly"/></request-map> <request-map uri="dashboardExample"><security https="true" auth="false"/><response name="success" type="view" value="dashboardExample"/></request-map> + + <request-map uri="printExampleFOPFonts"> + <security https="true" auth="true"/> + <response name="success" type="view" value="printExampleFOPFonts"/> + </request-map> <!-- end of request mappings --> <!-- View Mappings --> @@ -196,6 +201,6 @@ <view-map name="findExampleAjax" type="screen" page="component://example/widget/example/ExampleAjaxScreens.xml#AjaxExample"/> <view-map name="ListExampleFormOnly" type="screen" page="component://example/widget/example/ExampleAjaxScreens.xml#ListExampleFormOnly"/> <view-map name="CreateExampleFormOnly" type="screen" page="component://example/widget/example/ExampleAjaxScreens.xml#CreateExampleFormOnly"/> - + <view-map name="printExampleFOPFonts" type="screenfop" page="component://example/widget/example/FormWidgetExampleScreens.xml#printExampleFOPFonts" content-type="application/pdf" encoding="none"/> <!-- end of view mappings --> </site-conf> Added: ofbiz/trunk/framework/example/webapp/example/reports/fonts.fo.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/reports/fonts.fo.ftl?rev=728073&view=auto ============================================================================== --- ofbiz/trunk/framework/example/webapp/example/reports/fonts.fo.ftl (added) +++ ofbiz/trunk/framework/example/webapp/example/reports/fonts.fo.ftl Fri Dec 19 09:23:19 2008 @@ -0,0 +1,55 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <fo:layout-master-set> + <fo:simple-page-master master-name="portrait" + page-width="210mm" page-height="297mm" + margin-top="0mm" margin-bottom="0mm" + margin-left="15mm" margin-right="9mm"> + <fo:region-body margin-top="19mm" margin-bottom="15mm"/> + </fo:simple-page-master> + </fo:layout-master-set> + + <fo:page-sequence master-reference="portrait" initial-page-number="1"> + <fo:flow flow-name="xsl-region-body"> + <fo:block text-align="center">Font samples</fo:block> + <fo:block></fo:block> + <fo:block color="red">Helvetica</fo:block> + <fo:block font-family="Helvetica" font-style="normal" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Helvetica" font-style="normal" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Helvetica" font-style="italic" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Helvetica" font-style="italic" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block color="red">Times</fo:block> + <fo:block font-family="Times" font-style="normal" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Times" font-style="normal" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Times" font-style="italic" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Times" font-style="italic" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block color="red">Courier</fo:block> + <fo:block font-family="Courier" font-style="normal" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Courier" font-style="normal" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Courier" font-style="italic" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block font-family="Courier" font-style="italic" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block color="red">Symbol</fo:block> + <fo:block font-family="Symbol" font-style="normal" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + <fo:block color="red">Zapf Dingbats</fo:block> + <fo:block font-family="ZapfDingbats" font-style="normal" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block> + </fo:flow> + </fo:page-sequence> +</fo:root> Modified: ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml?rev=728073&r1=728072&r2=728073&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml Fri Dec 19 09:23:19 2008 @@ -25,7 +25,7 @@ <section> <actions> <set field="layoutSettings.styleSheets[+0]" value="/images/prototypejs/scriptaculouscontrols.css" global="true"/> - <set field="headerItem" value="Ajax Examples"/> + <set field="headerItem" value="ExampleAjaxExamples"/> <set field="titleProperty" value="PageTitleFindExample"/> <set field="exampleCtx" from-field="parameters"/> </actions> Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml?rev=728073&r1=728072&r2=728073&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml (original) +++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml Fri Dec 19 09:23:19 2008 @@ -219,5 +219,10 @@ </drop-down> </field> </form> - + + <!-- Simple form to print a FOP PDF file with the fonts available in OFBiz Project --> + <form name="FOPFontsExampleForm" type="single" target="printExampleFOPFonts"> + <field name="printButton" widget-style="smallSubmit"><submit button-type="button"/></field> + </form> + </forms> Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml?rev=728073&r1=728072&r2=728073&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml (original) +++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml Fri Dec 19 09:23:19 2008 @@ -54,6 +54,13 @@ </container> <include-form name="DropDownFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/> </container> + <container style="screenlet-body"> + <container style="button-bar"><label style="h2">Print button</label></container> + <container style="screenlet-body"> + <label>${uiLabelMap.ExampleFopFonts}</label> + </container> + <include-form name="FOPFontsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/> + </container> </widgets> <fail-widgets> <label style="h3">${uiLabelMap.ExampleViewPermissionError}</label> @@ -64,5 +71,16 @@ </widgets> </section> </screen> - + <screen name="printExampleFOPFonts"> + <section> + <widgets> + <platform-specific> + <html> + <html-template + location="component://example/webapp/example/reports/fonts.fo.ftl" /> + </html> + </platform-specific> + </widgets> + </section> + </screen> </screens> |
Free forum by Nabble | Edit this page |