You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mu...@apache.org on 2010/06/09 02:08:21 UTC

svn commit: r952868 [1/19] - in /myfaces/trinidad/trunk/trinidad-impl/src: main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/

Author: muthaman
Date: Wed Jun  9 00:08:20 2010
New Revision: 952868

URL: http://svn.apache.org/viewvc?rev=952868&view=rev
Log:
TRINIDAD-1819 - PPR Issues in Windows Mobile 6

Modified:
    myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/LabelAndMessageRenderer.java
    myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelBoxRenderer.java
    myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputColor-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputListOfValues-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputNumberSpinbox-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputText-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputText-rows-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/messages-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/messagesError-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/messagesFatal-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/messagesInfo-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/messagesWarn-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelBox-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelLabelAndMessage-facet-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelLabelAndMessage-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectBooleanCheckbox-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectBooleanRadio-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListBox-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectOneChoice-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectOneListbox-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectOneRadio-minimalPPC-golden.xml

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/LabelAndMessageRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/LabelAndMessageRenderer.java?rev=952868&r1=952867&r2=952868&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/LabelAndMessageRenderer.java (original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/LabelAndMessageRenderer.java Wed Jun  9 00:08:20 2010
@@ -31,6 +31,7 @@ import org.apache.myfaces.trinidad.bean.
 import org.apache.myfaces.trinidad.component.UIXGroup;
 import org.apache.myfaces.trinidad.component.UIXPanel;
 import org.apache.myfaces.trinidad.component.html.HtmlTableLayout;
+import org.apache.myfaces.trinidad.context.Agent;
 import org.apache.myfaces.trinidad.context.FormData;
 import org.apache.myfaces.trinidad.context.RenderingContext;
 import org.apache.myfaces.trinidad.context.RequestContext;
@@ -259,10 +260,26 @@ public abstract class LabelAndMessageRen
       // 2) not a non-panelForm-friendly component
       boolean needsTableTag = !isLabelStartAligned ||
                     (!needsPanelFormLayout && _needsTableTag(component));
+                    
+      boolean isPIE = Agent.PLATFORM_PPC.equalsIgnoreCase(
+                                        rc.getAgent().getPlatformName());
 
       if (needsTableTag)
       {
-        rw.startElement("table", component);
+        // While handling a PPR response, Windows Mobile cannot DOM replace
+        // a table element. Wrapping a table element with a div element fixes
+        // the problem.
+        if (isPIE)
+        {
+          rw.startElement("div", component);
+          renderId(context, component);
+          rw.startElement("table", null);
+        }
+        else
+        {
+          rw.startElement("table", component);
+        }
+        
         // =-=AEW THIS DOESN'T SEEM RIGHT - IT SHOULD GO ON THE INPUT FIELD
         // ONLY, RIGHT?  Matching UIX 2.2 behavior here.
         rw.writeAttribute("title", getShortDesc(component, bean), "title");
@@ -272,7 +289,9 @@ public abstract class LabelAndMessageRen
           // rendered in full width.
           rw.writeAttribute("width", "100%", null);
         }
-        renderId(context, component);
+        
+        if (!isPIE)
+          renderId(context, component);
 
         // put the outer style class here, like af_inputText, styleClass,
         // inlineStyle, 'state' styles like p_AFDisabled, etc.
@@ -378,6 +397,9 @@ public abstract class LabelAndMessageRen
       if (needsTableTag)
       {
         rw.endElement("table");
+                
+        if (isPIE)
+          rw.endElement("div");
       }
     }
 

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelBoxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelBoxRenderer.java?rev=952868&r1=952867&r2=952868&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelBoxRenderer.java (original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelBoxRenderer.java Wed Jun  9 00:08:20 2010
@@ -27,6 +27,7 @@ import javax.faces.context.ResponseWrite
 import org.apache.myfaces.trinidad.bean.FacesBean;
 import org.apache.myfaces.trinidad.bean.PropertyKey;
 import org.apache.myfaces.trinidad.component.core.layout.CorePanelBox;
+import org.apache.myfaces.trinidad.context.Agent;
 import org.apache.myfaces.trinidad.context.RenderingContext;
 
 
@@ -109,8 +110,26 @@ public class PanelBoxRenderer
     String text = getText(component, bean);
 
     ResponseWriter writer = context.getResponseWriter();
-    writer.startElement(XhtmlConstants.TABLE_ELEMENT, component); // The frame table
-    renderId(context, component);
+        
+    boolean isPIE = Agent.PLATFORM_PPC.equalsIgnoreCase(
+                               rc.getAgent().getPlatformName());
+                               
+    // While handling a PPR response, Windows Mobile cannot DOM replace
+    // a table element. Wrapping a table element with a div element fixes
+    // the problem.                               
+    if (isPIE)
+    {  
+      writer.startElement("div", component);
+      renderId(context, component);
+      // The frame table
+      writer.startElement(XhtmlConstants.TABLE_ELEMENT, null);
+    }
+    else
+    {
+      writer.startElement(XhtmlConstants.TABLE_ELEMENT, component);
+      renderId(context, component);
+    }
+    
     renderAllAttributes(context, rc, component, bean);
     writer.startElement(XhtmlConstants.TABLE_BODY_ELEMENT, null);
 
@@ -126,6 +145,9 @@ public class PanelBoxRenderer
 
     writer.endElement(XhtmlConstants.TABLE_BODY_ELEMENT);
     writer.endElement(XhtmlConstants.TABLE_ELEMENT);
+    
+    if (isPIE)
+      writer.endElement("div");
   }
 
   @Override

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java?rev=952868&r1=952867&r2=952868&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java (original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java Wed Jun  9 00:08:20 2010
@@ -424,6 +424,37 @@ abstract public class TableRenderer exte
           rw.writeText(tContext.getJSVarName()+"="+
                  TreeUtils.createNewJSCollectionComponentState(formName, tid)+";", null);
           rw.endElement(XhtmlConstants.SCRIPT_ELEMENT);
+          
+          // Incases where we partial refresh an empty table, Windows Mobile 
+          // ignore the JS which is sent as a PPR response to handle page 
+          // navigation and show/hide functions. To fix this problem, lets 
+          // render the JS here
+          if (Agent.PLATFORM_PPC.equalsIgnoreCase(
+                               rc.getAgent().getPlatformName()) 
+               && tContext.getRowData().isEmptyTable())
+          {
+            // Script for show/hide funtionality in detailStamp facet
+            rw.startElement(XhtmlConstants.SCRIPT_ELEMENT, null);
+            renderScriptDeferAttribute(context, rc);
+            renderScriptTypeAttribute(context, rc);
+            
+            String js =  "function _submitHideShow(a,v,b,c,l,d) {" +
+                      "var o = {"+
+                             XhtmlConstants.EVENT_PARAM + ":b," +
+                             XhtmlConstants.SOURCE_PARAM + ":c};" +
+                       "if (d!=(void 0)) o." +
+                             XhtmlConstants.VALUE_PARAM + "=d;" +
+                       "_setRequestedFocusNode(document,l,false,window);" +
+                       "_submitPartialChange(a,v,o);" +
+                       "return false;}";
+            
+            rw.writeText(js, null);
+            rw.endElement(XhtmlConstants.SCRIPT_ELEMENT);
+            
+            // Script for pagination
+            ProcessUtils.renderNavSubmitScript(context, rc);
+            ProcessUtils.renderNavChoiceSubmitScript(context, rc);
+          }
         }
       }
 

