Adam,
Those are some good points. In the evolution of the framework I simply
made everything a call to a BOValidator, mainly because originally
there was no ValidateThis facade and all calls to the framework were
made via your Business Objects, so you were always talking to a
BOValidator. With the introduction of the facade that has changed,
and I believe you are correct that a BOValidator is unnecessary for JS
initialization. I'll take a look at where it might make sense to put
getInitalizationScript() outside of the BOValidator.
I'm already in the process of breaking getInitalizationScript() apart
into smaller methods that build up all of the script in pieces, so
that a developer could just ask for part of the Initalization Script
if they plan to implement some of the JS themselves. That should
address your issues with wanting to initialize jQuery yourself.
Let me know if these items address all of your current concerns.
Cheers,
Bob
--
Bob Silverberg
www.silverwareconsulting.com