Modified: 
ofbiz/trunk/applications/product/webapp/facility/returns/receiveReturn.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/returns/receiveReturn.ftl?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/returns/receiveReturn.ftl 
(original)
+++ ofbiz/trunk/applications/product/webapp/facility/returns/receiveReturn.ftl 
Sun Apr 18 07:00:37 2010
@@ -97,7 +97,7 @@ under the License.
 
                   <#assign unitCost = 
Static["org.ofbiz.order.order.OrderReturnServices"].getReturnItemInitialCost(delegator,
 returnItem.returnId, returnItem.returnItemSeqId)/>
                   <tr>
-                    <td colspan="2"><hr></td>
+                    <td colspan="2"><hr/></td>
                   </tr>
                   <tr>
                     <td>
@@ -208,7 +208,7 @@ under the License.
                 </#list>
                 <tr>
                   <td colspan="2">
-                    <hr>
+                    <hr/>
                   </td>
                 </tr>
                 <#if rowCount == 0>

Modified: 
ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentPackages.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentPackages.ftl?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentPackages.ftl
 (original)
+++ 
ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentPackages.ftl
 Sun Apr 18 07:00:37 2010
@@ -68,7 +68,7 @@ under the License.
                     <select name="shipmentBoxTypeId">
                         <option value="">&nbsp;</option>
                         <#list boxTypes as boxType>
-                            <option value="${boxType.shipmentBoxTypeId}" <#if 
shipmentPackage.shipmentBoxTypeId?exists && shipmentPackage.shipmentBoxTypeId 
== 
boxType.shipmentBoxTypeId>selected</#if>>${boxType.get("description",locale)}</option>
+                            <option value="${boxType.shipmentBoxTypeId}" <#if 
shipmentPackage.shipmentBoxTypeId?exists && shipmentPackage.shipmentBoxTypeId 
== 
boxType.shipmentBoxTypeId>selected="selected"</#if>>${boxType.get("description",locale)}</option>
                         </#list>
                     </select>
                     <span 
class="label">${uiLabelMap.ProductShipmentInsuredValuePackage}</span>

Modified: 
ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentRouteSegments.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentRouteSegments.ftl?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentRouteSegments.ftl
 (original)
+++ 
ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentRouteSegments.ftl
 Sun Apr 18 07:00:37 2010
@@ -202,7 +202,7 @@ under the License.
                                     <option 
${(shipmentRouteSegment.homeDeliveryType?default("")=="EVENING")?string("selected=\"selected\"","")}
 value="EVENING">${uiLabelMap.ProductShipmentFedexHomeEvening}</option>
                                     <option 
${(shipmentRouteSegment.homeDeliveryType?default("")=="APPOINTMENT")?string("selected=\"selected\"","")}
 value="APPOINTMENT">${uiLabelMap.ProductShipmentFedexHomeAppointment}</option>
                                 </select>
-                                <input type="text" size="25" 
name="homeDeliveryDate" 
value="${(shipmentRouteSegment.homeDeliveryDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.homeDeliveryDate,
 
'${(shipmentRouteSegment.homeDeliveryDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
+                                <input type="text" size="25" 
name="homeDeliveryDate" 
value="${(shipmentRouteSegment.homeDeliveryDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.homeDeliveryDate,
 
'${(shipmentRouteSegment.homeDeliveryDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
                             </#if>
                         <#else>
                             <#-- Todo: implement closeout with Fedex -->
@@ -230,11 +230,11 @@ under the License.
                     <br />
                     <input type="text" size="24" name="trackingIdNumber" 
value="${shipmentRouteSegment.trackingIdNumber?if_exists}"/>
                     <br />
-                    <input type="text" size="25" name="estimatedStartDate" 
value="${(shipmentRouteSegment.estimatedStartDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.estimatedStartDate,
 
'${(shipmentRouteSegment.estimatedStartDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
-                    <input type="text" size="25" name="estimatedArrivalDate" 
value="${(shipmentRouteSegment.estimatedArrivalDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.estimatedArrivalDate,
 
'${(shipmentRouteSegment.estimatedArrivalDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
+                    <input type="text" size="25" name="estimatedStartDate" 
value="${(shipmentRouteSegment.estimatedStartDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.estimatedStartDate,
 
