Click the web browser's back button to return to the search form.
13
Enter your search term(s); for example, Verity AND data source.
14
Tip: For more information on the Verity search syntax, see
on page
535.
Click Search.
15
The following compilation error might display:
Invalid parser construct found on line 46 at position 49. ColdFusion was
looking at the following text:'
To correct this error, do the following:
In HomeSite+, open the SearchResult page in Edit mode; for example,
a
WizardDocDemo_VSearchResult.cfm.
In line 46, delete the pound signs that precede the hexadecimal color codes. The correct
b
code is:
<TR bgcolor="#IIf(CurrentRow Mod 2, DE('FFFFFF'), DE('FFFFCF'))#">
Save the file.
c
Browse the SearchForm page and enter the search target.
d
Your search results appear:
If you entered a Return URL value and your documents are beneath your web_root (as in this
procedure), you can click the link to open them.
You now have Verity search capability for your ColdFusion application. You can edit the
generated ColdFusion pages or copy the generated code into the current pages to better integrate
with your application.
You can create a search interface without using the Verity Wizard. The remainder of this chapter
describes how to write CFML code that is functionally identical to the pages generated by the
wizard. You can write the code using your text editor and preview it in the web browser.
"Using Verity Search Expressions"
Creating a search tool for ColdFusion applications
517
Need help?
Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?
Questions and answers