incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r526659 [1/5] - in /incubator/adffaces/trunk/trinidad: trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/ trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ tr...
Date Mon, 09 Apr 2007 06:28:33 GMT
Author: awiner
Date: Sun Apr  8 23:28:32 2007
New Revision: 526659

URL: http://svn.apache.org/viewvc?view=rev&rev=526659
Log:
ADFFACES-186: autoSubmit functionality in tr:table is missing after removing tableSelectMany and tableSelectOne
- Patch from Danny Robinson
- Also added renderkit tests for this new attribute

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/CommonTableAttrs.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormElementRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimal-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIE-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIERtl-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalInacc-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalPPC-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalSaf-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalScrRdr-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectOne-minimal-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectOne-minimalIE-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectOne-minimalIERtl-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectOne-minimalInacc-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectOne-minimalPPC-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectOne-minimalSaf-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectOne-minimalScrRdr-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/tableSelectMany.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/tableSelectOne.xml

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/CommonTableAttrs.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/CommonTableAttrs.xml?view=diff&rev=526659&r1=526658&r2=526659
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/CommonTableAttrs.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/CommonTableAttrs.xml Sun Apr  8 23:28:32 2007
@@ -108,6 +108,15 @@
       </property-extension>
     </property>
     <property>
+      <description><![CDATA[If set to TRUE on a form element, the component will automatically submit
+     the enclosing form when an appropriate action takes place (a click, text
+     change, etc.).  This only takes effect if rowSelection attribute enabled.]]>
+      </description>
+      <property-name>autoSubmit</property-name>
+      <property-class>boolean</property-class>
+      <default-value>false</default-value>
+    </property>
+    <property>
       <description><![CDATA[the width of the table.  The value must either be a number of pixels or a percentage - it is not a CSS width.]]></description>
       <property-name>width</property-name>
       <property-class>java.lang.String</property-class>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormElementRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormElementRenderer.java?view=diff&rev=526659&r1=526658&r2=526659
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormElementRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormElementRenderer.java Sun Apr  8 23:28:32 2007
@@ -257,6 +257,9 @@
    */
   protected boolean isAutoSubmit(FacesBean bean)
   {
+    if (_autoSubmitKey == null)
+      return false;
+
     return Boolean.TRUE.equals(bean.getProperty(_autoSubmitKey));
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java?view=diff&rev=526659&r1=526658&r2=526659
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java Sun Apr  8 23:28:32 2007
@@ -283,12 +283,6 @@
     }
 
     @Override
-    protected boolean isAutoSubmit(FacesBean bean)
-    {
-      return false;
-    }
-
-    @Override
     protected boolean isImmediate(FacesBean bean)
     {
       TableRenderingContext tContext =

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimal-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimal-golden.xml?view=diff&rev=526659&r1=526658&r2=526659
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimal-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimal-golden.xml Sun Apr  8 23:28:32 2007
@@ -94,12 +94,12 @@
                                  selected="selected"
                                  value="1"
                                 >
-                              1-5 of 6
+                              1-3 of 6
                             </option>
                             <option
-                                 value="6"
+                                 value="4"
                                 >
-                              6-6 of 6
+                              4-6 of 6
                             </option>
                           </select>
                           <label
@@ -132,10 +132,10 @@
                           
                           <a
                                class="OraNavBarActiveLink"
-                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'6');return false"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
                                href="uri-attr:#"
                               >
-                            Next 1
+                            Next 3
                           </a>
                         </td>
                       </tr>
@@ -218,11 +218,351 @@
                       >
                     StringHeader
                   </th>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:0"