'${(shipmentRouteSegment.estimatedStartDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
+                    <input type="text" size="25" name="estimatedArrivalDate" 
value="${(shipmentRouteSegment.estimatedArrivalDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.estimatedArrivalDate,
 
'${(shipmentRouteSegment.estimatedArrivalDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
                     <br />
-                    <input type="text" size="25" name="actualStartDate" 
value="${(shipmentRouteSegment.actualStartDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.actualStartDate,
 
'${(shipmentRouteSegment.actualStartDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
-                    <input type="text" size="25" name="actualArrivalDate" 
value="${(shipmentRouteSegment.actualArrivalDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.actualArrivalDate,
 
'${(shipmentRouteSegment.actualArrivalDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
+                    <input type="text" size="25" name="actualStartDate" 
value="${(shipmentRouteSegment.actualStartDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.actualStartDate,
 
'${(shipmentRouteSegment.actualStartDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
+                    <input type="text" size="25" name="actualArrivalDate" 
value="${(shipmentRouteSegment.actualArrivalDate.toString())?if_exists}"/><a 
href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.actualArrivalDate,
 
'${(shipmentRouteSegment.actualArrivalDate.toString())?default(nowTimestampString)}');"><img
 src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
                 </div>
             </td>
             <td valign="top">
@@ -431,11 +431,11 @@ under the License.
                     <br />
                     <input type="text" size="24" name="trackingIdNumber" 
value=""/>
                     <br />
-                    <input type="text" size="25" name="estimatedStartDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.estimatedStartDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
-                    <input type="text" size="25" name="estimatedArrivalDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.estimatedArrivalDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
+                    <input type="text" size="25" name="estimatedStartDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.estimatedStartDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
+                    <input type="text" size="25" name="estimatedArrivalDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.estimatedArrivalDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
                     <br />
-                    <input type="text" size="25" name="actualStartDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.actualStartDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
-                    <input type="text" size="25" name="actualArrivalDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.actualArrivalDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar'></a>
+                    <input type="text" size="25" name="actualStartDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.actualStartDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
+                    <input type="text" size="25" name="actualArrivalDate" 
value=""/><a 
href="javascript:call_cal(document.createShipmentRouteSegmentForm.actualArrivalDate,
 '${nowTimestampString}');"><img 
src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' 
height='16' border='0' alt='Calendar' /></a>
                 </td>
                 <td valign="top">
                     <input type="text" size="5" name="billingWeight" 
value="${(shipmentRouteSegment.billingWeight)?if_exists}"/>

Modified: 
ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl 
(original)
+++ ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl Sun 
Apr 18 07:00:37 2010
@@ -86,7 +86,7 @@ under the License.
                 <tr>
                   <td colspan="2">&nbsp;</td>
                   <td colspan="2">
-                    <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onClick="javascript:document.selectOrderForm.submit();" />
+                    <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onclick="javascript:document.selectOrderForm.submit();" />
                     <a href="javascript:document.selectOrderForm.submit();" 
class="buttontext">${uiLabelMap.ProductPackOrder}</a>
                     <a 
href="javascript:document.selectOrderForm.action='<@ofbizUrl>WeightPackageOnly</@ofbizUrl>';document.selectOrderForm.submit();"
 class="buttontext">${uiLabelMap.ProductWeighPackageOnly}</a>
                   </td>
@@ -111,7 +111,7 @@ under the License.
                 <tr>
                   <td colspan="2">&nbsp;</td>
                   <td colspan="1">
-                    <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onClick="javascript:document.selectPicklistBinForm.submit();" />
+                    <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onclick="javascript:document.selectPicklistBinForm.submit();" />
                     <a 
href="javascript:document.selectPicklistBinForm.submit();" 
class="buttontext">${uiLabelMap.ProductPackOrder}</a>
                     <a 
href="javascript:document.selectPicklistBinForm.action='<@ofbizUrl>WeightPackageOnly</@ofbizUrl>';document.selectPicklistBinForm.submit();"
 class="buttontext">${uiLabelMap.ProductWeighPackageOnly}</a>
                   </td>
@@ -355,7 +355,7 @@ under the License.
                   <input type="hidden" name="forceComplete" 
value="${forceComplete?default('false')}"/>
                   <input type="hidden" name="weightUomId" 
value="${defaultWeightUomId}"/>
                   <input type="hidden" name="showInput" value="N"/>
