Author: gmaksimenko
Date: 2008-04-22 10:47:32 -0400 (Tue, 22 Apr 2008)
New Revision: 8061
Modified:
trunk/test-applications/jsp/src/main/java/pickList/PickList.java
Log:
Add test for lang
Modified: trunk/test-applications/jsp/src/main/java/pickList/PickList.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/pickList/PickList.java 2008-04-22 14:47:13
UTC (rev 8060)
+++ trunk/test-applications/jsp/src/main/java/pickList/PickList.java 2008-04-22 14:47:32
UTC (rev 8061)
@@ -38,7 +38,45 @@
private String valueCL;
private HtmlPickList myPickList = null;
private String bindLabel;
+ private String lang;
+
+ public PickList() {
+ this.copyAllControlLabel = "copyAllControlLabel";
+ this.copyControlLabel = "copyControlLabel";
+ this.dir = "alert('work')";
+ this.disabled = false;
+ this.fastOrderControlsVisible = true;
+ this.immediate = false;
+ this.listsHeight = "400";
+ this.valueCL = "---";
+ // this.localValueSet = ;
+ this.moveControlsVerticalAlign = "30";
+ this.removeAllControlLabel = "removeAllControlLabel";
+ this.removeControlLabel = "removeControlLabel";
+ this.rendered = true;
+ this.showButtonLabels = true;
+ this.size = 10;
+ this.sourceListWidth = "300";
+ this.switchByClick = false;
+ this.targetListWidth = "400";
+ this.title = "title";
+ this.required = false;
+ this.requiredMessage = "requiredMessage";
+ this.bindLabel = "Click Binding";
+ this.lang = "defaultLang";
+ data = new ArrayList<SelectItem>();
+ for (int i = 0; i < 10; i++)
+ data.add(new SelectItem("selectItems " + i));
+ }
+ public String getLang() {
+ return lang;
+ }
+
+ public void setLang(String lang) {
+ this.lang = lang;
+ }
+
public HtmlPickList getMyPickList() {
return myPickList;
}
@@ -79,35 +117,6 @@
this.requiredMessage = requiredMessage;
}
- public PickList() {
- this.copyAllControlLabel = "copyAllControlLabel";
- this.copyControlLabel = "copyControlLabel";
- this.dir = "alert('work')";
- this.disabled = false;
- this.fastOrderControlsVisible = true;
- this.immediate = false;
- this.listsHeight = "400";
- this.valueCL = "---";
- // this.localValueSet = ;
- this.moveControlsVerticalAlign = "30";
- this.removeAllControlLabel = "removeAllControlLabel";
- this.removeControlLabel = "removeControlLabel";
- this.rendered = true;
- this.showButtonLabels = true;
- this.size = 10;
- this.sourceListWidth = "300";
- this.switchByClick = false;
- this.targetListWidth = "400";
- this.title = "title";
- this.required = false;
- this.requiredMessage = "requiredMessage";
- this.bindLabel = "Click Binding";
- data = new ArrayList<SelectItem>();
- for (int i = 0; i < 10; i++)
- data.add(new SelectItem("selectItems " + i));
-
- }
-
public void valueChangeListener(ValueChangeEvent event) {
valueCL = "valueChangeListener work!";
}
Show replies by date