incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r496916 - in /incubator/adffaces/trunk/trinidad/trinidad-demo/src/main: java/org/apache/myfaces/trinidaddemo/ListTestBean.java webapp/components/selectManyListbox.jspx
Date Wed, 17 Jan 2007 02:08:33 GMT
Author: awiner
Date: Tue Jan 16 18:08:32 2007
New Revision: 496916

URL: http://svn.apache.org/viewvc?view=rev&rev=496916
Log:
In listbox demo, two components were bound to the same value, which was
making me go insane when testing out changes.

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/ListTestBean.java
    incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/ListTestBean.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/ListTestBean.java?view=diff&rev=496916&r1=496915&r2=496916
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/ListTestBean.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/ListTestBean.java
Tue Jan 16 18:08:32 2007
@@ -113,6 +113,16 @@
     return _selectedCars;
   }
     
+  public void setSelectedCars2(List<?> selectedCars)
+  {
+    _selectedCars2 = selectedCars;
+  }
+
+  public List<?> getSelectedCars2()
+  {
+    return _selectedCars2;
+  }
+
   public List<SelectItem> getMakes()
   {
     return _MAKE_ITEMS;
@@ -236,6 +246,7 @@
   }   
   
   private List<?> _selectedCars;
+  private List<?> _selectedCars2;
   private List<?> _selectedSelectItems;
     
   private Integer _int = 1;

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx?view=diff&rev=496916&r1=496915&r2=496916
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx
Tue Jan 16 18:08:32 2007
@@ -82,7 +82,7 @@
 
             <tr:selectManyListbox label="Cars"
                                   valueChangeListener="#{list.valueChanged}"
-                                  value="#{list.selectedCars}">
+                                  value="#{list.selectedCars2}">
                <tr:selectItem  value="#{list.firstSelectItemCar}"/>
                <tr:selectItem  value="#{list.secondSelectItemCar}"/>
                <tr:selectItem  value="#{list.thirdSelectItemCar}"/>



Mime
View raw message