[OFBiz] SVN: r7253 - in trunk/specialized/opentravelsystem/webapp/hotelbackend: WEB-INF screens

hansbak@svn.ofbiz.org hansbak at svn.ofbiz.org
Mon Apr 10 02:33:04 CDT 2006


Author: hansbak
Date: 2006-04-10 02:32:51 -0500 (Mon, 10 Apr 2006)
New Revision: 7253

Modified:
   trunk/specialized/opentravelsystem/webapp/hotelbackend/WEB-INF/controller.xml
   trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CatalogForms.xml
Log:
OTS: modification of a product sometimes a problem, solved

Modified: trunk/specialized/opentravelsystem/webapp/hotelbackend/WEB-INF/controller.xml
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/WEB-INF/controller.xml	2006-04-10 06:17:04 UTC (rev 7252)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/WEB-INF/controller.xml	2006-04-10 07:32:51 UTC (rev 7253)
@@ -995,7 +995,7 @@
     <request-map uri="updateProduct">
         <security https="true" auth="true"/>
         <event type="service" path="" invoke="updateProduct"/>
-        <response name="success" type="view" value="EditProducts"/>
+        <response name="success" type="view" value="EditProduct"/>
         <response name="error" type="view" value="EditProduct"/>
     </request-map>
     <request-map uri="DuplicateProduct">
@@ -3078,7 +3078,7 @@
         <response name="success" type="view" value="CreateEmailToContactList"/>
     </request-map>
     
-!!!!!!    <request-map uri="removeContactListParty">
+    <request-map uri="removeContactListParty">
         <security https="true" auth="true"/>
         <event type="service" invoke="deleteContactListParty"/>
         <response name="success" type="view" value="CreateEmailToContactList"/>

Modified: trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CatalogForms.xml
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CatalogForms.xml	2006-04-10 06:17:04 UTC (rev 7252)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/screens/CatalogForms.xml	2006-04-10 07:32:51 UTC (rev 7253)
@@ -96,17 +96,17 @@
     </form>  
     <!-- Edit/Create a product --> 
     <form name="EditProduct" type="single"
-            target="updateProduct" title="" default-map-name="product"
-            default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
-        <actions>
-                <set field="productStoreId" value="${productStoreId}"/>
-        </actions>
+        target="updateProduct" title="" default-map-name="product"
+        default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
+        
         <alt-target use-when="product==null" target="createProduct"/>
-
+        
         <field use-when="product==null" name="isCreate"><hidden value="true"/></field>
-
-        <field use-when="product!=null" name="productId"><hidden value="productId"/></field>
-
+        
+        <field use-when="product!=null" name="productId" title="${uiLabelMap.ProductProductId}" tooltip="${uiLabelMap.ProductNotModificationRecreatingProduct}"><display/></field>
+        <!--field use-when="product==null&amp;&amp;productId==null" name="productId" title="${uiLabelMap.ProductProductId}"><text size="20" maxlength="20"/></field-->
+        <field use-when="product==null&amp;&amp;productId!=null" name="productId" title="${uiLabelMap.ProductProductId}" tooltip="${uiLabelMap.ProductNotFindProductId} [${productId}]"><display/></field>
+        
         <field position="1" name="isVirtual" title="${uiLabelMap.ProductVirtualProduct}" widget-style="selectBox">
             <drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}" /><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
         </field>
@@ -142,9 +142,9 @@
             <drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
         </field-->
 
-        <!--field position="1" name="manufacturerPartyId" title="${uiLabelMap.ProductOemPartyId}" red-when="before-now"><text size="20" maxlength="20"/></field>
-
-        <field position="1" name="requireInventory" widget-style="selectBox" tooltip="${uiLabelMap.ProductInventoryRequiredProduct}">
+        <!--field position="1" name="manufacturerPartyId" title="${uiLabelMap.ProductOemPartyId}" red-when="before-now"><text size="20" maxlength="20"/></field-->
+        <field name="requireInventory"><hidden value="N"/></field>
+        <!--field position="1" name="requireInventory" widget-style="selectBox" tooltip="${uiLabelMap.ProductInventoryRequiredProduct}">
             <drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
         </field>
         <field position="2" name="inventoryMessage"  title="${uiLabelMap.ProductInventoryMessage}"><text size="20" maxlength="255"/></field>



More information about the Svn mailing list