try the following: make sure on the main page (that has the cfdiv you load the form into) you import the cfform tag with cfajaximport: <cfajaximport tags="cfform">
Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ William Seiter wrote: > Hey all, > I am currently embroiled with my first full coldfusion ajax system for a > client. I am running into a problem, which is probably elementary for those > who have had some prior success with the cf ajax controls, but this has > become a stumbling block for me. Can anyone please give me their advice? > > I have a page with a cfdiv area on it. When the user selects a name from a > list, the cfdiv is populated by a form that contains the details for that > name. This is accomplished by an inline url bind parameter in the cfdiv tag. > this part seems to work properly. > > Once the user sees the detail form, I want them to be able to enter new data > in the form and submit it. > When I use a simple html form (FORM), The entire application is reloaded and > the new form appears in its place. When I use a cold fusion form (CFFORM) I > get a 'page cannot be found' error. > > I have tried leaving the action parameter in the cfform tag blank (defaults > to same page). > I have tried setting the action parameter using cgi.script_name, (the > location of the subpage from the root). > I have tried setting the action parameter hardcoded as the same name as the > sub-direcotry filename. > > All of these solutions have the same effect, 'The page cannot be found'. The > only change that produced a different result was changing the CFFORM to a > FORM tag, which allows the page to be called correctly, however, it replaces > the entire appication, not just inside the cfdiv. > > Please let me know if there is any details you might need to help me > troubleshoot this issue. All help will be greatly appreciated. > > William > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305754 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

