Author: buscob
Date: Sat Apr 17 22:07:44 2010
New Revision: 935266

URL: http://svn.apache.org/viewvc?rev=935266&view=rev
Log:
A patch from Blas Rodriguez Somoza
OFBIZ-3687 - XHTML validation errors round 2 (manufacturing)
https://issues.apache.org/jira/browse/OFBIZ-3687
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

EditProductBom.ftl
Line 110: duplicated id "productId"

EditCalendar.ftl
Lines 71, 74: unclosed td

Modified:
    
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl
    
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl
    
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl

Modified: 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl?rev=935266&r1=935265&r2=935266&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/EditProductBom.ftl
 Sat Apr 17 22:07:44 2010
@@ -107,7 +107,7 @@ function lookupBom() {
             <td align="right">${uiLabelMap.ProductProductId}</td>
             <td>&nbsp;</td>
             <td>
-                <@htmlTemplate.lookupField value="${productId?if_exists}" 
formName="editProductAssocForm" name="productId" id="productId" 
fieldFormName="LookupProduct"/>
+                <@htmlTemplate.lookupField value="${productId?if_exists}" 
formName="editProductAssocForm" name="productId" id="productId2" 
fieldFormName="LookupProduct"/>
             </td>
           </tr>
           <tr>

Modified: 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl?rev=935266&r1=935265&r2=935266&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl
 Sat Apr 17 22:07:44 2010
@@ -66,7 +66,7 @@ function lookupInventory() {
                       <span>
                         <@htmlTemplate.lookupField 
value='${requestParameters.productId?if_exists}' formName="lookupinventory" 
name="productId" id="productId" fieldFormName="LookupProduct"/>
                       </span>
-                      <input type='text' size='25' readonly 
name='productId_description' value=''/>${uiLabelMap.CommonDescription}
+                      <input type='text' size='25' readonly="readonly" 
name='productId_description' value=''/>${uiLabelMap.CommonDescription}
                      </td>
                   </tr>
                   <tr>

Modified: 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl?rev=935266&r1=935265&r2=935266&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/routing/EditCalendar.ftl
 Sat Apr 17 22:07:44 2010
@@ -69,9 +69,10 @@ under the License.
           <option value="${calendarWeek.calendarWeekId}" <#if 
calendarData?has_content && calendarData.calendarWeekId?default("") == 
calendarWeek.calendarWeekId>SELECTED</#if>>${(calendarWeek.get("description",locale))?if_exists}</option>
           </#list>
         </select>
+      </td>
     </tr>
     <tr>
-      <td width="26%" align="right" valign="top">
+      <td width="26%" align="right" valign="top"></td>
       <td width="5">&nbsp;</td>
       <td width="74%"><input type="submit" value="${uiLabelMap.CommonUpdate}" 
/></td>
     </tr>


Reply via email to