Modified: myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputColor-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputColor-minimalPPC-golden.xml?rev=952868&r1=952867&r2=952868&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputColor-minimalPPC-golden.xml (original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputColor-minimalPPC-golden.xml Wed Jun  9 00:08:20 2010
@@ -1,1493 +1,1609 @@
 <results>
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[chooseId,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[compact,false]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[compact,true]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[disabled,false]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[disabled,true]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor p_AFDisabled"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor p_AFDisabled"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 disabled="disabled"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   disabled="disabled"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[label,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-            <label
-                 for="mainId"
-                >
-              test-label
-            </label>
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+              <label
+                   for="mainId"
+                  >
+                test-label
+              </label>
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[readOnly,false]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[readOnly,true]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor p_AFReadOnly"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor p_AFReadOnly"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <div
-                 class="af_inputColor_content"
-                 id="mainId"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </div>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <div
+                   class="af_inputColor_content"
+                   id="mainId"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </div>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[required,false]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[required,true]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor p_AFRequired"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor p_AFRequired"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-            <span
-                 class="AFRequiredIconStyle"
-                 title="Required"
-                >
-              *
-            </span>
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+              <span
+                   class="AFRequiredIconStyle"
+                   title="Required"
+                  >
+                *
+              </span>
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[showRequired,false]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[required,false]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[required,true]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor p_AFRequired"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor p_AFRequired"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-            <span
-                 class="AFRequiredIconStyle"
-                 title="Required"
-                >
-              *
-            </span>
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+              <span
+                   class="AFRequiredIconStyle"
+                   title="Required"
+                  >
+                *
+              </span>
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[showRequired,true]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor p_AFRequired"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor p_AFRequired"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-            <span
-                 class="AFRequiredIconStyle"
-                 title="Required"
-                >
-              *
-            </span>
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+              <span
+                   class="AFRequiredIconStyle"
+                   title="Required"
+                  >
+                *
+              </span>
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[showRequired,true,AttributeTest[required,false]]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor p_AFRequired"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor p_AFRequired"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-            <span
-                 class="AFRequiredIconStyle"
-                 title="Required"
-                >
-              *
-            </span>
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+              <span
+                   class="AFRequiredIconStyle"
+                   title="Required"
+                  >
+                *
+              </span>
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[showRequired,true,AttributeTest[required,true]]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor p_AFRequired"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor p_AFRequired"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-            <span
-                 class="AFRequiredIconStyle"
-                 title="Required"
-                >
-              *
-            </span>
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+              <span
+                   class="AFRequiredIconStyle"
+                   title="Required"
+                  >
+                *
+              </span>
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[id,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="test-id__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
-            >
-          
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="test-id"
-                 name="test-id"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
-                >
-              
-            </input>
-            <div
-                >
-              
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-                  >
-                
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
+            >
+          
+          <tr
+              >
+            
+            <td
+                 class="af_inputColor_label"
+                >
+              
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
+                >
+              
+              <input
+                   class="af_inputColor_content"
+                   id="test-id"
+                   name="test-id"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[inlineStyle,background-color:red]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           style="background-color:red"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             style="background-color:red"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[shortDesc,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           title="test-shortDesc"
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             title="test-shortDesc"
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 size="11"
-                 title="test-shortDesc"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   size="11"
+                   title="test-shortDesc"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onblur,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="return _chain('_fixCFF(this);','test-onblur',this,null)"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="return _chain('_fixCFF(this);','test-onblur',this,null)"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[ondblclick,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 ondblclick="test-ondblclick"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   ondblclick="test-ondblclick"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onkeydown,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 onkeydown="test-onkeydown"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   onkeydown="test-onkeydown"
+                   size="11"
+                   type="text"
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+              </input>
+              <div
+                  >
+                
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onkeypress,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 onkeypress="test-onkeypress"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   onkeypress="test-onkeypress"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onmousedown,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 onmousedown="test-onmousedown"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   onmousedown="test-onmousedown"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onmousemove,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
-              >
-            
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
+          <tr
               >
             
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 onmousemove="test-onmousemove"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   onmousemove="test-onmousemove"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onmouseout,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 onmouseout="test-onmouseout"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   onmouseout="test-onmouseout"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onmouseover,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 onmouseover="test-onmouseover"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   onmouseover="test-onmouseover"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 <!--AttributeTest[onmouseup,null]-->
 
-      <table
-           border="0"
-           cellpadding="0"
-           cellspacing="0"
-           class="af_inputColor"
+      <div
            id="mainId__xc_"
-           summary=""
-           width="100%"
           >
         
-        <tr
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             class="af_inputColor"
+             summary=""
+             width="100%"
             >
           
-          <td
-               class="af_inputColor_label"
+          <tr
               >
             
-          </td>
-          <td
-               class="AFContentCell"
-               valign="top"
-              >
-            
-            <input
-                 class="af_inputColor_content"
-                 id="mainId"
-                 name="mainId"
-                 onblur="_fixCFF(this);"
-                 onmouseup="test-onmouseup"
-                 size="11"
-                 type="text"
+            <td
+                 class="af_inputColor_label"
                 >
               
-            </input>
-            <div
+            </td>
+            <td
+                 class="AFContentCell"
+                 valign="top"
                 >
               
-              <img
-                   alt=""
-                   height="0"
-                   width="1"
-                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+              <input
+                   class="af_inputColor_content"
+                   id="mainId"
+                   name="mainId"
+                   onblur="_fixCFF(this);"
+                   onmouseup="test-onmouseup"
+                   size="11"
+                   type="text"
+                  >
+                
+              </input>
+              <div
                   >
                 
-              </img>
-            </div>
-          </td>
-        </tr>
-      </table>
+                <img
+                     alt=""
+                     height="0"
+                     width="1"
+                     src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                    >
+                  
+                </img>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
 </results>