+                         name="mainId:_s"
+                         title="Select"
+                         type="checkbox"
+                         value="0"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:0"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="0"
+                        >
+                      
+                    </input>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                      >
+                    First
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:1"
+                         name="mainId:_s"
+                         title="Select"
+                         type="checkbox"
+                         value="1"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:1"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="1"
+                        >
+                      
+                    </input>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                      >
+                    Second
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:2"
+                         name="mainId:_s"
+                         title="Select"
+                         type="checkbox"
+                         value="2"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:2"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="2"
+                        >
+                      
+                    </input>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                      >
+                    Three
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
+<!--AttributeTest[autoSubmit,false]-->
+
+      <div
+           id="mainId"
+          >
+        
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             summary=""
+            >
+          
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_control-bar-top"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       width="100%"
+                      >
+                    
+                  </td>
+                  <td
+                       align="right"
+                       valign="middle"
+                      >
+                    
+                    <table
+                         border="0"
+                         cellpadding="0"
+                         cellspacing="0"
+                         id="mainId-nb"
+                         summary=""
+                        >
+                      
+                      <tr
+                          >
+                        
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <span
+                               class="OraNavBarInactiveLink"
+                              >
+                            Previous
+                          </span>
+                        </td>
+                        <td
+                            >
+                          
+                          <img
+                               alt=""
+                               height="1"
+                               width="5"
+                               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                              >
+                            
+                          </img>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <select
+                               class="AFFieldText"
+                               id="mainId-nb__xc_c"
+                               onchange="_navChoiceSubmit(this, 'formId','goto','mainId',1)"
+                               onfocus="this._lastValue = this.selectedIndex"
+                               title="Select record set"
+                              >
+                            
+                            <option
+                                 value="all"
+                                >
+                              Show All 6
+                            </option>
+                            <option
+                                 selected="selected"
+                                 value="1"
+                                >
+                              1-3 of 6
+                            </option>
+                            <option
+                                 value="4"
+                                >
+                              4-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                              >
+                            _setSelectIndexById("mainId-nb__xc_c",1)
+                          </script>
+                        </td>
+                        <td
+                            >
+                          
+                          <img
+                               alt=""
+                               height="1"
+                               width="5"
+                               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                              >
+                            
+                          </img>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <a
+                               class="OraNavBarActiveLink"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
+                               href="uri-attr:#"
+                              >
+                            Next 3
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_sub-control-bar"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       nowrap="nowrap"
+                       valign="middle"
+                      >
+                    
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(true)"
+                         href="uri-attr:#"
+                        >
+                      Select All
+                    </a>&#xa0;|&#xa0;
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(false)"
+                         href="uri-attr:#"
+                        >
+                      Select None
+                    </a>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="1"
+                   cellspacing="0"
+                   class="af_table_content"
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <th
+                       class="af_column_header-icon-format"
+                       nowrap="nowrap"
+                       scope="col"
+                       width="1%"
+                      >
+                    Select
+                  </th>
                   <th
                        class="af_column_header-text OraTableBorder0001"
                        scope="col"
                       >
-                    IntHeader
+                    StringHeader
                   </th>
                 </tr>
                 <tr
@@ -260,11 +600,6 @@
                       >
                     First
                   </td>
-                  <td
-                       class="af_column_cell-text OraTableBorder1111"
-                      >
-                    1
-                  </td>
                 </tr>
                 <tr
                     >
@@ -301,11 +636,6 @@
                       >
                     Second
                   </td>
-                  <td
-                       class="af_column_cell-text OraTableBorder1111"
-                      >
-                    2
-                  </td>
                 </tr>
                 <tr
                     >
@@ -342,12 +672,245 @@
                       >
                     Three
                   </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
+<!--AttributeTest[autoSubmit,true]-->
+
+      <div
+           id="mainId"
+          >
+        
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             summary=""
+            >
+          
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_control-bar-top"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       width="100%"
+                      >
+                    
+                  </td>
                   <td
-                       class="af_column_cell-text OraTableBorder1111"
+                       align="right"
+                       valign="middle"
+                      >
+                    
+                    <table
+                         border="0"
+                         cellpadding="0"
+                         cellspacing="0"
+                         id="mainId-nb"
+                         summary=""
+                        >
+                      
+                      <tr
+                          >
+                        
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <span
+                               class="OraNavBarInactiveLink"
+                              >
+                            Previous
+                          </span>
+                        </td>
+                        <td
+                            >
+                          
+                          <img
+                               alt=""
+                               height="1"
+                               width="5"
+                               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                              >
+                            
+                          </img>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <select
+                               class="AFFieldText"
+                               id="mainId-nb__xc_c"
+                               onchange="_navChoiceSubmit(this, 'formId','goto','mainId',1)"
+                               onfocus="this._lastValue = this.selectedIndex"
+                               title="Select record set"
+                              >
+                            
+                            <option
+                                 value="all"
+                                >
+                              Show All 6
+                            </option>
+                            <option
+                                 selected="selected"
+                                 value="1"
+                                >
+                              1-3 of 6
+                            </option>
+                            <option
+                                 value="4"
+                                >
+                              4-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                              >
+                            _setSelectIndexById("mainId-nb__xc_c",1)
+                          </script>
+                        </td>
+                        <td
+                            >
+                          
+                          <img
+                               alt=""
+                               height="1"
+                               width="5"
+                               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                              >
+                            
+                          </img>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <a
+                               class="OraNavBarActiveLink"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
+                               href="uri-attr:#"
+                              >
+                            Next 3
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_sub-control-bar"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       nowrap="nowrap"
+                       valign="middle"
                       >
