[richfaces-svn-commits] JBoss Rich Faces SVN: r4701 - in branches/3.1.x/test-applications/facelets/src/main: java/inputNumberSlider and 20 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Dec 11 08:26:34 EST 2007


Author: ayanul
Date: 2007-12-11 08:26:33 -0500 (Tue, 11 Dec 2007)
New Revision: 4701

Modified:
   branches/3.1.x/test-applications/facelets/src/main/java/calendar/CalendarBean.java
   branches/3.1.x/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java
   branches/3.1.x/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java
   branches/3.1.x/test-applications/facelets/src/main/java/orderingList/OrderingList.java
   branches/3.1.x/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java
   branches/3.1.x/test-applications/facelets/src/main/java/sb/Sb.java
   branches/3.1.x/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java
   branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/InputNumberSlider/InputNumberSlider.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
   branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
   branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml
Log:
-update add or remove attribute
-fix calendar (delete |> <|)

Modified: branches/3.1.x/test-applications/facelets/src/main/java/calendar/CalendarBean.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/calendar/CalendarBean.java	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/java/calendar/CalendarBean.java	2007-12-11 13:26:33 UTC (rev 4701)
@@ -35,17 +35,16 @@
 
 public class CalendarBean {
 
-	private static final String [] WEEK_DAY_SHORT = new String[] { "|>Sun*<|",
-			"|>Mon +<|", "|>Tue +<|", "|>Wed +<|", "|>Thu +<|", "|>Fri +<|", "|>Sat*<|" };
-	private static final String [] WEEK_DAY = new String[] { "|>Saturday*<|", "|>Monday+<|",
-			"|>Tuesday+<|", "|>Wednesday+<|", "|>Thursday+<|", "|>Friday+<|", "|>Sunday*<|"};
-	private static final String [] MOUNT_LABELS = new String[] { "January +",
-			"February +", "March +", "April +", "May +", "June +", "July +", "August +",
+	private static final String [] WEEK_DAY_SHORT = new String[] { "Sun*",
+			"Mon +", "Tue +", "Wed +", "Thu +", "Fri +", "Sat*" };
+	private static final String [] WEEK_DAY = new String[] { "*Saturday*", "+Monday+",
+		"+Tuesday+", "+Wednesday+", "+Thursday+", "+Friday+", "*Sunday*"};
+	private static final String [] MOUNT_LABELS = new String[] { "January+",
+			"February+", "March+", "April+", "May +", "June +", "July +", "August +",
 			"September +", "October +", "November +", "December +" };
-	private static final String [] MOUNT_LABELS_SHORT = new String[] { "Jan +",
-			"Feb +", "Mar +", "Apr +", "May +", "Jun +", "Jul +", "Aug +",
-			"Sep +", "Oct +", "Nov +", "Dec +" };
-
+	private static final String [] MOUNT_LABELS_SHORT = new String[] { "+Jan+",
+			"+Feb+", "+Mar+", "+Apr+", "+May+", "+Jun+", "+Jul+", "+Aug+",
+			"+Sep+", "+Oct+", "+Nov+", "+Dec+" };
 	private Locale locale;
 	private TimeZone tZone;
 	private boolean popup;

Modified: branches/3.1.x/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java	2007-12-11 13:26:33 UTC (rev 4701)
@@ -1,7 +1,6 @@
 package inputNumberSlider;
 
 import javax.faces.event.ValueChangeEvent;
-import javax.faces.event.ValueChangeListener;
 
 public class InputNumberSlider {
 

Modified: branches/3.1.x/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/java/modalPanel/ModalPanel.java	2007-12-11 13:26:33 UTC (rev 4701)
@@ -7,10 +7,10 @@
 	private String left;
 	private String top;
 	private boolean rendered;
-	private int shadowDepth;
-	private int shadowOpacity;
+	private String shadowDepth;
+	private String shadowOpacity;
 	private boolean showWhenRendered;
-	private String zindex;
+	private int zindex;
 	private int minHeight;
 	private int minWidth;
 	private int height;
@@ -51,9 +51,9 @@
 		this.left = "100";
 		this.top = "100";
 		this.rendered = true;
-		this.shadowDepth = 3;
-		this.shadowOpacity = 3;
-		this.zindex = "3";
+		this.shadowDepth = "3";
+		this.shadowOpacity = "3";
+		this.zindex = 3;
 		this.showWhenRendered = false;
 	}
 
@@ -191,19 +191,19 @@
 		this.rendered = rendered;
 	}
 
-	public int getShadowDepth() {
+	public String getShadowDepth() {
 		return shadowDepth;
 	}
 
-	public void setShadowDepth(int shadowDepth) {
+	public void setShadowDepth(String shadowDepth) {
 		this.shadowDepth = shadowDepth;
 	}
 
-	public int getShadowOpacity() {
+	public String getShadowOpacity() {
 		return shadowOpacity;
 	}
 
-	public void setShadowOpacity(int shadowOpacity) {
+	public void setShadowOpacity(String shadowOpacity) {
 		this.shadowOpacity = shadowOpacity;
 	}
 
@@ -215,11 +215,11 @@
 		this.showWhenRendered = showWhenRendered;
 	}
 
-	public String getZindex() {
+	public int getZindex() {
 		return zindex;
 	}
 
-	public void setZindex(String zindex) {
+	public void setZindex(int zindex) {
 		this.zindex = zindex;
 	}
 }

Modified: branches/3.1.x/test-applications/facelets/src/main/java/orderingList/OrderingList.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/orderingList/OrderingList.java	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/java/orderingList/OrderingList.java	2007-12-11 13:26:33 UTC (rev 4701)
@@ -17,7 +17,6 @@
 	private String controlsType;
 	private String controlsVerticalAlign;
 	private String controlsHorizontalAlign;
-	private String headerLabel;
 	private String bottomControlLabel;
 	private String upControlLabel;
 	private String topControlLabel;
@@ -79,7 +78,6 @@
 		this.controlsType = "button";
 		this.controlsHorizontalAlign = "right";
 		this.controlsVerticalAlign = "center";
-		this.headerLabel = "headerLabel";
 		this.bottomControlLabel = "bottom label";
 		this.upControlLabel = "up label";
 		this.downControlLabel = "down label";
@@ -166,14 +164,6 @@
 		this.controlsHorizontalAlign = controlsHorizontalAlign;
 	}
 
-	public String getHeaderLabel() {
-		return headerLabel;
-	}
-
-	public void setHeaderLabel(String headerLabel) {
-		this.headerLabel = headerLabel;
-	}
-
 	public String getDownControlLabel() {
 		return downControlLabel;
 	}
@@ -239,7 +229,6 @@
 		setControlsHorizontalAlign("0");
 		setControlsVerticalAlign("0");
 		setControlsType("button");
-		setHeaderLabel("Header Test1");
 		setLenght(40);
 		setListHeight("300");
 		setListWidth("400");
@@ -259,7 +248,6 @@
 		setControlsHorizontalAlign("30");
 		setControlsVerticalAlign("50");
 		setControlsType("button");
-		setHeaderLabel("Header Test2");
 		setLenght(40);
 		setListHeight("600");
 		setListWidth("400");
@@ -279,7 +267,6 @@
 		setControlsHorizontalAlign("50");
 		setControlsVerticalAlign("10");
 		setControlsType("button");
-		setHeaderLabel("Header Test3");
 		setLenght(40);
 		setListHeight("500");
 		setListWidth("500");
@@ -299,7 +286,6 @@
 		setControlsHorizontalAlign("0");
 		setControlsVerticalAlign("0");
 		setControlsType("button");
-		setHeaderLabel("Header Test4");
 		setLenght(10000);
 		setListHeight("500");
 		setListWidth("600");
@@ -319,7 +305,6 @@
 		setControlsHorizontalAlign("20");
 		setControlsVerticalAlign("20");
 		setControlsType("none");
-		setHeaderLabel("Header Test5");
 		setLenght(100);
 		setListHeight("400");
 		setListWidth("500");

Modified: branches/3.1.x/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/java/panelMenu/PanelMenu.java	2007-12-11 13:26:33 UTC (rev 4701)
@@ -27,14 +27,17 @@
 		rendered = "true";
 		disabled = false;
 		tabIndex = "1";
+		iconGroupPosition = "left";
+		iconGroupTopPosition = "left";
+		iconItemPosition = "left";
+		iconGroupTopPosition = "left";
 		icon = new Icon();
-/*		icon.setCollapsed(icon.iconCollapse);
+		icon.setCollapsed(icon.iconCollapse);
 		icon.setExpanded(icon.iconExpand);
 		icon.setItem(icon.iconItem);
 		icon.setIcon(icon.iconFileManager);
 		icon.setCollapsedGroup(icon.iconAjaxProcess);
 		icon.setDisabledGroup(icon.iconAjaxStoped);
-*/		
 	}
 	
 	public boolean isDisabled() {
@@ -237,4 +240,4 @@
 		setTabIndex("2");		
 
 	}
-}
+}
\ No newline at end of file

Modified: branches/3.1.x/test-applications/facelets/src/main/java/sb/Sb.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/sb/Sb.java	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/java/sb/Sb.java	2007-12-11 13:26:33 UTC (rev 4701)
@@ -9,277 +9,276 @@
 
 public class Sb implements Serializable {
 
-    private ArrayList cities;
-    private ArrayList data;
-    private ArrayList tokens;
-    private int first;
-    private String zindex;
-    private String property;
-    private String rows;
-    private String cellspacing;
-    private String cellpadding;
-    private String minchars;
-    private String frequency;
-    private String rules;
-    private String border;
-    private String width;
-    private String height;
-    private String shadowOpacity;
-    private String bgColor;
-    private String shadowDepth;
-    private boolean focus;
+	private ArrayList cities;
+	private ArrayList data;
+	private ArrayList tokens;
+	private int first;
+	private int zindex;
+	private String property;
+	private String rows;
+	private String cellspacing;
+	private String cellpadding;
+	private String minchars;
+	private String frequency;
+	private String rules;
+	private String border;
+	private String width;
+	private String height;
+	private String shadowOpacity;
+	private String bgColor;
+	private String shadowDepth;
+	private boolean focus;
 
-/*    
-    private static final String[] cit = { "Abba", "Abbeville", "Acworth",
-	    "Adairsville", "Adel", "Adrian", "Ailey", "Alamo", "Alapaha",
-	    "Albany", "Allenhurst", "Alma", "Alma", "Alpharetta", "Alston",
-	    "Amboy", "Ambrose", "Americus", "Appling", "Arlington", "Ashburn",
-	    "Athens", "Athens-Clarke County", "Atkinson", "Atlanta",
-	    "Attapulgus", "Auburn", "Augusta", "Augusta-Richmond County",
-	    "Austell", "Avondale Estates", "Axson" };
-*/    
-    
-    private static final String[] cityAfrica = {"Africa", "Algeria", "Angola", "Bassas da India", "Benin", "Botswana", "Burkina Faso", "Burundi", "Cameroon", "Central African Republic", "Chad", "Comoros", "Democratic Republic of the Congo", "Djibouti", "Egypt", "Equatorial Guinea", "Eritrea", "Ethiopia", "Europa Island", "Gabon", "Gambia", "Ghana", "Glorioso Islands", "Guinea", "Guinea-Bissau", "Ivory Coast", "Juan de Nova Island", "Kenya", "Lesotho", "Liberia", "Libya", "Madagascar", "Malawi", "Mali", "Mauritania", "Mauritius Island", "Mayotte", "Morocco", "Mozambique", "Namibia", "Niger", "Nigeria", "Republic of the Congo", "Reunion", "Rwanda", "Saint Helena", "Sao Tome and Principe", "Senegal", "Seychelles", "Sierra Leone", "Somalia", "South Africa", "Sudan", "Swaziland", "Tanzania", "Togo", "Tromelin Island", "Tunisia", "Uganda", "Western Sahara", "Zambia", "Zimbabwe"};
-    private static final String[] cityAsia = {"Asia", "Afghanistan", "Armenia", "Azerbaijan", "Bangladesh", "Bhutan", "China", "Georgia", "India", "Japan", "Kazakhstan", "Korea, North", "Korea, South", "Kyrgyzstan", "Maldives", "Mongolia", "Nepal", "Pakistan", "Russia", "Sri Lanka", "Tajikistan", "Turkmenistan", "Uzbekistan"};
-    private static final String[] cityCAmerica = {"Central America", "Belize", "Costa Rica", "El Salvador", "Guatemala", "Honduras", "Nicaragua", "Panama"};
-    private static final String[] cityEurope = {"Europe", "Albania", "Andorra", "Austria", "Belarus", "Belgium", "Bosnia and Herzegovina", "Bulgaria", "Canary Islands", "Croatia", "Czech Republic", "Denmark", "Estonia", "Faroe Islands", "Finland", "France", "Germany", "Gibraltar", "Greece", "Guernsey", "Hungary", "Iceland", "Ireland", "Isle of Man", "Italy", "Jersey", "Latvia", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Malta", "Moldova", "Monaco", "Montenegro", "Netherlands", "Norway", "Poland", "Portugal", "Romania", "San Marino", "Serbia and Montenegro", "Slovakia", "Slovenia", "Spain", "Sweden", "Switzerland", "Ukraine", "United Kingdom", "Vatican The Holy See"};
-    private static final String[] cityMEast = {"Middle East", "Akrotiri", "Bahrain", "Cyprus", "Dhekelia", "Gaza Strip", "Iran", "Iraq", "Israel", "Jordan", "Kuwait", "Lebanon", "Oman", "Qatar", "Saudi Arabia", "Syria", "Turkey", "United Arab Emirates", "West Bank", "Yemen"};
-    private static final String[] cityNAmerica = {"North America", "Bermuda", "Canada", "Greenland", "Mexico", "Saint Pierre and Miquelon", "United States of America"};
-    private static final String[] cityOceania = {"Oceania", "American Samoa", "Australia", "Baker Island", "Cook Islands", "Coral Sea Islands", "Fiji", "French Polynesia", "Guam", "Howland Island", "Jarvis Island", "Johnston Atoll", "Kingman Reef", "Kiribati", "Marshall Islands", "Micronesia", "Midway Islands", "Nauru", "New Caledonia", "New Zealand", "Niue", "Norfolk Island", "Northern Mariana Islands", "Palau", "Palmyra Atoll", "Papua New Guinea", "Pitcairn Islands", "Samoa", "Solomon Islands", "Tokelau", "Tonga", "Tuvalu", "Vanuatu", "Wake Island", "Wallis and Futuna"};
-    private static final String[] citySAmerica = {"South America","Argentina", "Bolivia", "Brazil", "Chile", "Colombia", "Easter Island", "Ecuador", "Falkland Islands", "French Guiana", "Guyana", "Paraguay", "Peru", "Suriname", "Uruguay", "Venezuela"};
-    private static final String[] citySEAsia = {"SouthEast Asia", "Ashmore and Cartier Islands", "Brunei", "Burma", "Cambodia", "Christmas Island", "Cocos (Keeling) Islands", "East Timor", "Hong Kong", "Indonesia", "Laos", "Malaysia", "Paracel Islands", "Philippines", "Singapore", "Spratly Islands", "Taiwan", "Thailand", "Vietnam"};
-    private static final String[] cityCaribbean = {"The Caribbean", "Anguilla", "Antigua and Barbuda", "Aruba", "Barbados", "British Virgin Islands", "Cayman Islands", "Cuba", "Dominica", "Dominican Republic", "Grenada", "Guadeloupe", "Haiti", "Jamaica", "Martinique", "Montserrat", "Navassa Island", "Netherlands Antilles", "Puerto Rico", "Saint Barthelemy", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "The Bahamas", "Trinidad and Tobago", "Turks and Caicos Islands", "Virgin Islands"};
+	/*
+	 * private static final String[] cit = { "Abba", "Abbeville", "Acworth",
+	 * "Adairsville", "Adel", "Adrian", "Ailey", "Alamo", "Alapaha", "Albany",
+	 * "Allenhurst", "Alma", "Alma", "Alpharetta", "Alston", "Amboy", "Ambrose",
+	 * "Americus", "Appling", "Arlington", "Ashburn", "Athens", "Athens-Clarke
+	 * County", "Atkinson", "Atlanta", "Attapulgus", "Auburn", "Augusta",
+	 * "Augusta-Richmond County", "Austell", "Avondale Estates", "Axson" };
+	 */
+		private static final String[] cityAfrica = {"Africa", "Algeria", "Angola", "Bassas da India", "Benin", "Botswana", "Burkina Faso", "Burundi", "Cameroon", "Central African Republic", "Chad", "Comoros", "Democratic Republic of the Congo", "Djibouti", "Egypt", "Equatorial Guinea", "Eritrea", "Ethiopia", "Europa Island", "Gabon", "Gambia", "Ghana", "Glorioso Islands", "Guinea", "Guinea-Bissau", "Ivory Coast", "Juan de Nova Island", "Kenya", "Lesotho", "Liberia", "Libya", "Madagascar", "Malawi", "Mali", "Mauritania", "Mauritius Island", "Mayotte", "Morocco", "Mozambique", "Namibia", "Niger", "Nigeria", "Republic of the Congo", "Reunion", "Rwanda", "Saint Helena", "Sao Tome and Principe", "Senegal", "Seychelles", "Sierra Leone", "Somalia", "South Africa", "Sudan", "Swaziland", "Tanzania", "Togo", "Tromelin Island", "Tunisia", "Uganda", "Western Sahara", "Zambia", "Zimbabwe"};
+	    private static final String[] cityAsia = {"Asia", "Afghanistan", "Armenia", "Azerbaijan", "Bangladesh", "Bhutan", "China", "Georgia", "India", "Japan", "Kazakhstan", "Korea, North", "Korea, South", "Kyrgyzstan", "Maldives", "Mongolia", "Nepal", "Pakistan", "Russia", "Sri Lanka", "Tajikistan", "Turkmenistan", "Uzbekistan"};
+	    private static final String[] cityCAmerica = {"Central America", "Belize", "Costa Rica", "El Salvador", "Guatemala", "Honduras", "Nicaragua", "Panama"};
+	    private static final String[] cityEurope = {"Europe", "Albania", "Andorra", "Austria", "Belarus", "Belgium", "Bosnia and Herzegovina", "Bulgaria", "Canary Islands", "Croatia", "Czech Republic", "Denmark", "Estonia", "Faroe Islands", "Finland", "France", "Germany", "Gibraltar", "Greece", "Guernsey", "Hungary", "Iceland", "Ireland", "Isle of Man", "Italy", "Jersey", "Latvia", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Malta", "Moldova", "Monaco", "Montenegro", "Netherlands", "Norway", "Poland", "Portugal", "Romania", "San Marino", "Serbia and Montenegro", "Slovakia", "Slovenia", "Spain", "Sweden", "Switzerland", "Ukraine", "United Kingdom", "Vatican The Holy See"};
+	    private static final String[] cityMEast = {"Middle East", "Akrotiri", "Bahrain", "Cyprus", "Dhekelia", "Gaza Strip", "Iran", "Iraq", "Israel", "Jordan", "Kuwait", "Lebanon", "Oman", "Qatar", "Saudi Arabia", "Syria", "Turkey", "United Arab Emirates", "West Bank", "Yemen"};
+	    private static final String[] cityNAmerica = {"North America", "Bermuda", "Canada", "Greenland", "Mexico", "Saint Pierre and Miquelon", "United States of America"};
+	    private static final String[] cityOceania = {"Oceania", "American Samoa", "Australia", "Baker Island", "Cook Islands", "Coral Sea Islands", "Fiji", "French Polynesia", "Guam", "Howland Island", "Jarvis Island", "Johnston Atoll", "Kingman Reef", "Kiribati", "Marshall Islands", "Micronesia", "Midway Islands", "Nauru", "New Caledonia", "New Zealand", "Niue", "Norfolk Island", "Northern Mariana Islands", "Palau", "Palmyra Atoll", "Papua New Guinea", "Pitcairn Islands", "Samoa", "Solomon Islands", "Tokelau", "Tonga", "Tuvalu", "Vanuatu", "Wake Island", "Wallis and Futuna"};
+	    private static final String[] citySAmerica = {"South America","Argentina", "Bolivia", "Brazil", "Chile", "Colombia", "Easter Island", "Ecuador", "Falkland Islands", "French Guiana", "Guyana", "Paraguay", "Peru", "Suriname", "Uruguay", "Venezuela"};
+	    private static final String[] citySEAsia = {"SouthEast Asia", "Ashmore and Cartier Islands", "Brunei", "Burma", "Cambodia", "Christmas Island", "Cocos (Keeling) Islands", "East Timor", "Hong Kong", "Indonesia", "Laos", "Malaysia", "Paracel Islands", "Philippines", "Singapore", "Spratly Islands", "Taiwan", "Thailand", "Vietnam"};
+	    private static final String[] cityCaribbean = {"The Caribbean", "Anguilla", "Antigua and Barbuda", "Aruba", "Barbados", "British Virgin Islands", "Cayman Islands", "Cuba", "Dominica", "Dominican Republic", "Grenada", "Guadeloupe", "Haiti", "Jamaica", "Martinique", "Montserrat", "Navassa Island", "Netherlands Antilles", "Puerto Rico", "Saint Barthelemy", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "The Bahamas", "Trinidad and Tobago", "Turks and Caicos Islands", "Virgin Islands"};
 
-    public Sb() {
-	border = "1";
-	width = "200";
-	height = "150";
-	shadowOpacity = "1";
-	shadowDepth = Integer.toString(SuggestionBoxRenderer.SHADOW_DEPTH);
-	zindex = "3";
-	focus = true;
-	rows = "0";
-	first = 0;
-	cellspacing = "2";
-	cellpadding = "2";
-	minchars = "1";
-	frequency = "0";
-	rules = "none";
-	setCities(getAllData());
-    }
 
-    public List autocomplete(Object event) {
-	String pref = event.toString();
-	ArrayList result = new ArrayList();
+	public Sb() {
+		border = "1";
+		width = "200";
+		height = "150";
+		shadowOpacity = "1";
+		shadowDepth = Integer.toString(SuggestionBoxRenderer.SHADOW_DEPTH);
+		zindex = 3;
+		focus = true;
+		rows = "0";
+		first = 0;
+		cellspacing = "2";
+		cellpadding = "2";
+		minchars = "1";
+		frequency = "0";
+		rules = "none";
+		setCities(getAllData());
+	}
 
-	Iterator iterator = getAllData().iterator();
-	while (iterator.hasNext()) {
-	    Data elem = (Data) iterator.next();
-	    if ((elem != null && elem.getCity().toLowerCase().indexOf(
-		    pref.toLowerCase()) == 0)
-		    || "".equals(pref)) {
-		result.add(elem);
-	    }
+	public List autocomplete(Object event) {
+		String pref = event.toString();
+		ArrayList result = new ArrayList();
+
+		Iterator iterator = getAllData().iterator();
+		while (iterator.hasNext()) {
+			Data elem = (Data) iterator.next();
+			if ((elem != null && elem.getCity().toLowerCase().indexOf(
+					pref.toLowerCase()) == 0)
+					|| "".equals(pref)) {
+				result.add(elem);
+			}
+		}
+		return result;
 	}
-	return result;
-    }
 
-    public ArrayList getCities() {
-	return cities;
-    }
+	public ArrayList getCities() {
+		return cities;
+	}
 
-    public void setCities(ArrayList cities) {
-	this.cities = cities;
-    }
+	public void setCities(ArrayList cities) {
+		this.cities = cities;
+	}
 
-    private ArrayList<Data>  addData(String [] mStr, ArrayList<Data> arr) {
-		for(int i = 1; i < mStr.length; i++) {
+	private ArrayList<Data> addData(String[] mStr, ArrayList<Data> arr) {
+		for (int i = 1; i < mStr.length; i++) {
 			Data data = new Data(mStr[i], mStr[0], false);
 			arr.add(data);
 		}
 		return arr;
-    }
-    
-    public ArrayList getAllData() {
-/*	for (int i = 0; i < cit.length; i++) {
-	    Data data = new Data(cit[i], String.valueOf(i + 1));
-	    result.add(data);
-	}*/
-    	ArrayList<Data> result = new ArrayList<Data>();
-    	result = addData(cityAfrica, result);
-    	result = addData(cityAsia, result);
-    	result = addData(cityCAmerica ,result);
-    	result = addData(cityCaribbean ,result);
-    	result = addData(cityEurope ,result);
-    	result = addData(cityMEast ,result);
-    	result = addData(cityNAmerica ,result);
-    	result = addData(cityOceania ,result);
-    	result = addData(citySAmerica ,result);
-    	result = addData(citySEAsia ,result);
-    	return result;
-    }
+	}
 
-    public ArrayList getData() {
-	return data;
-    }
+	public ArrayList getAllData() {
+		/*
+		 * for (int i = 0; i < cit.length; i++) { Data data = new Data(cit[i],
+		 * String.valueOf(i + 1)); result.add(data); }
+		 */
+		ArrayList<Data> result = new ArrayList<Data>();
+		result = addData(cityAfrica, result);
+		result = addData(cityAsia, result);
+		result = addData(cityCAmerica, result);
+		result = addData(cityCaribbean, result);
+		result = addData(cityEurope, result);
+		result = addData(cityMEast, result);
+		result = addData(cityNAmerica, result);
+		result = addData(cityOceania, result);
+		result = addData(citySAmerica, result);
+		result = addData(citySEAsia, result);
+		return result;
+	}
 
-    public void setData(ArrayList data) {
-	this.data = data;
-    }
+	public ArrayList getData() {
+		return data;
+	}
 
-    public String getProperty() {
-	return property;
-    }
+	public void setData(ArrayList data) {
+		this.data = data;
+	}
 
-    public void setProperty(String property) {
-	this.property = property;
-    }
+	public String getProperty() {
+		return property;
+	}
 
-    public String getCellpadding() {
-	return cellpadding;
-    }
+	public void setProperty(String property) {
+		this.property = property;
+	}
 
-    public void setCellpadding(String cellpadding) {
-	this.cellpadding = cellpadding;
-    }
+	public String getCellpadding() {
+		return cellpadding;
+	}
 
-    public String getCellspacing() {
-	return cellspacing;
-    }
+	public void setCellpadding(String cellpadding) {
+		this.cellpadding = cellpadding;
+	}
 
-    public void setCellspacing(String cellspacing) {
-	this.cellspacing = cellspacing;
-    }
+	public String getCellspacing() {
+		return cellspacing;
+	}
 
-    public int getFirst() {
-	return first;
-    }
+	public void setCellspacing(String cellspacing) {
+		this.cellspacing = cellspacing;
+	}
 
-    public int getIntFirst() {
-	return first;
-    }
+	public int getFirst() {
+		return first;
+	}
 
-    public void setFirst(int first) {
-	this.first = first;
-    }
+	public int getIntFirst() {
+		return first;
+	}
 
-    public String getFrequency() {
-	return frequency;
-    }
+	public void setFirst(int first) {
+		this.first = first;
+	}
 
-    public double getDoubleFrequency() {
-	return Double.parseDouble(getFrequency());
-    }
+	public String getFrequency() {
+		return frequency;
+	}
 
-    public void setFrequency(String frequency) {
-	this.frequency = frequency;
-    }
+	public double getDoubleFrequency() {
+		return Double.parseDouble(getFrequency());
+	}
 
-    public String getMinchars() {
-	return minchars;
-    }
+	public void setFrequency(String frequency) {
+		this.frequency = frequency;
+	}
 
-    public void setMinchars(String minchars) {
-	this.minchars = minchars;
-    }
+	public String getMinchars() {
+		return minchars;
+	}
 
-    public String getRows() {
-	return rows;
-    }
+	public void setMinchars(String minchars) {
+		this.minchars = minchars;
+	}
 
-    public int getIntRows() {
-	return Integer.parseInt(getRows());
-    }
+	public String getRows() {
+		return rows;
+	}
 
-    public void setRows(String rows) {
-	this.rows = rows;
-    }
+	public int getIntRows() {
+		return Integer.parseInt(getRows());
+	}
 
-    public String getRules() {
-	return rules;
-    }
+	public void setRows(String rows) {
+		this.rows = rows;
+	}
 
-    public void setRules(String rules) {
-	this.rules = rules;
-    }
+	public String getRules() {
+		return rules;
+	}
 
-    public ArrayList getTokens() {
-	return tokens;
-    }
+	public void setRules(String rules) {
+		this.rules = rules;
+	}
 
-    public void setTokens(ArrayList tokens) {
-	this.tokens = tokens;
-    }
+	public ArrayList getTokens() {
+		return tokens;
+	}
 
-    public void OnSelect() {
-    	System.out.print("Onselect works!!!");
-    }
+	public void setTokens(ArrayList tokens) {
+		this.tokens = tokens;
+	}
 
-    public String getBorder() {
-	return border;
-    }
+	public void OnSelect() {
+		System.out.print("Onselect works!!!");
+	}
 
-    public void setBorder(String border) {
-	this.border = border;
-    }
+	public String getBorder() {
+		return border;
+	}
 
-    public String getHeight() {
-	return height;
-    }
+	public void setBorder(String border) {
+		this.border = border;
+	}
 
-    public void setHeight(String height) {
-	this.height = height;
-    }
+	public String getHeight() {
+		return height;
+	}
 
-    public String getShadowOpacity() {
-	return shadowOpacity;
-    }
+	public void setHeight(String height) {
+		this.height = height;
+	}
 
-    public void setShadowOpacity(String shadowOpacity) {
-	this.shadowOpacity = shadowOpacity;
-    }
+	public String getShadowOpacity() {
+		return shadowOpacity;
+	}
 
-    public String getWidth() {
-	return width;
-    }
+	public void setShadowOpacity(String shadowOpacity) {
+		this.shadowOpacity = shadowOpacity;
+	}
 
-    public void setWidth(String width) {
-	this.width = width;
-    }
+	public String getWidth() {
+		return width;
+	}
 
-    public String getBgColor() {
-	return bgColor;
-    }
+	public void setWidth(String width) {
+		this.width = width;
+	}
 
-    public void setBgColor(String bgColor) {
-	this.bgColor = bgColor;
-    }
+	public String getBgColor() {
+		return bgColor;
+	}
 
-    public boolean isFocus() {
-	return focus;
-    }
+	public void setBgColor(String bgColor) {
+		this.bgColor = bgColor;
+	}
 
-    public void setFocus(boolean focus) {
-	this.focus = focus;
-    }
+	public boolean isFocus() {
+		return focus;
+	}
 
-    public String getZindex() {
-	return zindex;
-    }
+	public void setFocus(boolean focus) {
+		this.focus = focus;
+	}
 
-    public void setZindex(String zindex) {
-	this.zindex = zindex;
-    }
+	public int getZindex() {
+		return zindex;
+	}
 
-    public String getShadowDepth() {
-	return shadowDepth;
-    }
+	public void setZindex(int zindex) {
+		this.zindex = zindex;
+	}
 
-    public void setShadowDepth(String shadowDepth) {
-	this.shadowDepth = shadowDepth;
-    }
+	public String getShadowDepth() {
+		return shadowDepth;
+	}
 
-	public void bTest1(){
+	public void setShadowDepth(String shadowDepth) {
+		this.shadowDepth = shadowDepth;
+	}
+
+	public void bTest1() {
 		setBorder("2");
 		setCellpadding("0");
 		setCellspacing("0");
@@ -289,10 +288,10 @@
 		setMinchars("1");
 		setShadowDepth("11");
 		setShadowOpacity("3");
-		setZindex("3");
+		setZindex(3);
 	}
 
-	public void bTest2(){
+	public void bTest2() {
 		setBorder("0");
 		setCellpadding("3");
 		setCellspacing("3");
@@ -302,10 +301,10 @@
 		setMinchars("1");
 		setShadowDepth("1");
 		setShadowOpacity("7");
-		setZindex("3");		
+		setZindex(3);
 	}
-	
-	public void bTest3(){
+
+	public void bTest3() {
 		setBorder("1");
 		setCellpadding("5");
 		setCellspacing("0");
@@ -315,10 +314,10 @@
 		setMinchars("2");
 		setShadowDepth("1");
 		setShadowOpacity("7");
-		setZindex("3");		
+		setZindex(3);
 	}
-	
-	public void bTest4(){
+
+	public void bTest4() {
 		setBorder("1");
 		setCellpadding("0");
 		setCellspacing("5");
@@ -328,10 +327,10 @@
 		setMinchars("2");
 		setShadowDepth("7");
 		setShadowOpacity("1");
-		setZindex("3");		
+		setZindex(3);
 	}
-	
-	public void bTest5(){
+
+	public void bTest5() {
 		setBorder("4");
 		setCellpadding("1");
 		setCellspacing("1");
@@ -341,6 +340,6 @@
 		setMinchars("2");
 		setShadowDepth("5");
 		setShadowOpacity("5");
-		setZindex("1");		
+		setZindex(1);
 	}
 }

Modified: branches/3.1.x/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java	2007-12-11 13:26:33 UTC (rev 4701)
@@ -11,7 +11,7 @@
 	private String [] status = {"error", "fatal", "info", "passed", "warn"};
 	private String [] statusIcon = {"/pics/error.gif", "/pics/fatal.gif", "/pics/info.gif", "/pics/passed.gif", "/pics/warn.gif"};
 	private String width;
-	private String rows;
+	private int rows;
 	private String key;
 	private boolean hideWhenScrolling;
 	
@@ -25,7 +25,7 @@
 
 	public ScrollableDataTable() {
 		width = "400px";
-		rows = "30";
+		rows = 30;
 		hideWhenScrolling = false;
 		
 		data = new ArrayList<Data>();
@@ -52,11 +52,11 @@
 		this.width = width;
 	}
 
-	public String getRows() {
+	public int getRows() {
 		return rows;
 	}
 
-	public void setRows(String rows) {
+	public void setRows(int rows) {
 		this.rows = rows;
 	}
 

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -3,7 +3,7 @@
 	<h:panelGrid columns="2">
 		<rich:panel style="width: 130px; height: 50px; background-color: #98FB98;">
 			<h:outputText value="panel with contextMenu(DEFAULT)" />
-			<rich:contextMenu id="contextMenuDefaultID" submitMode="ajax">
+			<rich:contextMenu id="contextMenuDefaultID" submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
 				<rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID">
 					<f:param name="cmdParam" value="abc" />
 				</rich:menuItem>
@@ -93,13 +93,13 @@
 			</rich:contextMenu>
 		</rich:panel>
 	</h:panelGrid>
-	<h:panelGrid id="cmInfoID" olumns="2">
+	
+	<a4j:commandButton value="reRender" reRender="cmInfoID"></a4j:commandButton>
+	
+	<h:panelGrid id="cmInfoID" columns="2">
 		<h:outputText value="Select items: " />
 		<h:outputText value="#{contextMenu.info}" style="color: red" />
 	</h:panelGrid>
-		<a4j:commandButton value="abc" reRender="cmInfoID">
-			
-		</a4j:commandButton>
 		
 	<h:panelGrid id="pgcmTestID" columns="3">
 		<h:selectOneMenu value="#{contextMenu.selectOneMenu}">
@@ -147,7 +147,7 @@
 
 		<rich:tabPanel id="tpcmTestID" switchType="client">
 			<rich:tab id="t1cmTestID" label="tab1">
-				<rich:contextMenu submitMode="ajax">
+				<rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
 					<rich:menuItem icon="/pics/header.png" value="tab1" reRender="cmInfoID">
 						<f:param name="cmdParam" value="tab1" />
 					</rich:menuItem>
@@ -165,7 +165,7 @@
 				<h:outputText value="text1" />
 			</rich:tab>
 			<rich:tab id="t2cmTestID" label="tab2">
-				<rich:contextMenu submitMode="ajax">
+				<rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
 					<rich:menuItem icon="/pics/header.png" value="tab2" reRender="cmInfoID">
 						<f:param name="cmdParam" value="tab2" />
 					</rich:menuItem>
@@ -183,7 +183,7 @@
 				<h:outputText value="text2" />
 			</rich:tab>
 			<rich:tab id="t3cmTestID" label="tab3">
-				<rich:contextMenu submitMode="ajax">
+				<rich:contextMenu submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
 					<rich:menuItem icon="/pics/header.png" value="tab3" reRender="cmInfoID">
 						<f:param name="cmdParam" value="tab3" />
 					</rich:menuItem>
@@ -239,9 +239,7 @@
 				</rich:menuItem>
 			</rich:contextMenu>
 		</rich:tabPanel>
-		<a4j:commandButton value="abc" reRender="cmInfoID">
-		</a4j:commandButton>
-		
+				
 		<h:graphicImage id="gicmID" value="/pics/asus.jpg" height="125px" width="150px">
 			<rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
 				disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
@@ -324,49 +322,6 @@
 			</rich:contextMenu>
 		</h:inputText>
 
-	<h:panelGroup>
-		<div id="divcmTestID" style="width: 80px; height: 45px; background-color: #008080;">
-			<rich:contextMenu attached="#{contextMenu.attached}" submitMode="#{contextMenu.submitMode}" event="#{contextMenu.event}"
-				disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}" hideDelay="#{contextMenu.hideDelay}"
-				showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
-				<rich:menuItem icon="/pics/header.png" value="div" reRender="cmInfoID">
-					<f:param name="cmdParam" value="div" />
-				</rich:menuItem>
-				<rich:menuSeparator />
-				<rich:menuItem icon="/pics/info.gif" value="action" action="alert('action work')" reRender="cmInfoID">
-					<f:param name="cmdParam" value="action" />
-				</rich:menuItem>
-				<rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{contextMenu.actionListener}" reRender="cmInfoID">
-				</rich:menuItem>
-				<rich:menuItem icon="/pics/info.gif" value="ajaxSingle" ajaxSingle="true" action="submit()" reRender="cmInfoID">
-					<f:param name="cmdParam" value="ajaxSingle" />
-				</rich:menuItem>
-				<rich:menuItem icon="/pics/fatal.gif" value="disabled" disabled="true" reRender="cmInfoID">
-					<f:param name="cmdParam" value="disabled" />
-				</rich:menuItem>
-				<rich:menuItem icon="/pics/fatal.gif" value="immediate" immediate="true" action="submit();">
-					<f:param name="cmdParam" value="immedeate" />
-					<h:inputText value="#{contextMenu.inputText}" />
-				</rich:menuItem>
-				<rich:menuItem icon="/pics/fatal.gif" value="submitMode: none" submitMode="none" reRender="cmInfoID">
-					<f:param name="cmdParam" value="none" />
-				</rich:menuItem>
-				<rich:menuItem icon="/pics/fatal.gif" value="submitMode: server" submitMode="server" reRender="cmInfoID">
-					<f:param name="cmdParam" value="server" />
-				</rich:menuItem>
-				<rich:menuItem icon="/pics/fatal.gif" value="submitMode: ajax" submitMode="ajax" reRender="cmInfoID">
-					<f:param name="cmdParam" value="ajax" />
-				</rich:menuItem>
-				<rich:menuItem value="select">
-					<h:selectOneMenu value="#{contextMenu.selectOneMenu}" onchange="submit();">
-						<f:selectItem itemLabel="item1" itemValue="item1" />
-						<f:selectItem itemLabel="item2" itemValue="item2" />
-					</h:selectOneMenu>
-				</rich:menuItem>
-			</rich:contextMenu>
-		</div>
-</h:panelGroup>
-
 		<h:panelGrid id="pgTestID" columns="1" border="5" cellpadding="2" cellspacing="2">
 			<h:outputText value="panelGrid" />
 			<h:outputText value="" />

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -1,7 +1,7 @@
 <f:subview id="dataDefinitionListSubviewID" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j"
 	xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:ui="http://java.sun.com/jsf/facelets">
 		<rich:dataDefinitionList id="ddListID" value="#{dataDefinitionList.arr}" var="arr" first="#{dataDefinitionList.first}"
-			rendered="#{dataDefinitionList.rendered}" title="#{dataDefinitionList.title}" type="#{dataDefinitionList.type}" dir="#{dataDefinitionList.dir}"
+			rendered="#{dataDefinitionList.rendered}" title="#{dataDefinitionList.title}" dir="#{dataDefinitionList.dir}"
 			rows="#{dataDefinitionList.rows}">
 			<f:facet name="header">
 				<h:outputText value="Africa(header):" />

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -1,6 +1,10 @@
 <f:subview id="DtadAndDropSubviewID" xmlns:a4j="http://richfaces.org/a4j" xmlns:f="http://java.sun.com/jsf/core"
 	xmlns:rich="http://richfaces.org/rich" xmlns:h="http://java.sun.com/jsf/html">
-
+	
+	<script type="text/javascript">
+		DnD.CLIENT_VALIDATION_OFF = false;
+	</script>
+	
 		<h:panelGroup id="dragValueText">
 			<h:outputText value="#{dndBean.dragValue}" />
 		</h:panelGroup>
@@ -24,8 +28,8 @@
 						<h:outputText value="#{type} - drop" />
 						<rich:dropSupport reRender="dragValueText" ondragenter="print('InputID', ' work!')" ondragexit="print('InputID', ' work!')"
 							ondrop="print('InputID', ' work!')" ondropend="print('InputID', ' work!')"
-							oncomplete="print('oncompleteInputID', 'oncomplete work!')" ondragend="print('ondragendInputID', 'ondragend work!')"
-							ondragstart="print('ondragstartInputID', 'ondragstart work!')" onsubmit="print('onsubmitInputID', 'onsubmit work!')"
+							oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+							onsubmit="print('onsubmitInputID', 'onsubmit work!')"
 							action="#{dndBean.dropAction}" acceptedTypes="#{type}" dropListener="#{dndBean.processDrop}" dropValue="#{type} - value">
 						</rich:dropSupport>
 					</h:panelGrid>
@@ -68,10 +72,10 @@
 			<h:panelGrid styleClass="dropzoneDecoration" id="grid1">
 				<f:verbatim>Accepts file and folder... Customizes</f:verbatim>
 				<rich:dropSupport id="zone1"
-					oncomplete="print('oncompleteInputID', 'oncomplete work!')" ondragend="print('ondragendInputID', 'ondragend work!')" ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+					oncomplete="print('oncompleteInputID', 'oncomplete work!')"
 					onsubmit="print('onsubmitInputID', 'onsubmit work!')" ondragenter="print('ondragenterInputID', 'ondragenter work!')" 
 					ondragexit="print('ondragexitInputID', 'ondragexit work!')" ondropend="print('ondropendInputID', 'ondropend work!')"
-					ondrop="print('ondropInputID', 'ondrop work!');var zone = $('DtadAndDropSubviewID:form:grid1'); zone.style.borderColor= 'red'; setTimeout( function() { this.style.borderColor= 'navy'; }.bind(zone), 300);"
+					ondrop="print('ondropInputID', 'ondrop work!')"
 					acceptedTypes="file, folder" typeMapping="{file: testDrop}">
 					<rich:dndParam name="testDrop">
 						<h:graphicImage height="16" width="16"

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -3,7 +3,7 @@
 		<h:panelGrid columns="2">
 			<rich:spacer width="400px" height="400px"></rich:spacer>
 			<rich:panel>
-				<rich:dropDownMenu id="ddmId" value="" submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
+				<rich:dropDownMenu id="ddmId" value="dropDownMenu" submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
 					direction="#{dDMenu.direction}" horizontalOffset="#{dDMenu.horizontalOffset}" jointPoint="#{dDMenu.jointPoint}"
 					popupWidth="#{dDMenu.popupWidth}" showDelay="#{dDMenu.showDelay}" rendered="#{dDMenu.rendered}"
 					verticalOffset="#{dDMenu.verticalOffset}" styleClass="panelpos" event="#{dDMenu.event}"

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -49,14 +49,6 @@
 			</f:verbatim>
 		</h:panelGroup>
 
-		<a4j:outputPanel id="zoomer">
-			<script>
-		  function zoomIt() {
-		   map.setZoom(#{gmap.zoom});
-		  }
-		</script>
-		</a4j:outputPanel>
-
 		<a4j:outputPanel>
 			<script>
 	   

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/InputNumberSlider/InputNumberSlider.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/InputNumberSlider/InputNumberSlider.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/InputNumberSlider/InputNumberSlider.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -1,9 +1,9 @@
 <f:subview id="inputNumberSliderSubviewID" xmlns:a4j="http://richfaces.org/a4j" xmlns:f="http://java.sun.com/jsf/core"
 	xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich">
 		<h:panelGrid columns="1">
-			<rich:inputNumberSlider id="SliderId" immediate="#{inputNumberSlider.immediate}"
+			<rich:inputNumberSlider id="SliderId"  immediate="#{inputNumberSlider.immediate}"
 				inputPosition="#{inputNumberSlider.inputPosition}" showToolTip="#{inputNumberSlider.showToolTip}"
-				tabindex="#{inputNumberSlider.tabindex}" value="#{inputNumberSlider.value}" valueChangeListener="{key}"
+				tabindex="#{inputNumberSlider.tabindex}" value="#{inputNumberSlider.value}" valueChangeListener="#{inputNumberSlider.valueChangeListener}"
 				required="#{inputNumberSlider.rendered}" requiredMessage="#{inputNumberSlider.requiredMessage}"
 				disabled="#{inputNumberSlider.disabled}" enableManualInput="#{inputNumberSlider.enableManualInput}"
 				inputSize="#{inputNumberSlider.inputSize}" maxValue="#{inputNumberSlider.maxValue}" minValue="#{inputNumberSlider.minValue}"
@@ -11,9 +11,12 @@
 				step="#{inputNumberSlider.step}" showInput="#{inputNumberSlider.showInput}" width="#{inputNumberSlider.width}"
 				barClass="#{inputNumberSlider.barStyle}" tipClass="#{inputNumberSlider.tipStyle}" inputClass="#{inputNumberSlider.inputStyle}"
 				handleClass="#{inputNumberSlider.handleStyle}" styleClass="#{inputNumberSlider.tipStyle}" 
-				maxlength="#{inputNumberSlider.maxlength}" onmousedown="print('onmousedownInputID', 'onmousedown work!')"
-				>
+				maxlength="#{inputNumberSlider.maxlength}" onmousedown="print('onmousedownInputID', 'onmousedown work!')"	>
 			</rich:inputNumberSlider>
+			<h:panelGroup>
+				<a4j:commandButton value="valueChangeListener (show)" reRender="valueCLID" />
+				<h:outputText id="valueCLID" value=" #{inputNumberSlider.valueChangeListener}" />
+			</h:panelGroup>
 		</h:panelGrid>
 		<rich:spacer height="20px"></rich:spacer>
 </f:subview>
\ No newline at end of file

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -14,7 +14,7 @@
 			targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
 			topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}">
 
-			<h:column width="100px">
+			<h:column>
 				<f:facet name="header">
 					<h:outputText value="Number" />
 				</f:facet>
@@ -28,7 +28,7 @@
 				<h:inputText value="#{item.str0}" />
 			</h:column>
 
-			<h:column width="100px">
+			<h:column>
 				<f:facet name="header">
 					<h:outputText value="Button" />
 				</f:facet>

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -19,7 +19,7 @@
 		</h:column>
 		<h:column>
 			<h:dataTable id="allInfoLSSourceID" value="#{listShuttle.sourceValue}" var="allInfo" rendered="#{listShuttle.showAllSourceData}" border="1">
-				<h:column width="100px">
+				<h:column>
 					<f:facet name="header">
 						<h:outputText value="Number" />
 					</f:facet>
@@ -97,7 +97,7 @@
 					<h:outputText value="#{allInfo.str0}" />
 				</h:column>
 
-				<h:column width="100px">
+				<h:column>
 					<f:facet name="header">
 						<h:outputText value="Button" />
 					</f:facet>

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -40,7 +40,7 @@
 				showSummary="#{message.showSummary}" passedLabel="No Error" errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
 				infoLabelClass="infoLabel" warnLabelClass="fatalLabel" warnMarkerClass="markerWarn" infoMarkerClass="markerInfo"
 				errorMarkerClass="markerError" fatalMarkerClass="markerFatal" errorClass="errorClass" fatalClass="fatalClass"
-				warnClass="warnClass" infoClass="infoClass" labelClass="labelClass" var="messages" styleClass="class" title="#{message.title}">
+				warnClass="warnClass" infoClass="infoClass" labelClass="labelClass" styleClass="class" title="#{message.title}">
 				<f:facet name="errorMarker">
 					<h:graphicImage url="/pics/error.gif" />
 				</f:facet>

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -82,21 +82,6 @@
 				<h:selectBooleanCheckbox value="#{modalPanel.moveable}">
 					<a4j:support event="onclick" reRender="modalPanelID"></a4j:support>
 				</h:selectBooleanCheckbox>
-										
-				<h:outputText value="immediate" />
-				<h:selectBooleanCheckbox value="#{modalPanel.immediate}" >
-					<a4j:support event="onchange" action="submit();"></a4j:support>
-				</h:selectBooleanCheckbox>
-
-				<h:outputText value="required" />
-				<h:selectBooleanCheckbox value="#{modalPanel.required}" >
-					<a4j:support event="onchange" action="suport();"></a4j:support>
-				</h:selectBooleanCheckbox>
-				
-				<h:outputText value="requiredMessage" />
-				<h:inputText value="#{modalPanel.requiredMessage}" >
-					<a4j:support event="onchange" action="submit();"></a4j:support>
-				</h:inputText>
 			</h:panelGrid>
 		</rich:simpleTogglePanel>
 </f:subview>
\ No newline at end of file

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingList.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -10,7 +10,7 @@
 		bottomControlLabel="#{orderingList.bottomControlLabel}" captionLabel="#{orderingList.captionLabel}"
 		topControlLabel="#{orderingList.topControlLabel}" upControlLabel="#{orderingList.upControlLabel}"
 		controlsHorizontalAlign="#{orderingList.controlsHorizontalAlign}" controlsVerticalAlign="#{orderingList.controlsVerticalAlign}"
-		headerLabel="#{orderingList.headerLabel}" downControlLabel="#{orderingList.downControlLabel}"
+		downControlLabel="#{orderingList.downControlLabel}"
 		orderControlsVisible="#{orderingList.orderControlsVisible}" fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
 		rendered="#{orderingList.rendered}" showButtonLabels="#{orderingList.showButtonLabels}" selection="#{orderingList.selection}"
 		onmousemove="print('onmousemoveInputID', 'onmousemove work!')" onclick="print('onclickInputID', 'onclick work!')" 

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListProperty.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -19,11 +19,6 @@
 			<a4j:support event="onchange" reRender="orderingListID"></a4j:support>
 		</h:inputText>
 
-		<h:outputText value="headerLabel" />
-		<h:inputText value="#{orderingList.headerLabel}">
-			<a4j:support event="onchange" reRender="orderingListID"></a4j:support>
-		</h:inputText>
-
 		<h:outputText value="listHeight:" />
 		<h:inputText value="#{orderingList.listHeight}">
 			<a4j:support event="onchange" reRender="orderingListID"></a4j:support>

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/OrderingList/OrderingListStraightforward.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -40,7 +40,7 @@
 			</h:column>
 			<h:column>
 				<h:dataTable id="allInfoPanelID" value="#{orderingList.list}" var="allInfo" rendered="#{orderingList.showAllData}" border="1">
-					<h:column width="100px">
+					<h:column>
 						<f:facet name="header">
 							<h:outputText value="Number" />
 						</f:facet>
@@ -54,7 +54,7 @@
 						<h:outputText value="#{allInfo.str0}" />
 					</h:column>
 
-					<h:column width="100px">
+					<h:column>
 						<f:facet name="header">
 							<h:outputText value="Button" />
 						</f:facet>

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -48,7 +48,7 @@
 		</f:verbatim>
 
 		<rich:panel style="width:50px; height:50px; background-color: gray">
-			<rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}" delay="#{tooltip.delay}"
+			<rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}" 
 				layout="#{tooltip.layout}" horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}"
 				followMouse="#{tooltip.followMouse}" direction="#{tooltip.direction}" style="#{tooltip.style}" disabled="#{tooltip.disabled}"
 				rendered="#{tooltip.rendered}" onclick="print('onclickInputID', 'onclick work!')"

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -11,13 +11,7 @@
 				onmouseover="print('onmouseoverInputID', 'onmouseover work!')" onmouseup="print('onmouseupInputID', 'onmouseup work!')"/>
 
 		</h:panelGrid>
-		<a4j:outputPanel id="zoomer">
-			<script>
-		  function zoomIt() {
-		   map.setZoom(#{virtualEarth.zoom});
-		  }
-		</script>
-		</a4j:outputPanel>
+
 		<a4j:outputPanel>
 			<script>
       function createMarker(point,html) {

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -117,7 +117,7 @@
    <to-view-id>/ScrollableDataTable/ScrollableDataTable.xhtml</to-view-id>
   </navigation-case>
   <navigation-case>
-   <from-outcome>Test</from-outcome>
+   <from-outcome>RichFaces</from-outcome>
    <to-view-id>/pages/Rich/Rich.xhtml</to-view-id>
   </navigation-case>
   <navigation-case>

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:a4j="http://richfaces.org/a4j" xmlns:f="http://java.sun.com/jsf/core"
 	xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:ui="http://java.sun.com/jsf/facelets">
-<f:view id="view">
+<f:view>
 	<head>
 	<f:loadBundle basename="message" var="msg" />
 	<title></title>
@@ -40,8 +40,7 @@
 			<h:column rendered="#{!richBean.reProperty}"></h:column>
 		</h:panelGrid>
 	</h:form>
-	<rich:modalPanel id="eventInfoID" autosize="true" minHeight="550" minWidth="200" moveable="true" resizeable="true"
-		style="overflow: true;">
+	<rich:modalPanel id="eventInfoID" autosized="true" minHeight="550" minWidth="200" moveable="true" style="overflow: true;">
 		<f:facet name="header">
 			<h:outputText value="Events ..." />
 		</f:facet>

Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml	2007-12-11 13:25:46 UTC (rev 4700)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml	2007-12-11 13:26:33 UTC (rev 4701)
@@ -16,7 +16,7 @@
 		<rich:spacer></rich:spacer>
 		<rich:panel>
 			<h:panelGrid columns="2" cellpadding="5px" cellspacing="5px">
-				<h:commandLink value="RichFaces" action="Test"></h:commandLink>
+				<h:commandLink value="RichFaces" action="RichFaces"></h:commandLink>
 				<h:commandLink value="Div" action="TestDiv"></h:commandLink>
 				<h:commandLink value="Select" action="Map"></h:commandLink>
 				<h:commandLink value="Customize page" action="CustomizePage"></h:commandLink>




More information about the richfaces-svn-commits mailing list