-                  <hr>
+                  <hr/>
                   <table class="basic-table" cellpadding="2" cellspacing='0'>
                     <tr>
                         <#assign packageSeqIds = 
packingSession.getPackageSeqIds()/>

Modified: 
ofbiz/trunk/applications/product/webapp/facility/shipment/QuickShipOrder.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/QuickShipOrder.ftl?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/product/webapp/facility/shipment/QuickShipOrder.ftl 
(original)
+++ 
ofbiz/trunk/applications/product/webapp/facility/shipment/QuickShipOrder.ftl 
Sun Apr 18 07:00:37 2010
@@ -105,7 +105,7 @@ function setWeight(weight) {
                   </td>
                   <td>&nbsp;</td>
                   <td width="80%">
-                    <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onClick="javascript:document.routeForm.submit();" />
+                    <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onclick="javascript:document.routeForm.submit();" />
                   </td>
                 </tr>
               </table>
@@ -147,7 +147,7 @@ function setWeight(weight) {
               <tr>
                 <td colspan="2">&nbsp;</td>
                 <td width="80%">
-                  <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onClick="javascript:document.weightForm.submit();"/>
+                  <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onclick="javascript:document.weightForm.submit();"/>
                   <a href="javascript:document.weightForm.submit();" 
class="buttontext">${uiLabelMap.ProductSetWeight}</a>
                 </td>
               </tr>
@@ -191,7 +191,7 @@ function setWeight(weight) {
         <tr>
           <td colspan="2">&nbsp;</td>
           <td colspan="2">
-            <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onClick="javascript:document.selectOrderForm.submit();" />
+            <input type="image" 
src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" 
onclick="javascript:document.selectOrderForm.submit();" />
             <a href="javascript:document.selectOrderForm.submit();" 
class="buttontext">${uiLabelMap.ProductShipOrder}</a>
           </td>
         </tr>

Modified: 
ofbiz/trunk/applications/product/webapp/facility/shipment/WeightPackage.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/WeightPackage.ftl?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/shipment/WeightPackage.ftl 
(original)
+++ ofbiz/trunk/applications/product/webapp/facility/shipment/WeightPackage.ftl 
Sun Apr 18 07:00:37 2010
@@ -185,7 +185,7 @@ under the License.
                 <input type="hidden" name = "orderId" value = 
"${orderId?if_exists}"/>
                 <#assign packedLines = 
weightPackageSession.getPackedLines(orderId)/>
                 <#if packedLines?has_content>
-                  <hr>
+                  <hr/>
                 </#if>
                 <tr>
                   <td>
@@ -243,19 +243,19 @@ under the License.
                     <td>
                       <span class="label">
                         ${uiLabelMap.ProductPackage} ${(shipmentPackage_index 
+ 1)}
-                        <input type="text" size="7" readonly 
name="packageWeight" value="${(shipmentPackage.weight)?if_exists}" />
+                        <input type="text" size="7" readonly="readonly" 
name="packageWeight" value="${(shipmentPackage.weight)?if_exists}" />
                       </span>
                     </td>
                     <td>
-                      <span class="label">${uiLabelMap.CommonLength}<input 
type="text" readonly name="packageLength" 
value="${(shipmentPackage.boxLength)?if_exists}" size="5"/></span>
-                      <span class="label">${uiLabelMap.ProductWidth}<input 
type="text" readonly name="packageWidth" 
value="${(shipmentPackage.boxWidth)?if_exists}" size="5"/></span>
-                      <span class="label">${uiLabelMap.PartyHeight}<input 
type="text" readonly name="packageHeight" 
value="${(shipmentPackage.boxHeight)?if_exists}" size="5"/></span>
+                      <span class="label">${uiLabelMap.CommonLength}<input 
type="text" readonly="readonly" name="packageLength" 
value="${(shipmentPackage.boxLength)?if_exists}" size="5"/></span>
+                      <span class="label">${uiLabelMap.ProductWidth}<input 
type="text" readonly="readonly" name="packageWidth" 
value="${(shipmentPackage.boxWidth)?if_exists}" size="5"/></span>
+                      <span class="label">${uiLabelMap.PartyHeight}<input 
type="text" readonly="readonly" name="packageHeight" 
value="${(shipmentPackage.boxHeight)?if_exists}" size="5"/></span>
                     </td>
                     <td>
                       <#if (shipmentPackage.shipmentBoxTypeId)?has_content>
                         <#assign shipmentBoxType = 
delegator.findOne("ShipmentBoxType", 
Static["org.ofbiz.base.util.UtilMisc"].toMap("shipmentBoxTypeId", 
shipmentPackage.shipmentBoxTypeId), true)>
                       </#if>
-                      <input type="text" readonly name="shipmentBoxTypeId" 
value="${(shipmentBoxType.description)?if_exists}" size="50"/>
+                      <input type="text" readonly="readonly" 
name="shipmentBoxTypeId" value="${(shipmentBoxType.description)?if_exists}" 
size="50"/>
                     </td>
                   </tr>
                 </#list>

Modified: ofbiz/trunk/applications/product/widget/catalog/FacilityForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/FacilityForms.xml?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/FacilityForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/FacilityForms.xml Sun Apr 
18 07:00:37 2010
@@ -90,7 +90,7 @@ under the License.
         <field name="lotId" title="${uiLabelMap.ProductLotId}"><text/></field>
         <!-- the content of the softIdentifier field is converted from hex to 
int if it starts with "0x";
              this is a nice example of using JavaScript in a form widget 
definition -->
-        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onClick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
+        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onclick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
             <submit button-type="button"/>
         </field>
     </form>
@@ -212,7 +212,7 @@ under the License.
                 <option key="BY_DATE" 
description="${uiLabelMap.ProductByDate}"/>
             </drop-down>
         </field>
-        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onClick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
+        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onclick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
             <submit button-type="button"/>
         </field>
     </form>
@@ -590,8 +590,8 @@ under the License.
                 <entity-options entity-name="VarianceReason" 
description="${description}"/>
             </drop-down>
         </field>
-        <field name="availableToPromiseVar" 
title="${uiLabelMap.ProductProductATPVar}" event="onChange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
-        <field name="quantityOnHandVar" 
title="${uiLabelMap.ProductProductQOHVar}" event="onChange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
+        <field name="availableToPromiseVar" 
title="${uiLabelMap.ProductProductATPVar}" event="onchange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
+        <field name="quantityOnHandVar" 
title="${uiLabelMap.ProductProductQOHVar}" event="onchange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
         <field name="_rowSubmit" 
title="${uiLabelMap.CommonSelect}"><check/></field>
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}" 
widget-style="smallSubmit">
             <submit/>

Modified: ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml?rev=935309&r1=935308&r2=935309&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml 
(original)
+++ ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml Sun Apr 
18 07:00:37 2010
@@ -90,7 +90,7 @@ under the License.
         <field name="lotId" title="${uiLabelMap.ProductLotId}"><text/></field>
         <!-- the content of the softIdentifier field is converted from hex to 
int if it starts with "0x";
              this is a nice example of using JavaScript in a form widget 
definition -->
-        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onClick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
+        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onclick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
             <submit button-type="button"/>
         </field>
     </form>
@@ -212,7 +212,7 @@ under the License.
                 <option key="BY_DATE" 
description="${uiLabelMap.ProductByDate}"/>
             </drop-down>
         </field>
-        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onClick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
+        <field name="submitButton" title="${uiLabelMap.CommonFind}" 
event="onclick" action="javascript:var 
field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if 
(tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) 
{field.value=tmp};return true;">
             <submit button-type="button"/>
         </field>
     </form>
@@ -590,8 +590,8 @@ under the License.
                 <entity-options entity-name="VarianceReason" 
description="${description}"/>
             </drop-down>
         </field>
-        <field name="availableToPromiseVar" 
title="${uiLabelMap.ProductProductATPVar}" event="onChange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
-        <field name="quantityOnHandVar" 
title="${uiLabelMap.ProductProductQOHVar}" event="onChange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
+        <field name="availableToPromiseVar" 
title="${uiLabelMap.ProductProductATPVar}" event="onchange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
+        <field name="quantityOnHandVar" 
title="${uiLabelMap.ProductProductQOHVar}" event="onchange" 
action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = 
true"><text size="6"/></field>
         <field name="_rowSubmit" 
title="${uiLabelMap.CommonSelect}"><check/></field>
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}" 
widget-style="smallSubmit">
             <submit/>


Reply via email to