-                    3
+                    
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(true)"
+                         href="uri-attr:#"
+                        >
+                      Select All
+                    </a>&#xa0;|&#xa0;
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(false)"
+                         href="uri-attr:#"
+                        >
+                      Select None
+                    </a>
                   </td>
                 </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="1"
+                   cellspacing="0"
+                   class="af_table_content"
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <th
+                       class="af_column_header-icon-format"
+                       nowrap="nowrap"
+                       scope="col"
+                       width="1%"
+                      >
+                    Select
+                  </th>
+                  <th
+                       class="af_column_header-text OraTableBorder0001"
+                       scope="col"
+                      >
+                    StringHeader
+                  </th>
+                </tr>
                 <tr
                     >
                   
@@ -355,25 +918,30 @@
                        class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
                       >
                     
+                    <script
+                        >
+                      var _pprUpdateMode=false;function _adfspu(f,v,e,s,o){_pprUpdateMode=true;if(!o)o=new Object();o.event=(e)?e:'update';if(s)o.source=s;_submitPartialChange(f,v,o);}
+                    </script>
                     <input
-                         id="mainId:3"
+                         id="mainId:0"
                          name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
                          title="Select"
                          type="checkbox"
-                         value="3"
+                         value="0"
                         >
                       
                     </input>
                     <label
                          class="p_OraHiddenLabel"
-                         for="mainId:3"
+                         for="mainId:0"
                         >
                       Select
                     </label>
                     <input
                          name="mainId:_us"
                          type="hidden"
-                         value="3"
+                         value="0"
                         >
                       
                     </input>
@@ -381,12 +949,7 @@
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    Four
-                  </td>
-                  <td
-                       class="af_column_cell-text OraTableBorder1111"
-                      >
-                    4
+                    First
                   </td>
                 </tr>
                 <tr
@@ -397,24 +960,25 @@
                       >
                     
                     <input
-                         id="mainId:4"
+                         id="mainId:1"
                          name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
                          title="Select"
                          type="checkbox"
-                         value="4"
+                         value="1"
                         >
                       
                     </input>
                     <label
                          class="p_OraHiddenLabel"
-                         for="mainId:4"
+                         for="mainId:1"
                         >
                       Select
                     </label>
                     <input
                          name="mainId:_us"
                          type="hidden"
-                         value="4"
+                         value="1"
                         >
                       
                     </input>
@@ -422,12 +986,44 @@
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    Five
+                    Second
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:2"
+                         name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
+                         title="Select"
+                         type="checkbox"
+                         value="2"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:2"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="2"
+                        >
+                      
+                    </input>
                   </td>
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    5
+                    Three
                   </td>
                 </tr>
               </table>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIE-golden.xml?view=diff&rev=526659&r1=526658&r2=526659
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIE-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIE-golden.xml Sun Apr  8 23:28:32 2007
@@ -90,12 +90,12 @@
                                  selected="selected"
                                  value="1"
                                 >
-                              1-5 of 6
+                              1-3 of 6
                             </option>
                             <option
-                                 value="6"
+                                 value="4"
                                 >
-                              6-6 of 6
+                              4-6 of 6
                             </option>
                           </select>
                           <label
@@ -124,10 +124,10 @@
                           
                           <a
                                class="OraNavBarActiveLink"
-                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'6');return false"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
                                href="uri-attr:#"
                               >
-                            Next 1
+                            Next 3
                           </a>
                         </td>
                       </tr>
@@ -211,12 +211,6 @@
                       >
                     StringHeader
                   </th>
-                  <th
-                       class="af_column_header-text OraTableBorder0001"
-                       scope="col"
-                      >
-                    IntHeader
-                  </th>
                 </tr>
                 <tr
                     >
@@ -253,11 +247,6 @@
                       >
                     First
                   </td>
