Author: buscob
Date: Sat Apr 10 14:13:58 2010
New Revision: 932726

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

XHTML validation errors

    * attributes without values (checked)

Modified:
    
ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl

Modified: 
ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl?rev=932726&r1=932725&r2=932726&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl
 (original)
+++ 
ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl
 Sat Apr 10 14:13:58 2010
@@ -73,7 +73,7 @@ under the License.
               <td valign="middle">
                 <div>
                   <b>"${(searchCategory.description)?if_exists}" 
[${(searchCategory.productCategoryId)?if_exists}]</b> 
${uiLabelMap.ProductIncludeSubCategories}?
-                  ${uiLabelMap.CommonYes}<input type="radio" 
name="SEARCH_SUB_CATEGORIES" value="Y" checked/>
+                  ${uiLabelMap.CommonYes}<input type="radio" 
name="SEARCH_SUB_CATEGORIES" value="Y" checked="checked"/>
                   ${uiLabelMap.CommonNo}<input type="radio" 
name="SEARCH_SUB_CATEGORIES" value="N"/>
                 </div>
               </td>
@@ -176,8 +176,8 @@ under the License.
             <td valign="middle">
               <div>
                 <input type="text" name="SEARCH_STRING" size="40" 
value="${requestParameters.SEARCH_STRING?if_exists}" />&nbsp;
-                ${uiLabelMap.CommonAny}<input type="radio" 
name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked</#if> />
-                ${uiLabelMap.CommonAll}<input type="radio" 
name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked</#if> />
+                ${uiLabelMap.CommonAny}<input type="radio" 
name="SEARCH_OPERATOR" value="OR" <#if searchOperator == 
"OR">checked="checked"</#if> />
+                ${uiLabelMap.CommonAll}<input type="radio" 
name="SEARCH_OPERATOR" value="AND" <#if searchOperator == 
"AND">checked="checked"</#if> />
               </div>
             </td>
           </tr>
@@ -321,7 +321,7 @@ under the License.
                   <option 
value="SortProductPrice:MINIMUM_PRICE">${uiLabelMap.ProductMinimumPrice}</option>
                   <option 
value="SortProductPrice:MAXIMUM_PRICE">${uiLabelMap.ProductMaximumPrice}</option>
                 </select>
-                ${uiLabelMap.ProductLowToHigh}<input type="radio" 
name="sortAscending" value="Y" checked />
+                ${uiLabelMap.ProductLowToHigh}<input type="radio" 
name="sortAscending" value="Y" checked="checked" />
                 ${uiLabelMap.ProductHighToLow}<input type="radio" 
name="sortAscending" value="N" />
               </div>
             </td>


Reply via email to