Hey all,
I'm working thru setting up validateThis, and i'm getting a wierd
error when i call validate().. It's not a CF error, per se.. It
looks like one, but isn't.. It states: java.lang.ClassCastException
and thats REALLY all it says.. No stack trace, or tag context..
I'm doing a really simple validation, derived from the sample app..
My XML looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<validateThis xsi:noNamespaceSchemaLocation="validateThis.xsd"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<objectProperties>
<property name="applicationName" desc="Application Name">
<rule type="required" />
</property>
<property name="instanceName" desc="Instance Name">
<rule type="required" />
</property>
</objectProperties>
</validateThis>
I can see in my CF Debug, that these two calls get made to the
framework:
CFC[ C:\htdocs\ValidateThis\util\onMMHelper.cfc | doInvoke(init,
[complex value], CFC: ValidateThis.util.Result) ] from C:\htdocs
\ValidateThis\util\onMMHelper.cfc
CFC[ C:\htdocs\ValidateThis\util\TransientFactoryNoCS.cfc |
onMissingMethod() ] from C:\htdocs\ValidateThis\util
\TransientFactoryNoCS.cfc
As you can see, I'm not using coldspring, and I'm trying to validate a
transfer object..
HELP! :-)