-                  <td
-                       class="af_column_cell-text OraTableBorder1111"
-                      >
-                    1
-                  </td>
                 </tr>
                 <tr
                     >
@@ -294,11 +283,6 @@
                       >
                     Second
                   </td>
-                  <td
-                       class="af_column_cell-text OraTableBorder1111"
-                      >
-                    2
-                  </td>
                 </tr>
                 <tr
                     >
@@ -335,10 +319,308 @@
                       >
                     Three
                   </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
+<!--AttributeTest[autoSubmit,false]-->
+
+      <div
+           id="mainId"
+          >
+        
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             summary=""
+            >
+          
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_control-bar-top"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       width="100%"
+                      >
+                    
+                  </td>
+                  <td
+                       align="right"
+                       valign="middle"
+                      >
+                    
+                    <table
+                         border="0"
+                         cellpadding="0"
+                         cellspacing="0"
+                         id="mainId-nb"
+                         summary=""
+                        >
+                      
+                      <tr
+                          >
+                        
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <span
+                               class="OraNavBarInactiveLink"
+                              >
+                            Previous
+                          </span>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <select
+                               class="AFFieldText"
+                               id="mainId-nb__xc_c"
+                               onchange="_navChoiceSubmit(this, 'formId','goto','mainId',1)"
+                               onfocus="this._lastValue = this.selectedIndex"
+                               title="Select record set"
+                              >
+                            
+                            <option
+                                 value="all"
+                                >
+                              Show All 6
+                            </option>
+                            <option
+                                 selected="selected"
+                                 value="1"
+                                >
+                              1-3 of 6
+                            </option>
+                            <option
+                                 value="4"
+                                >
+                              4-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                              >
+                            _setSelectIndexById("mainId-nb__xc_c",1)
+                          </script>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <a
+                               class="OraNavBarActiveLink"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
+                               href="uri-attr:#"
+                              >
+                            Next 3
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_sub-control-bar"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       nowrap="nowrap"
+                       valign="middle"
+                      >
+                    
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(true)"
+                         href="uri-attr:#"
+                        >
+                      Select All
+                    </a>&#xa0;|&#xa0;
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(false)"
+                         href="uri-attr:#"
+                        >
+                      Select None
+                    </a>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="1"
+                   cellspacing="0"
+                   class="af_table_content"
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <th
+                       class="af_column_header-icon-format"
+                       nowrap="nowrap"
+                       scope="col"
+                       style="word-break:keep-all"
+                       width="1%"
+                      >
+                    Select
+                  </th>
+                  <th
+                       class="af_column_header-text OraTableBorder0001"
+                       scope="col"
+                      >
+                    StringHeader
+                  </th>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:0"
+                         name="mainId:_s"
+                         title="Select"
+                         type="checkbox"
+                         value="0"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:0"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="0"
+                        >
+                      
+                    </input>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                      >
+                    First
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:1"
+                         name="mainId:_s"
+                         title="Select"
+                         type="checkbox"
+                         value="1"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:1"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="1"
+                        >
+                      
+                    </input>
+                  </td>
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    3
+                    Second
                   </td>
                 </tr>
                 <tr
@@ -349,24 +631,24 @@
                       >
                     
                     <input
-                         id="mainId:3"
+                         id="mainId:2"
                          name="mainId:_s"
                          title="Select"
                          type="checkbox"
-                         value="3"
+                         value="2"
                         >
                       
                     </input>
                     <label
                          class="p_OraHiddenLabel"
-                         for="mainId:3"
+                         for="mainId:2"
                         >
                       Select
                     </label>
                     <input
                          name="mainId:_us"
                          type="hidden"
-                         value="3"
+                         value="2"
                         >
                       
                     </input>
