Actual Documentation Available for ValidateThis

2 views
Skip to first unread message

Bob Silverberg

unread,
Aug 11, 2009, 3:29:56 PM8/11/09
to valida...@googlegroups.com
As many of you know, I've been working on VT for several months now,
and it has evolved to a point that I'm actually quite proud of. I
understand that there are even some developers other than me using it!
So I figured that the next step towards making it usable by others was
to come up with some documentation that is a bit more organized than
the ramblings in my blog posts.

So I'm pleased as punch to announce that the official documentation
for ValidateThis is now available online! Just cruise on over to
www.validatethis.org/docs/ and take a gander. There are still a number
of sections that have yet to be updated, but I think that I've
captured the core information that most users will need.

It was a lot more work that I anticipated, and I am grateful to Luis
Majano and Mark Mandel for developing the excellent CodexWiki which is
behind the content.

I would be especially interested in receiving feedback from any of you
out there. If anyone has any comments, corrections or questions about
the docs, please feel free to respond to this thread. In particular
I'm interested to know whether I explained everything in an
understandable way, and am very open to comments and suggestions that
would help improve this brand new resource.

Cheers,
Bob

--
Bob Silverberg
www.silverwareconsulting.com

Jaime Muniz

unread,
Aug 12, 2009, 3:42:03 PM8/12/09
to valida...@googlegroups.com
Bob:

Great work. It's especially useful for newbies like me. Cant wait till
you finish the Cold Box integration section.

Even though I have the framework working on one of my machines, when I
tried to port it to my laptop I get a strange error which I have spent
hours trying to track down the source.

At first I thought it was an invalid XML file, but now I don't think so
because I defaulted back to your sample XML.
Here is the error message:


Application Execution Exception

*Error Type: * Template : [N/A]
*Error Messages:* Invalid CFML construct found on line 31 at column 43.
ColdFusion was looking at the following text:

{

The CFML compiler was processing:

* A cfset tag beginning on line 31, column 18.
* A cfset tag beginning on line 31, column 18.

Tag Context:
ID: ??
LINE: 31
Template: C:\Program Files\Apache
Group\Apache\htdocs\ValidateThis\core\XMLFileReader.cfc

If I scroll down to the Coldfusion debug error I get this exception:

12:35:18.018 - Template Exception - in C:\Program Files\Apache
Group\Apache\htdocs\ValidateThis\core\ValidationFactory.cfc : line 34

Invalid CFML construct found on line 31 at column 43.

I'm hoping this looks familiar and you can say I know exactly what this is.

I'll keep poking around to see if I can solve it.

Best Regards,
Jaime Muniz

Jaime Muniz

unread,
Aug 12, 2009, 3:58:02 PM8/12/09
to valida...@googlegroups.com
Bob:

I thought it might be helpful to let you know that I get the same error
when I try and run the Transfer_ValidateThis demo.

Regards,
Jaime

Bob Silverberg

unread,
Aug 12, 2009, 7:20:37 PM8/12/09
to valida...@googlegroups.com
You wouldn't happen to have a version of CF prior to CF8 on that
machine, would you? My first guess is that it's balking at my use of
{} to create a struct inline in a set statement.

Cheers,
Bob
--
Bob Silverberg
www.silverwareconsulting.com

Jaime Muniz

unread,
Aug 13, 2009, 10:20:55 AM8/13/09
to valida...@googlegroups.com
Bob:

No, I am running CF8 on this machine. I did upgrade from MX7 which is
still installed but disabled in windows services.
Do you think uninstalling MX 7 would help?

Jaime

Bob Silverberg

unread,
Aug 13, 2009, 1:47:19 PM8/13/09
to valida...@googlegroups.com
I just looked at line 31 in XMLFileReader, and it is exactly as I
thought. The line is:

<cfset var ReturnStruct = {PropertyDescs = StructNew(),
ClientFieldDescs = StructNew(), FormContexts = StructNew(),
Validations = {Contexts = {___Default = ArrayNew(1)}}} />

That would cause a problem in CF prior to version 8.

Perhaps your installation is using CF7 even though you think it's
using CF8. Try doing a <cfdump var="#server#" /> and see what values
it has for the version.

Cheers,
Bob
--
Bob Silverberg
www.silverwareconsulting.com

Jaime Muniz

unread,
Aug 13, 2009, 1:54:47 PM8/13/09
to valida...@googlegroups.com
Bob:

According to the server dump it's this version " 8,0,0,176276".

Regards,
Jaime

epn...@gmail.com

unread,
Aug 13, 2009, 1:53:02 PM8/13/09
to valida...@googlegroups.com
Maybe u need to update to 8.1

Sent from my BlackBerry® smartphone with Nextel Direct Connect

-----Original Message-----
From: Jaime Muniz <jrm...@sfsailing.com>

Date: Thu, 13 Aug 2009 10:54:47
To: <valida...@googlegroups.com>
Subject: [ValidateThis!] Re: Actual Documentation Available for ValidateThis

Bob Silverberg

unread,
Aug 13, 2009, 1:56:56 PM8/13/09
to valida...@googlegroups.com
Ah, well, VT requires CF 8.0.1, for its support for onMissing Method.
It's likely that that is behind your problem.

Bob
--
Bob Silverberg
www.silverwareconsulting.com

Jaime Muniz

unread,
Aug 13, 2009, 2:30:32 PM8/13/09
to valida...@googlegroups.com
Bob

OK, problem solved.

On the adobe website I don't see an CF 8.1 upgrade just a new complete
developer version.
Will that upgrade my existing, version 8.0 or should I completely
uninstall and reinstall?

Anyone know?

Thanks very much .

Regards,
Jaime

Matt Quackenbush

unread,
Aug 13, 2009, 2:39:17 PM8/13/09
to valida...@googlegroups.com
Jaime,

If I am not mistaken, the installer will perform an update if it detects an existing install.  Worst case scenario is that you run the installer, it does not detect the existing install (and subsequently offer an upgrade), and you have to a) cancel the install, b) uninstall the current install, and then c) run the install again.

HTH

Jaime Muniz

unread,
Aug 13, 2009, 4:06:51 PM8/13/09
to valida...@googlegroups.com
Matt:

Simple enough, thanks for your feedback.

It's always nice to get another opinion when it comes something that
puts food on the table. -:)

Regards,
Jaime
Reply all
Reply to author
Forward
0 new messages