You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ca...@apache.org on 2007/02/05 16:41:03 UTC

svn commit: r503727 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/common/CVCall.java

Author: cagatay
Date: Mon Feb  5 07:41:02 2007
New Revision: 503727

URL: http://svn.apache.org/viewvc?view=rev&rev=503727
Log:
Add members to hold the relative path of the script resources

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/common/CVCall.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/common/CVCall.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/common/CVCall.java?view=diff&rev=503727&r1=503726&r2=503727
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/common/CVCall.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/common/CVCall.java Mon Feb  5 07:41:02 2007
@@ -32,8 +32,10 @@
 	private String _id;
 	private String _clientId;
 	private boolean _required;
-	private String _converterScript;
-	private String[] _validatorScripts;
+	private String _converterScriptFunction;
+	private String _converterScriptResource;
+	private String[] _validatorScriptFunctions;
+	private String[] _validatorScriptResources;
 	
 	public CVCall() {}
 	
@@ -57,26 +59,39 @@
 		this._clientId = clientId;
 	}
 	
-	public String getConverterScript() {
-		return _converterScript;
-	}
-	public void setConverterScript(String converterScript) {
-		this._converterScript = converterScript;
-	}
-	
 	public boolean isRequired() {
 		return _required;
 	}
 	public void setRequired(boolean required) {
 		this._required = required;
 	}
-	
-	public String[] getValidatorScripts() {
-		return _validatorScripts;
+
+	public String getConverterScriptFunction() {
+		return _converterScriptFunction;
 	}
-	public void setValidatorScripts(String[] validatorScripts) {
-		this._validatorScripts = validatorScripts;
+	public void setConverterScriptFunction(String scriptFunction) {
+		_converterScriptFunction = scriptFunction;
+	}
+
+	public String getConverterScriptResource() {
+		return _converterScriptResource;
+	}
+	public void setConverterScriptResource(String scriptResource) {
+		_converterScriptResource = scriptResource;
+	}
+
+	public String[] getValidatorScriptFunctions() {
+		return _validatorScriptFunctions;
+	}
+	public void setValidatorScriptFunctions(String[] scriptFunctions) {
+		_validatorScriptFunctions = scriptFunctions;
+	}
+
+	public String[] getValidatorScriptResources() {
+		return _validatorScriptResources;
+	}
+	public void setValidatorScriptResources(String[] scriptResources) {
+		_validatorScriptResources = scriptResources;
 	}
-	
 }