Author: ayanul
Date: 2008-03-24 11:13:04 -0400 (Mon, 24 Mar 2008)
New Revision: 7117
Modified:
trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java
trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java
trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java
Log:
+ update
Modified: trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java 2008-03-24
15:11:35 UTC (rev 7116)
+++ trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java 2008-03-24
15:13:04 UTC (rev 7117)
@@ -29,7 +29,7 @@
required = false;
requiredMessage = "requiredMessage";
tabindex = 1;
- editEvent = "click";
+ editEvent = "onclick";
defaultLabel = "defaultLabel";
controlsVerticalPosition = "top";
controlsHorizontalPosition = "left";
Modified: trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java 2008-03-24
15:11:35 UTC (rev 7116)
+++ trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java 2008-03-24
15:13:04 UTC (rev 7117)
@@ -25,7 +25,7 @@
public InplaceSelect() {
valueCL = "---";
- editEvent = "click";
+ editEvent = "onclick";
maxSelectWidth = "150";
minSelectWidth = "85";
selectWidth = "170";
Modified: trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java 2008-03-24
15:11:35 UTC (rev 7116)
+++ trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java 2008-03-24
15:13:04 UTC (rev 7117)
@@ -6,17 +6,19 @@
public class ProgressBar {
private boolean ajaxSingle;
- private Integer value;
+ private double value;
private boolean enabled;
private String mode;
private String interval;
private String maxValue;
private String minValue;
+ private String label;
private boolean dualColoredLabel;
private boolean rendered;
private String listnerInfo;
private boolean ignoreDupResponses;
private boolean permanent;
+ private boolean immediate;
public boolean isIgnoreDupResponses() {
return ignoreDupResponses;
@@ -35,12 +37,14 @@
}
public String getLoadInfo() {
- return Data.cityAfrica[value % 62];
+ return Data.cityAfrica[(int)value % 62];
}
public ProgressBar() {
+ immediate = false;
+ label = "label";
ajaxSingle = false;
- value = 0;
+ value = 0L;
enabled = false;
mode = "ajax";
interval = "500";
@@ -117,12 +121,12 @@
this.rendered = rendered;
}
- public Integer getValue() {
+ public double getValue() {
// without a vodka bottle you will not understand :)
return enabled ? (permanent ? new Integer(maxValue) : value++) : value;
}
- public void setValue(Integer value) {
+ public void setValue(double value) {
this.value = value;
}
@@ -141,4 +145,20 @@
public void setPermanent(boolean permanent) {
this.permanent = permanent;
}
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
}