Temporarily removing until it can be refactored to use Ext 2.0.

This commit is contained in:
Jeremy Grelle
2008-04-22 21:27:49 +00:00
parent 1b261f2159
commit 9db8910b0a

View File

@@ -1,31 +0,0 @@
SpringFaces.ExtGenericFieldAdvisor = function(config){
Ext.apply(this, config);
};
SpringFaces.ExtGenericFieldAdvisor.prototype = {
targetElId : "",
msgElId : "",
decoratorType : "",
decorator : null,
decoratorAttrs : "",
apply : function(){
var target = document.getElementById(this.targetElId);
var msgEl = document.getElementById(this.msgElId);
this.decorator = eval("new "+ this.decoratorType + "(" + this.decoratorAttrs +");" );
this.decorator.msgTarget=msgEl;
this.decorator.applyTo(target);
},
validate : function(){
return this.decorator.validate();
}
};
Ext.onReady(SpringFaces.applyAdvisors);