@@ -374,12 +656,279 @@
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    Four
+                    Three
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
+<!--AttributeTest[autoSubmit,true]-->
+
+      <div
+           id="mainId"
+          >
+        
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             summary=""
+            >
+          
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_control-bar-top"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       width="100%"
+                      >
+                    
+                  </td>
+                  <td
+                       align="right"
+                       valign="middle"
+                      >
+                    
+                    <table
+                         border="0"
+                         cellpadding="0"
+                         cellspacing="0"
+                         id="mainId-nb"
+                         summary=""
+                        >
+                      
+                      <tr
+                          >
+                        
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <span
+                               class="OraNavBarInactiveLink"
+                              >
+                            Previous
+                          </span>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <select
+                               class="AFFieldText"
+                               id="mainId-nb__xc_c"
+                               onchange="_navChoiceSubmit(this, 'formId','goto','mainId',1)"
+                               onfocus="this._lastValue = this.selectedIndex"
+                               title="Select record set"
+                              >
+                            
+                            <option
+                                 value="all"
+                                >
+                              Show All 6
+                            </option>
+                            <option
+                                 selected="selected"
+                                 value="1"
+                                >
+                              1-3 of 6
+                            </option>
+                            <option
+                                 value="4"
+                                >
+                              4-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                              >
+                            _setSelectIndexById("mainId-nb__xc_c",1)
+                          </script>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <a
+                               class="OraNavBarActiveLink"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
+                               href="uri-attr:#"
+                              >
+                            Next 3
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_sub-control-bar"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       nowrap="nowrap"
+                       valign="middle"
+                      >
+                    
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(true)"
+                         href="uri-attr:#"
+                        >
+                      Select All
+                    </a>&#xa0;|&#xa0;
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(false)"
+                         href="uri-attr:#"
+                        >
+                      Select None
+                    </a>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="1"
+                   cellspacing="0"
+                   class="af_table_content"
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <th
+                       class="af_column_header-icon-format"
+                       nowrap="nowrap"
+                       scope="col"
+                       style="word-break:keep-all"
+                       width="1%"
+                      >
+                    Select
+                  </th>
+                  <th
+                       class="af_column_header-text OraTableBorder0001"
+                       scope="col"
+                      >
+                    StringHeader
+                  </th>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <script
+                        >
+                      var _pprUpdateMode=false;function _adfspu(f,v,e,s,o){_pprUpdateMode=true;if(!o)o=new Object();o.event=(e)?e:'update';if(s)o.source=s;_submitPartialChange(f,v,o);}
+                    </script>
+                    <input
+                         id="mainId:0"
+                         name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
+                         title="Select"
+                         type="checkbox"
+                         value="0"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:0"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="0"
+                        >
+                      
+                    </input>
                   </td>
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    4
+                    First
                   </td>
                 </tr>
                 <tr
@@ -390,24 +939,25 @@
                       >
                     
                     <input
-                         id="mainId:4"
+                         id="mainId:1"
                          name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
                          title="Select"
                          type="checkbox"
-                         value="4"
+                         value="1"
                         >
                       
                     </input>
                     <label
                          class="p_OraHiddenLabel"
-                         for="mainId:4"
+                         for="mainId:1"
                         >
                       Select
                     </label>
                     <input
                          name="mainId:_us"
                          type="hidden"
-                         value="4"
+                         value="1"
                         >
                       
                     </input>
@@ -415,12 +965,44 @@
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    Five
+                    Second
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:2"
+                         name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
+                         title="Select"
+                         type="checkbox"
+                         value="2"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:2"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="2"
+                        >
+                      
+                    </input>
                   </td>
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    5
+                    Three
                   </td>
                 </tr>
               </table>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIERtl-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIERtl-golden.xml?view=diff&rev=526659&r1=526658&r2=526659
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIERtl-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/tableSelectMany-minimalIERtl-golden.xml Sun Apr  8 23:28:32 2007
@@ -90,12 +90,12 @@
                                  selected="selected"
                                  value="1"
                                 >
-                              1-5 of 6
+                              1-3 of 6
                             </option>
                             <option
-                                 value="6"
+                                 value="4"
                                 >
-                              6-6 of 6
+                              4-6 of 6
                             </option>
                           </select>
                           <label
@@ -124,10 +124,10 @@
                           
                           <a
                                class="OraNavBarActiveLink"
-                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'6');return false"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
                                href="uri-attr:#"
                               >
-                            Next 1
+                            Next 3
                           </a>
                         </td>
                       </tr>
@@ -206,16 +206,10 @@
                     Select
                   </th>
                   <th
-                       class="af_column_header-text OraTableBorder0100"
-                       scope="col"
-                      >
-                    StringHeader
-                  </th>
-                  <th
                        class="af_column_header-text"
                        scope="col"
                       >
-                    IntHeader
+                    StringHeader
                   </th>
                 </tr>
                 <tr
@@ -253,11 +247,6 @@
                       >
                     First
                   </td>
-                  <td
-                       class="af_column_cell-text OraTableBorder1111"
-                      >
-                    1
-                  </td>
                 </tr>
                 <tr
                     >
