Hi Tyler, This is very nice! I have a request and a question. :)
First, the request: Can you post a zip version of the 'Ajax_Validation_Framework.rar' attachment? As a reason, zip is pretty universal. I had to go find a RAR decompressor, and after a quick failure to build unrar on my Cygwin dist, I downloaded WinRAR which has a 40 day trial period.
And, second, my question (someone else may be able to answer this) is where is ProjectSettingsHelper? I don't see it in the base RIFE distribution or the RIFE/CRUD distribution. I also see that it is referenced on the wiki 'Best Practices' page (http://rifers.org/wiki/display/RIFE/Best+Practices)
A couple editing notes about the (http://rifers.org/wiki/display/RIFE/Adding+AJAX+Validation+To+Your+Forms) document itself (I can make the edits if you like): * The ProjectSettingsHelper should be removed or changed to something that is present in the RIFE jars. * (Minor point) I didn't catch that I needed to add the getters and setters to the Category bean. * (Minor point) Including the site element declaration for category would be helpful. * (Minor point) There is an extra period in the package declaration for CategoryElement: "package com.warfrog..elements;" * (Minor point) The AJAX-ified template uses a bean name of "<input type="hidden" name="bean" value="com.warfrog.portal.beans.Category"/>", which is different from the previously defined bean package name "com.warfrong.beans".
Very cool though! Josh -- Joshua Hansen Up Bear Enterprises (541) 760-7685 (new #) Tyler Pitchford wrote:
I wrote up an AJAX Form Validation Framework for RIFE. The framework uses your existing MetaData and ERRORS: / MARK: tags to build it's responses, so the AJAX validation will look exactly like the standard POST validation that RIFE uses. Thought some of you might find it useful, so I posted the source code and a small article on how to use it: http://rifers.org/wiki/display/RIFE/Adding+AJAX+Validation+To+Your+Forms I'd appreciate any feedback or bugs you find. Happy coding, Tyler _______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
