Author: gmaksimenko
Date: 2008-04-25 07:07:35 -0400 (Fri, 25 Apr 2008)
New Revision: 8164
Modified:
trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java
Log:
Add tests for immediate and required
Modified: trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java
===================================================================
---
trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-25
11:07:25 UTC (rev 8163)
+++
trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-25
11:07:35 UTC (rev 8164)
@@ -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 int tabindex;
@@ -46,6 +48,8 @@
rendered = true;
immediate = false;
bindLabel = "Click binding";
+ required = false;
+ requiredMessage="requiredMessage";
}
public void setmyInplaceSelect(HtmlInplaceSelect myInplaceSelect){
@@ -217,4 +221,36 @@
this.value = value;
}
+ 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;
+ }
+
+ public HtmlInplaceSelect getMyInplaceSelect() {
+ return myInplaceSelect;
+ }
+
+ public void setMyInplaceSelect(HtmlInplaceSelect myInplaceSelect) {
+ this.myInplaceSelect = myInplaceSelect;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
}
Show replies by date