@@ -294,11 +283,6 @@
                       >
                     Second
                   </td>
-                  <td
-                       class="af_column_cell-text OraTableBorder1111"
-                      >
-                    2
-                  </td>
                 </tr>
                 <tr
                     >
@@ -335,10 +319,272 @@
                       >
                     Three
                   </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
+<!--AttributeTest[autoSubmit,false]-->
+
+      <div
+           id="mainId"
+          >
+        
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             summary=""
+            >
+          
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_control-bar-top"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       width="100%"
+                      >
+                    
+                  </td>
+                  <td
+                       align="left"
+                       valign="middle"
+                      >
+                    
+                    <table
+                         border="0"
+                         cellpadding="0"
+                         cellspacing="0"
+                         id="mainId-nb"
+                         summary=""
+                        >
+                      
+                      <tr
+                          >
+                        
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <span
+                               class="OraNavBarInactiveLink"
+                              >
+                            Previous
+                          </span>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <select
+                               class="AFFieldText"
+                               id="mainId-nb__xc_c"
+                               onchange="_navChoiceSubmit(this, 'formId','goto','mainId',1)"
+                               onfocus="this._lastValue = this.selectedIndex"
+                               title="Select record set"
+                              >
+                            
+                            <option
+                                 value="all"
+                                >
+                              Show All 6
+                            </option>
+                            <option
+                                 selected="selected"
+                                 value="1"
+                                >
+                              1-3 of 6
+                            </option>
+                            <option
+                                 value="4"
+                                >
+                              4-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                              >
+                            _setSelectIndexById("mainId-nb__xc_c",1)
+                          </script>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <a
+                               class="OraNavBarActiveLink"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
+                               href="uri-attr:#"
+                              >
+                            Next 3
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_sub-control-bar"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       nowrap="nowrap"
+                       valign="middle"
+                      >
+                    
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(true)"
+                         href="uri-attr:#"
+                        >
+                      Select All
+                    </a>&#xa0;|&#xa0;
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(false)"
+                         href="uri-attr:#"
+                        >
+                      Select None
+                    </a>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="1"
+                   cellspacing="0"
+                   class="af_table_content"
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <th
+                       class="af_column_header-icon-format OraTableBorder0100"
+                       nowrap="nowrap"
+                       scope="col"
+                       style="word-break:keep-all"
+                       width="1%"
+                      >
+                    Select
+                  </th>
+                  <th
+                       class="af_column_header-text"
+                       scope="col"
+                      >
+                    StringHeader
+                  </th>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:0"
+                         name="mainId:_s"
+                         title="Select"
+                         type="checkbox"
+                         value="0"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:0"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="0"
+                        >
+                      
+                    </input>
+                  </td>
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    3
+                    First
                   </td>
                 </tr>
                 <tr
@@ -349,24 +595,24 @@
                       >
                     
                     <input
-                         id="mainId:3"
+                         id="mainId:1"
                          name="mainId:_s"
                          title="Select"
                          type="checkbox"
-                         value="3"
+                         value="1"
                         >
                       
                     </input>
                     <label
                          class="p_OraHiddenLabel"
-                         for="mainId:3"
+                         for="mainId:1"
                         >
                       Select
                     </label>
                     <input
                          name="mainId:_us"
                          type="hidden"
-                         value="3"
+                         value="1"
                         >
                       
                     </input>
