Author: adubovsky
Date: 2009-05-25 10:00:38 -0400 (Mon, 25 May 2009)
New Revision: 14308
Modified:
branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java
Log:
Change UIBeanValidator to UIComponent
Modified:
branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java
===================================================================
---
branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java 2009-05-25
14:00:29 UTC (rev 14307)
+++
branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java 2009-05-25
14:00:38 UTC (rev 14308)
@@ -14,7 +14,6 @@
import org.hibernate.validator.Pattern;
import org.hibernate.validator.Range;
import org.hibernate.validator.Size;
-import org.richfaces.component.UIBeanValidator;
import util.componentInfo.ComponentInfo;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
@@ -38,7 +37,7 @@
@Size(min=1,max=5,message="Size validation failed!")
private ArrayList<SelectItem> sizeValues;
private String sizeValue;
- private UIBeanValidator ajaxValidatorComponent = null;
+ private UIComponent ajaxValidatorComponent = null;
private boolean ajaxSingle;
private String bindLabel;
private boolean disableDefault;
@@ -194,11 +193,11 @@
return null;
}
- public UIBeanValidator getAjaxValidatorComponent() {
+ public UIComponent getAjaxValidatorComponent() {
return ajaxValidatorComponent;
}
- public void setAjaxValidatorComponent(UIBeanValidator ajaxValidatorComponent) {
+ public void setAjaxValidatorComponent(UIComponent ajaxValidatorComponent) {
this.ajaxValidatorComponent = ajaxValidatorComponent;
}
Show replies by date