January 6, 200125 yr I am unsure of the CDML necessary to move from my static HTML page to my dynamic CDML search page. I would appreciate any suggestions....
January 7, 200125 yr Well, what do you want to do? A simple "search" page might not need to be procesed by Web Copanion at all. If it has menus, radio buttons or checkboxes based on value lists then it will need to be processed so the items can be "generated." To process the format file you can use the -View tag: the url could look like... FMPro?-db=file&-lay=name&-format=search.htm&-error=error.htm&-view If you have passwords on your databases and don't want people to see the search page without the password, then use the -Findany tag instead of -View.
January 8, 200125 yr Author I'm just trying to move from my static default.htm (home page) to search.htm which does a simple findall on one field and then displays the results in result.htm. I think the problem may reside in default.htm because I have tried everything moving from search.htm to results.htm and I still get an error 405. I'm thinking the problem may lie in default.htm and its linking to the search page, I may need something CDML in my static home page? Thanks for the suggestion, if you have any others, I would appreciate it!
January 8, 200125 yr You are going from default.htm to search.htm. This would seem to require a basic html anchor link as long as you are performing the -findall from search.htm. To go from search.htm to results.htm requires an Action Tag or a Form Action using cdml tags. Peace Keith M. Davie
Create an account or sign in to comment