Author: mvitenkov
Date: 2009-05-25 09:57:52 -0400 (Mon, 25 May 2009)
New Revision: 14306
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java
Log:
remove validate method
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java
===================================================================
---
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java 2009-05-25
13:53:34 UTC (rev 14305)
+++
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java 2009-05-25
13:57:52 UTC (rev 14306)
@@ -3,15 +3,11 @@
import java.util.ArrayList;
import java.util.List;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
import javax.faces.model.SelectItem;
-import javax.faces.validator.ValidatorException;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
-import org.jboss.seam.ui.validator.FormattedTextValidator;
@Name("editorBean")
@Scope(ScopeType.SESSION)
@@ -77,11 +73,6 @@
public void setUseSeamText(boolean useSeamText) {
this.useSeamText = useSeamText;
- }
+ }
- public void validate(FacesContext context, UIComponent component, Object value) throws
ValidatorException {
- if (useSeamText) {
- new FormattedTextValidator().validate(context, component, value);
- }
- }
}