@@ -374,14 +620,276 @@
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    Four
+                    Second
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:2"
+                         name="mainId:_s"
+                         title="Select"
+                         type="checkbox"
+                         value="2"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:2"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="2"
+                        >
+                      
+                    </input>
                   </td>
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    4
+                    Three
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
+<!--AttributeTest[autoSubmit,true]-->
+
+      <div
+           id="mainId"
+          >
+        
+        <table
+             border="0"
+             cellpadding="0"
+             cellspacing="0"
+             summary=""
+            >
+          
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_control-bar-top"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       width="100%"
+                      >
+                    
+                  </td>
+                  <td
+                       align="left"
+                       valign="middle"
+                      >
+                    
+                    <table
+                         border="0"
+                         cellpadding="0"
+                         cellspacing="0"
+                         id="mainId-nb"
+                         summary=""
+                        >
+                      
+                      <tr
+                          >
+                        
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <span
+                               class="OraNavBarInactiveLink"
+                              >
+                            Previous
+                          </span>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <select
+                               class="AFFieldText"
+                               id="mainId-nb__xc_c"
+                               onchange="_navChoiceSubmit(this, 'formId','goto','mainId',1)"
+                               onfocus="this._lastValue = this.selectedIndex"
+                               title="Select record set"
+                              >
+                            
+                            <option
+                                 value="all"
+                                >
+                              Show All 6
+                            </option>
+                            <option
+                                 selected="selected"
+                                 value="1"
+                                >
+                              1-3 of 6
+                            </option>
+                            <option
+                                 value="4"
+                                >
+                              4-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                              >
+                            _setSelectIndexById("mainId-nb__xc_c",1)
+                          </script>
+                        </td>
+                        <td
+                            >
+                          
+                          <script
+                              >
+                            t(5,1)
+                          </script>
+                        </td>
+                        <td
+                             nowrap="nowrap"
+                             valign="middle"
+                            >
+                          
+                          <a
+                               class="OraNavBarActiveLink"
+                               onclick="_navSubmit('formId', 'goto', 'mainId',1,'4');return false"
+                               href="uri-attr:#"
+                              >
+                            Next 3
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
                   </td>
                 </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="0"
+                   cellspacing="0"
+                   class="af_table_sub-control-bar"
+                   summary=""
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <td
+                       nowrap="nowrap"
+                       valign="middle"
+                      >
+                    
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(true)"
+                         href="uri-attr:#"
+                        >
+                      Select All
+                    </a>&#xa0;|&#xa0;
+                    <a
+                         class="OraNavBarActiveLink"
+                         onclick="_uixt_mainId.multiSelect(false)"
+                         href="uri-attr:#"
+                        >
+                      Select None
+                    </a>
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr
+              >
+            
+            <td
+                >
+              
+              <table
+                   border="0"
+                   cellpadding="1"
+                   cellspacing="0"
+                   class="af_table_content"
+                   width="100%"
+                  >
+                
+                <tr
+                    >
+                  
+                  <th
+                       class="af_column_header-icon-format OraTableBorder0100"
+                       nowrap="nowrap"
+                       scope="col"
+                       style="word-break:keep-all"
+                       width="1%"
+                      >
+                    Select
+                  </th>
+                  <th
+                       class="af_column_header-text"
+                       scope="col"
+                      >
+                    StringHeader
+                  </th>
+                </tr>
                 <tr
                     >
                   
@@ -389,25 +897,30 @@
                        class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
                       >
                     
+                    <script
+                        >
+                      var _pprUpdateMode=false;function _adfspu(f,v,e,s,o){_pprUpdateMode=true;if(!o)o=new Object();o.event=(e)?e:'update';if(s)o.source=s;_submitPartialChange(f,v,o);}
+                    </script>
                     <input
-                         id="mainId:4"
+                         id="mainId:0"
                          name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
                          title="Select"
                          type="checkbox"
-                         value="4"
+                         value="0"
                         >
                       
                     </input>
                     <label
                          class="p_OraHiddenLabel"
-                         for="mainId:4"
+                         for="mainId:0"
                         >
                       Select
                     </label>
                     <input
                          name="mainId:_us"
                          type="hidden"
-                         value="4"
+                         value="0"
                         >
                       
                     </input>
@@ -415,12 +928,81 @@
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    Five
+                    First
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:1"
+                         name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
+                         title="Select"
+                         type="checkbox"
+                         value="1"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:1"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="1"
+                        >
+                      
+                    </input>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                      >
+                    Second
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_tableSelectMany_cell-icon-format OraTableBorder1111"
+                      >
+                    
+                    <input
+                         id="mainId:2"
+                         name="mainId:_s"
+                         onclick="_adfspu('formId',1,'mainId','mainId');return true;"
+                         title="Select"
+                         type="checkbox"
+                         value="2"
+                        >
+                      
+                    </input>
+                    <label
+                         class="p_OraHiddenLabel"
+                         for="mainId:2"
+                        >
+                      Select
+                    </label>
+                    <input
+                         name="mainId:_us"
+                         type="hidden"
+                         value="2"
+                        >
+                      
+                    </input>
                   </td>
                   <td
                        class="af_column_cell-text OraTableBorder1111"
                       >
-                    5
+                    Three
                   </td>
                 </tr>
               </table>



Mime
View raw message