Afternoon, I've been asked to enquire whether the following concept is possible, we have some realtime Javascript validation on a web-form, but instead of having the error messages stored in two locations (in the js script and in the validation's action.xml file), is it possible to centralise these messages just into the Agavi's module/<modulename>/validate/ action.xml file.
Then in the input view class, have the XHTML function call (i thinking out loud) request the validation xml file, the file name could be passed by the action to the view with an attribute setting or so. Can I use the validation Manager in the action/view to gain all the possible error messages, then parse them to JSON and print it to a JS variable or so. ...or should I use Agavi Configuration interface to load in the validation xml file and return a structure PHP data type/object which can then be parsed into JSON. Cheers folks, Jeramy Wenserit (E_mE) e: [email protected] _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
