incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r516506 - in /incubator/adffaces/trunk/trinidad/trinidad-impl/src: main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ test/java/org/apache/myfaces/trinidadinternal/renderkit/ test/resources/org/apache/myfaces/trinidadintern...
Date Fri, 09 Mar 2007 18:51:34 GMT
Author: awiner
Date: Fri Mar  9 10:51:32 2007
New Revision: 516506

URL: http://svn.apache.org/viewvc?view=rev&rev=516506
Log:
ADFFACES-405: selectManyListbox fails to render values when value list and item list are in
different orders
- Also, added renderkit test of this scenario

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/MVariableResolver.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimal-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIE-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIERtl-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalInacc-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalPPC-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalSaf-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalScrRdr-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimal-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIE-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIERtl-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalInacc-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalPPC-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalSaf-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalScrRdr-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyCheckbox.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyListbox-simple.xml

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java
Fri Mar  9 10:51:32 2007
@@ -479,8 +479,10 @@
   }
 
   /**
-   * Return all the selected indices, in sorted order.  (There
+   * Return all the selected indices.  (There
    * may be included -1's in case of an error)
+   * The list will be sorted, unless isReorderable()
+   * returns true.
    */
   @SuppressWarnings("unchecked")
   protected int[] getSelectedIndices(
@@ -616,6 +618,10 @@
           new Object[]{component, valueList});
       }
     }
+
+    // And sort it, but only if it's not reorderable
+    if (!isReorderable())
+      Arrays.sort(indices);
 
     Integer[] indicesObj = new Integer[indices.length];
     for (int foo = 0; foo < indices.length; foo++)

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/MVariableResolver.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/MVariableResolver.java?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/MVariableResolver.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/MVariableResolver.java
Fri Mar  9 10:51:32 2007
@@ -125,6 +125,15 @@
 
       return _simpleList;
     }
