Author: gmaksimenko
Date: 2008-04-25 07:07:25 -0400 (Fri, 25 Apr 2008)
New Revision: 8163
Modified:
trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java
Log:
Add tests for immediate and required
Modified: trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-25
11:07:14 UTC (rev 8162)
+++ trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-25
11:07:25 UTC (rev 8163)
@@ -19,6 +19,8 @@
private String minSelectWidth;
private boolean openOnEdit;
private boolean rendered;
+ private boolean required;
+ private String requiredMessage;
private String selectWidth;
private boolean showControls;
private boolean changedClass;
@@ -50,6 +52,8 @@
bindLabel = "Click Binding";
changedLabel = "default";
changedClass = false;
+ required = false;
+ requiredMessage="requiredMessage";
}
public HtmlInplaceSelect getMyInplaceSelect(){
@@ -243,5 +247,21 @@
this.changedClass = changedClass;
}
+ public boolean isRequired() {
+ return required;
+ }
+ public void setRequired(boolean required) {
+ this.required = required;
+ }
+
+ public String getRequiredMessage() {
+ return requiredMessage;
+ }
+
+ public void setRequiredMessage(String requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+
}