incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r504714 [4/4] - in /incubator/adffaces/trunk/trinidad/trinidad-impl/src: main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/ test/resources/org/apache/myfa...
Date Wed, 07 Feb 2007 22:08:37 GMT
Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/table-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/table-minimalScrRdr-golden.xml?view=diff&rev=504714&r1=504713&r2=504714
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/table-minimalScrRdr-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/table-minimalScrRdr-golden.xml
Wed Feb  7 14:08:35 2007
@@ -2343,6 +2343,933 @@
           
         </input>
       </div>
+<!--AttributeTest[styleClass,null]-->
+
+      <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-5 of 6
+                            </option>
+                            <option
+                                 value="6"
+                                >
+                              6-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                               type="text/javascript"
+                              >
+                            _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,'6');return
false"
+                               href="uri-attr:#"
+                              >
+                            Next 1
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
+                  </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-text"
+                       id="_idXXX"
+                       nowrap="nowrap"
+                       width="1%"
+                      >
+                    Details
+                  </th>
+                  <th
+                       class="af_column_sortable-header-text OraSortableHeaderBorder"
+                       id="mainId:test-id"
+                       onclick="return _tableSort('formId',1,'mainId','string');"
+                      >
+                    StringHeader
+                  </th>
+                  <th
+                       class="af_column_sortable-header-text OraSortableHeaderBorder"
+                       id="mainId:separate-id"
+                       onclick="return _tableSort('formId',1,'mainId','int');"
+                      >
+                    IntHeader
+                  </th>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd0"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd0','0')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd0','0')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    First
+                  </td>
+                  <td
+                       class="test-styleClass af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                      >
+                    1
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd1"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd1','1')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd1','1')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Second
+                  </td>
+                  <td
+                       class="test-styleClass af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                      >
+                    2
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd2"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd2','2')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd2','2')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Three
+                  </td>
+                  <td
+                       class="test-styleClass af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                      >
+                    3
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd3"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd3','3')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd3','3')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Four
+                  </td>
+                  <td
+                       class="test-styleClass af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                      >
+                    4
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd4"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd4','4')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd4','4')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Five
+                  </td>
+                  <td
+                       class="test-styleClass af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                      >
+                    5
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+             type="text/javascript"
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
+<!--AttributeTest[inlineStyle,null]-->
+
+      <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-5 of 6
+                            </option>
+                            <option
+                                 value="6"
+                                >
+                              6-6 of 6
+                            </option>
+                          </select>
+                          <label
+                               class="p_OraHiddenLabel"
+                               for="mainId-nb__xc_c"
+                              >
+                            Select record set
+                          </label>
+                          <script
+                               type="text/javascript"
+                              >
+                            _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,'6');return
false"
+                               href="uri-attr:#"
+                              >
+                            Next 1
+                          </a>
+                        </td>
+                      </tr>
+                    </table>
+                  </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-text"
+                       id="_idXXX"
+                       nowrap="nowrap"
+                       width="1%"
+                      >
+                    Details
+                  </th>
+                  <th
+                       class="af_column_sortable-header-text OraSortableHeaderBorder"
+                       id="mainId:test-id"
+                       onclick="return _tableSort('formId',1,'mainId','string');"
+                      >
+                    StringHeader
+                  </th>
+                  <th
+                       class="af_column_sortable-header-text OraSortableHeaderBorder"
+                       id="mainId:separate-id"
+                       onclick="return _tableSort('formId',1,'mainId','int');"
+                      >
+                    IntHeader
+                  </th>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd0"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd0','0')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd0','0')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    First
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                       style="test-inlineStyle"
+                      >
+                    1
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd1"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd1','1')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd1','1')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Second
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                       style="test-inlineStyle"
+                      >
+                    2
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd2"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd2','2')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd2','2')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Three
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                       style="test-inlineStyle"
+                      >
+                    3
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd3"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd3','3')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd3','3')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Four
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                       style="test-inlineStyle"
+                      >
+                    4
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+                <tr
+                    >
+                  
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="_idXXX"
+                       nowrap="nowrap"
+                      >
+                    
+                    <div
+                        >
+                      
+                      <a
+                           id="mainIddd4"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd4','4')"
+                           href="uri-attr:#"
+                          >
+                        
+                        <span
+                             class="p_OraHideShowDisclosedSymbol"
+                             title="Select to show information"
+                            >
+                          &#x25ba;
+                        </span>
+                      </a>
+                      <a
+                           class="OraLink"
+                           onclick="return _submitHideShow('formId',1,'show','mainId','mainIddd4','4')"
+                           href="uri-attr:#"
+                          >
+                        Show
+                      </a>
+                    </div>
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:test-id"
+                      >
+                    Five
+                  </td>
+                  <td
+                       class="af_column_cell-text OraTableBorder1111"
+                       headers="mainId:separate-id"
+                       style="test-inlineStyle"
+                      >
+                    5
+                    <div
+                        >
+                      
+                    </div>Introduced for separateRows attribute check
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+        </table>
+        <script
+             type="text/javascript"
+            >
+          _uixt_mainId=new CollectionComponent('formId','mainId');
+        </script>
+        <input
+             name="mainId:rangeStart"
+             type="hidden"
+             value="0"
+            >
+          
+        </input>
+      </div>
 <!--AttributeTest[allDetailsEnabled,false]-->
 
       <div

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/table.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/table.xml?view=diff&rev=504714&r1=504713&r2=504714
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/table.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/table.xml
Wed Feb  7 14:08:35 2007
@@ -11,6 +11,8 @@
     <component id="separate-id" tr:type="org.apache.myfaces.trinidad.CoreColumn" sortable="true"
sortProperty="int">
       <attribute-test name="separateRows" value="true"/>
       <attribute-test name="separateRows" value="false" matchesBase="true"/>
+      <attribute-test name="styleClass"/>
+      <attribute-test name="inlineStyle"/>
       <component tr:facet="header" tr:type="org.apache.myfaces.trinidad.CoreOutputText"
value="IntHeader"/>
       <component tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="#{row.int}"/>
       <component tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="Introduced
for separateRows attribute check"/>



Mime
View raw message