+    else if ("numberList".equals(name))
+    {
+      // A simple out-of-order list of numeric strings,
+      // for use in the selectManyListbox test
+      List<String> list = new ArrayList<String>(2);
+      list.add("8");
+      list.add("2");
+      return list;
+    }
     else if("iteratorList".equals(name))
     {
       if (_iteratorList == null)

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimal-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimal-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimal-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimal-golden.xml
Fri Mar  9 10:51:32 2007
@@ -164,6 +164,46 @@
           </td>
         </tr>
       </table>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <table
+           border="0"
+           cellpadding="0"
+           cellspacing="0"
+           class="af_selectManyCheckbox"
+           id="mainId__xc_"
+           summary=""
+          >
+        
+        <tr
+            >
+          
+          <td
+               class="af_selectManyCheckbox_label"
+               nowrap="nowrap"
+               valign="top"
+              >
+            Label
+          </td>
+          <td
+               class="AFContentCell"
+               nowrap="nowrap"
+               valign="top"
+              >
+            
+            <span
+                 class="AFFieldText"
+                 id="mainId"
+                >
+              item2
+              <br
+                  >
+                
+              </br>item8
+            </span>
+          </td>
+        </tr>
+      </table>
 <!--AttributeTest[valuePassThru,false]-->
 
       <table

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIE-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIE-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIE-golden.xml
Fri Mar  9 10:51:32 2007
@@ -164,6 +164,46 @@
           </td>
         </tr>
       </table>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <table
+           border="0"
+           cellpadding="0"
+           cellspacing="0"
+           class="af_selectManyCheckbox"
+           id="mainId__xc_"
+           summary=""
+          >
+        
+        <tr
+            >
+          
+          <td
+               class="af_selectManyCheckbox_label"
+               nowrap="nowrap"
+               valign="top"
+              >
+            Label
+          </td>
+          <td
+               class="AFContentCell"
+               nowrap="nowrap"
+               valign="top"
+              >
+            
+            <span
+                 class="AFFieldText"
+                 id="mainId"
+                >
+              item2
+              <br
+                  >
+                
+              </br>item8
+            </span>
+          </td>
+        </tr>
+      </table>
 <!--AttributeTest[valuePassThru,false]-->
 
       <table

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIERtl-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIERtl-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIERtl-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalIERtl-golden.xml
Fri Mar  9 10:51:32 2007
@@ -164,6 +164,46 @@
           </td>
         </tr>
       </table>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <table
+           border="0"
+           cellpadding="0"
+           cellspacing="0"
+           class="af_selectManyCheckbox"
+           id="mainId__xc_"
+           summary=""
+          >
+        
+        <tr
+            >
+          
+          <td
+               class="af_selectManyCheckbox_label"
+               nowrap="nowrap"
+               valign="top"
+              >
+            Label
+          </td>
+          <td
+               class="AFContentCell"
+               nowrap="nowrap"
+               valign="top"
+              >
+            
+            <span
+                 class="AFFieldText"
+                 id="mainId"
+                >
+              item2
+              <br
+                  >
+                
+              </br>item8
+            </span>
+          </td>
+        </tr>
+      </table>
 <!--AttributeTest[valuePassThru,false]-->
 
       <table

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalInacc-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalInacc-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalInacc-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalInacc-golden.xml
Fri Mar  9 10:51:32 2007
@@ -162,6 +162,45 @@
           </td>
         </tr>
       </table>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <table
+           border="0"
+           cellpadding="0"
+           cellspacing="0"
+           class="af_selectManyCheckbox"
+           id="mainId__xc_"
+          >
+        
+        <tr
+            >
+          
+          <td
+               class="af_selectManyCheckbox_label"
+               nowrap="nowrap"
+               valign="top"
+              >
+            Label
+          </td>
+          <td
+               class="AFContentCell"
+               nowrap="nowrap"
+               valign="top"
+              >
+            
+            <span
+                 class="AFFieldText"
+                 id="mainId"
+                >
+              item2
+              <br
+                  >
+                
+              </br>item8
+            </span>
+          </td>
+        </tr>
+      </table>
 <!--AttributeTest[valuePassThru,false]-->
 
       <table

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalPPC-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalPPC-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalPPC-golden.xml
Fri Mar  9 10:51:32 2007
@@ -186,6 +186,57 @@
           </td>
         </tr>
       </table>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <table
+           border="0"
+           cellpadding="0"
+           cellspacing="0"
+           class="af_selectManyCheckbox"
+           id="mainId__xc_"
+           summary=""
+          >
+        
+        <tr
+            >
+          
+          <td
+               class="af_selectManyCheckbox_label"
+               valign="top"
+              >
+            Label
+          </td>
+          <td
+               class="AFContentCell"
+               nowrap="nowrap"
+               valign="top"
+              >
+            
+            <span
+                 class="AFFieldText"
+                 id="mainId"
+                >
+              item2
+              <br
+                  >
+                
+              </br>item8
+            </span>
+            <div
+                >
+              
+              <img
+                   alt=""
+                   height="0"
+                   width="1"
+                   src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
+                  >
+                
+              </img>
+            </div>
+          </td>
+        </tr>
+      </table>
 <!--AttributeTest[valuePassThru,false]-->
 
       <table

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalSaf-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalSaf-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalSaf-golden.xml
Fri Mar  9 10:51:32 2007
@@ -164,6 +164,46 @@
           </td>
         </tr>
       </table>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <table
+           border="0"
+           cellpadding="0"
+           cellspacing="0"
+           class="af_selectManyCheckbox"
+           id="mainId__xc_"
+           summary=""
+          >
+        
+        <tr
+            >
+          
+          <td
+               class="af_selectManyCheckbox_label"
+               nowrap="nowrap"
+               valign="top"
+              >
+            Label
+          </td>
+          <td
+               class="AFContentCell"
+               nowrap="nowrap"
+               valign="top"
+              >
+            
+            <span
+                 class="AFFieldText"
+                 id="mainId"
+                >
+              item2
+              <br
+                  >
+                
+              </br>item8
+            </span>
+          </td>
+        </tr>
+      </table>
 <!--AttributeTest[valuePassThru,false]-->
 
       <table

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalScrRdr-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalScrRdr-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyCheckbox-minimalScrRdr-golden.xml
Fri Mar  9 10:51:32 2007
@@ -164,6 +164,46 @@
           </td>
         </tr>
       </table>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <table
+           border="0"
+           cellpadding="0"
+           cellspacing="0"
+           class="af_selectManyCheckbox"
+           id="mainId__xc_"
+           summary=""
+          >
+        
+        <tr
+            >
+          
+          <td
+               class="af_selectManyCheckbox_label"
+               nowrap="nowrap"
+               valign="top"
+              >
+            Label
+          </td>
+          <td
+               class="AFContentCell"
+               nowrap="nowrap"
+               valign="top"
+              >
+            
+            <span
+                 class="AFFieldText"
+                 id="mainId"
+                >
+              item2
+              <br
+                  >
+                
+              </br>item8
+            </span>
+          </td>
+        </tr>
+      </table>
 <!--AttributeTest[valuePassThru,false]-->
 
       <table

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimal-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimal-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimal-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimal-golden.xml
Fri Mar  9 10:51:32 2007
@@ -60,6 +60,18 @@
           </option>
         </select>
       </span>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <span
+           class="AFFieldText"
+           id="mainId"
+          >
+        item2
+        <br
+            >
+          
+        </br>item8
+      </span>
 <!--AttributeTest[valuePassThru,false]-->
 
       <span

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIE-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIE-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIE-golden.xml
Fri Mar  9 10:51:32 2007
@@ -60,6 +60,18 @@
           </option>
         </select>
       </span>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <span
+           class="AFFieldText"
+           id="mainId"
+          >
+        item2
+        <br
+            >
+          
+        </br>item8
+      </span>
 <!--AttributeTest[valuePassThru,false]-->
 
       <span

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIERtl-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIERtl-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIERtl-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalIERtl-golden.xml
Fri Mar  9 10:51:32 2007
@@ -60,6 +60,18 @@
           </option>
         </select>
       </span>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <span
+           class="AFFieldText"
+           id="mainId"
+          >
+        item2
+        <br
+            >
+          
+        </br>item8
+      </span>
 <!--AttributeTest[valuePassThru,false]-->
 
       <span

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalInacc-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalInacc-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalInacc-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalInacc-golden.xml
Fri Mar  9 10:51:32 2007
@@ -60,6 +60,18 @@
           </option>
         </select>
       </span>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <span
+           class="AFFieldText"
+           id="mainId"
+          >
+        item2
+        <br
+            >
+          
+        </br>item8
+      </span>
 <!--AttributeTest[valuePassThru,false]-->
 
       <span

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalPPC-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalPPC-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalPPC-golden.xml
Fri Mar  9 10:51:32 2007
@@ -60,6 +60,18 @@
           </option>
         </select>
       </span>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <span
+           class="AFFieldText"
+           id="mainId"
+          >
+        item2
+        <br
+            >
+          
+        </br>item8
+      </span>
 <!--AttributeTest[valuePassThru,false]-->
 
       <span

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalSaf-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalSaf-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalSaf-golden.xml
Fri Mar  9 10:51:32 2007
@@ -60,6 +60,18 @@
           </option>
         </select>
       </span>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <span
+           class="AFFieldText"
+           id="mainId"
+          >
+        item2
+        <br
+            >
+          
+        </br>item8
+      </span>
 <!--AttributeTest[valuePassThru,false]-->
 
       <span

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalScrRdr-golden.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalScrRdr-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/selectManyListbox-simple-minimalScrRdr-golden.xml
Fri Mar  9 10:51:32 2007
@@ -60,6 +60,18 @@
           </option>
         </select>
       </span>
+<!--AttributeTest[value,#{numberList}]-->
+
+      <span
+           class="AFFieldText"
+           id="mainId"
+          >
+        item2
+        <br
+            >
+          
+        </br>item8
+      </span>
 <!--AttributeTest[valuePassThru,false]-->
 
       <span

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyCheckbox.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyCheckbox.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyCheckbox.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyCheckbox.xml
Fri Mar  9 10:51:32 2007
@@ -7,6 +7,8 @@
   </base-component>
 
   <attribute-test name="value" value="4"/>
+  <attribute-test name="value" value="#{numberList}"/>
+
   <boolean-test name="valuePassThru"/>
 
   <enum-test name="layout"/>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyListbox-simple.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyListbox-simple.xml?view=diff&rev=516506&r1=516505&r2=516506
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyListbox-simple.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/selectManyListbox-simple.xml
Fri Mar  9 10:51:32 2007
@@ -7,6 +7,9 @@
   </base-component>
 
   <attribute-test name="value" value="4"/>
+  <!-- A test of out-of-order number lists, as per ADFFACES-405,
+      albeit readOnly given limitations of the framework -->
+  <attribute-test name="value" value="#{numberList}"/>
   <boolean-test name="valuePassThru"/>
 
   <!--attribute-test name="accessKey" /-->



Mime
View raw message