Author: mvitenkov
Date: 2008-07-02 04:30:25 -0400 (Wed, 02 Jul 2008)
New Revision: 9351
Modified:
trunk/test-applications/jsp/src/main/java/sb/Sb.java
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/java/sb/Sb.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-07-02 08:18:27 UTC (rev
9350)
+++ trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-07-02 08:30:25 UTC (rev
9351)
@@ -66,7 +66,9 @@
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() {
ignoreDupResponses = true;
immediate = true;
@@ -97,7 +99,11 @@
usingSuggestObjects = true;
setCities(getAllData());
}
-
+
+ public void selectValue(ActionEvent actionEvent){
+ System.out.println("----inside selectValue(ActionEvent actionEvent)-----");
+ }
+
public void checkBinding(ActionEvent actionEvent) {
FacesContext context = FacesContext.getCurrentInstance();
bindLabel = mySuggestionBox.getClientId(context) + "; param: " +
mySuggestionBox.getParam();