Author: gmaksimenko
Date: 2008-04-22 10:47:13 -0400 (Tue, 22 Apr 2008)
New Revision: 8060
Modified:
trunk/test-applications/facelets/src/main/java/pickList/PickList.java
Log:
Add test for lang
Modified: trunk/test-applications/facelets/src/main/java/pickList/PickList.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/pickList/PickList.java 2008-04-22
13:44:51 UTC (rev 8059)
+++ trunk/test-applications/facelets/src/main/java/pickList/PickList.java 2008-04-22
14:47:13 UTC (rev 8060)
@@ -36,6 +36,7 @@
private String valueCL;
private HtmlPickList myPickList = null;
private String bindLabel;
+ private String lang;
public PickList() {
this.copyAllControlLabel = "copyAllControlLabel";
@@ -60,6 +61,7 @@
this.required = false;
this.requiredMessage = "requiredMessage";
bindLabel = "Click Binding";
+ this.lang = "defaultLang";
data = new ArrayList<SelectItem>();
for (int i = 0; i < 10; i++)
data.add(new SelectItem("selectItems " + i));
@@ -274,4 +276,12 @@
public void setValue(Object[] value) {
this.value = value;
}
+
+ public String getLang() {
+ return lang;
+ }
+
+ public void setLang(String lang) {
+ this.lang = lang;
+ }
}
Show replies by date