[OFBiz] SVN: r7692 - in trunk/specialized/opentravelsystem/webapp: hotelbackend/screens hotelfrontend/data

hansbak@svn.ofbiz.org hansbak at svn.ofbiz.org
Mon May 29 04:12:44 CDT 2006


Author: hansbak
Date: 2006-05-29 04:12:15 -0500 (Mon, 29 May 2006)
New Revision: 7692

Modified:
   trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CommonScreens.xml
   trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/ContentScreens.xml
   trunk/specialized/opentravelsystem/webapp/hotelfrontend/data/HotelDemoStore.xml
Log:
adjust demo data

Modified: trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CommonScreens.xml
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CommonScreens.xml	2006-05-29 09:11:13 UTC (rev 7691)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CommonScreens.xml	2006-05-29 09:12:15 UTC (rev 7692)
@@ -650,9 +650,17 @@
                             <widgets>
                                 <label style="head1">${uiLabelMap.${labelTitleProperty}} ${uiLabelMap.CommonFor}: ${currentValue.contentName}, ${currentValue.description} [${uiLabelMap.CommonId}:${contentId}]  ${${extraFunctionName}}</label>
                             </widgets>
-                            <fail-widgets>
+                        </section>
+                        <section>
+                            <condition>
+                                <and>
+                                    <if-compare field-name="tabButtonItem" operator="equals" value="content"/>
+                                    <if-empty field-name="currentValue.contentId"/>
+                                </and>
+                            </condition>
+                            <widgets>
                                 <label style="head1" text="${uiLabelMap.PageTitleAddContent}"/>
-                            </fail-widgets>
+                            </widgets>
                         </section>
                         <decorator-section-include name="body"/>
                     </decorator-section>

Modified: trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/ContentScreens.xml
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/ContentScreens.xml	2006-05-29 09:11:13 UTC (rev 7691)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/ContentScreens.xml	2006-05-29 09:12:15 UTC (rev 7692)
@@ -94,6 +94,7 @@
             <actions>
                 <set field="title" value="Find an Electronic Text"/>
                 <set field="headerItem" value="websites"/>
+                <set field="tabButtonItem" value="find"/>
                 <set field="titleProperty" value="PageTitleFindWebsitePages"/>
                 <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
                 <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>

Modified: trunk/specialized/opentravelsystem/webapp/hotelfrontend/data/HotelDemoStore.xml
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelfrontend/data/HotelDemoStore.xml	2006-05-29 09:11:13 UTC (rev 7691)
+++ trunk/specialized/opentravelsystem/webapp/hotelfrontend/data/HotelDemoStore.xml	2006-05-29 09:12:15 UTC (rev 7692)
@@ -135,7 +135,7 @@
     <DataResource dataResourceId="hds-home-text-nl" statusId="CTNT_PUBLISHED" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" lastUpdatedStamp="2005-12-18 14:56:13.407" lastUpdatedTxStamp="2005-12-18 14:56:12.525" createdStamp="2005-12-18 14:56:13.407" createdTxStamp="2005-12-18 14:56:12.525"/>
     <Content contentId="hds-home-text-en" contentTypeId="DOCUMENT" localeString="en" ownerContentId="hds-home-pp" statusId="CTNT_PUBLISHED" dataResourceId="hds-home-text-en" contentName="Name of hds-home" description="Description of hds-home" lastUpdatedStamp="2005-12-18 14:56:13.435" lastUpdatedTxStamp="2005-12-18 14:56:12.525" createdStamp="2005-12-18 14:56:13.435" createdTxStamp="2005-12-18 14:56:12.525"/>
     <Content contentId="hds-home-text-nl" contentTypeId="DOCUMENT" localeString="nl" ownerContentId="hds-home-pp" statusId="CTNT_PUBLISHED" dataResourceId="hds-home-text-nl" contentName="Name of hds-home" description="Description of hds-home" lastUpdatedStamp="2005-12-18 14:56:13.435" lastUpdatedTxStamp="2005-12-18 14:56:12.525" createdStamp="2005-12-18 14:56:13.435" createdTxStamp="2005-12-18 14:56:12.525"/>
-    <ContentAssoc contentId="hds-home-text-en" contentIdTo="hds-home-pp" fromDate="2005-12-20 12:50:48.814" contentAssocTypeId="PUBLISH_LINK"/>  
+    <ContentAssoc contentId="hds-home-pp" contentIdTo="hds-home-text-en" fromDate="2005-12-20 12:50:48.814" contentAssocTypeId="PUBLISH_LINK"/>  
     <ContentAssoc contentId="hds-home-text-en" contentIdTo="hds-home-text-nl" fromDate="2005-12-20 12:50:48.814" contentAssocTypeId="ALTERNATE_LOCALE"/>  
     <ElectronicText dataResourceId="hds-home-text-en" lastUpdatedStamp="2005-12-20 12:50:48.822" lastUpdatedTxStamp="2005-12-20 12:50:48.814" createdStamp="2005-12-18 14:56:13.429" createdTxStamp="2005-12-18 14:56:12.525">
         <textData><![CDATA[



More information about the Svn mailing list