Shocking... :-) it's free and doesn't work too well - we can't complain too
much...
But just in case you want a workaround - on our web site the search has two
options:

(Default) Basic search - the criteria gets wrapped in double quotes before
being passed to verity - no errors possible, whatever the user types in
(well ok we do strip double quotes from the user's input)

Advanced search - Pass the user typed in stuff to verity and wrap CFSEARCH
with a CFTRY CFCATCH. When an error happens give the user a friendly message
(well kind of friendly: "error X34F occurred on line 378, retry, reboot,
abort?" ;-) plus we give a couple of help pages explaining how to use the
verity search - you can check it out at http://oami.eu.int/search/index
<http://oami.eu.int/search/index>  

HTH,
Noam

        ----------
        From:  Bert Dawson [SMTP:[EMAIL PROTECTED]]
        Sent:  Wednesday, 28 March 2001 19:41
        To:  Fusebox
        Subject:  RE: Verity

        Either <CFSEARCH or verity itself is pretty fussy about what you
pass it -
        find a CF site with a search box and enter just the word "or", or
"@", or
        "foo and bar and", or any number of other slightly odd search
criteria and
        90% will return an ugly "Error occurred in tag CFSEARCH" error.
        There's a tag on the dev exchange called verityclean i think which
will get
        rid of most of the garbage, but you may still need to do stuff to
remove
        "or" and "and" from the beginning and end of the search string, and
        consecutive occurences ("this and and that" causes an error).

        IMHO it is pretty shocking that this occurs, but there you go.

        Bert

        > -----Original Message-----
        > From: S. R. [mailto:[EMAIL PROTECTED]]
        > Sent: 28 March 2001 16:03
        > To: Fusebox
        > Subject: Verity
        > 
        > 
        > Is there a good guide on how verity works ?
        > 
        > 
        >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to