I'm new too ajaxCFC, but yes it could be done completely dynamically with ajax - no need for that "modify button." Only the appropriate data would be sent from server to client with no excess stream. There would be no need for the page to refresh as well. I'm a fan of ajax - just wish I knew a little bit more about how to code it.
>>> [EMAIL PROTECTED] 7/20/2006 9:51 am >>> I'm thinking that what I've just described could be done with and Ajax call as well, but since I'm so new to that area, I don't *really* know how it's to be done. But the logic would be similar I think. Chris Christopher Jordan wrote: > I've typically done that sort of thing with hidden form fields to hold > on to what was previously in the search form. > > However, if you're submitting the search form, and ColdFusion is > performing the search for you, couldn't you just put all of the user's > criteria into the session scope prior to preforming the search? Then > if they click on your "Modify search" button (or whatever), Cold > fusion could build the search form using those session variables to > "pre-fill" the form with their previous criteria. > > No javascript involved (unless I'm missing the point). This doesn't > really work if the user clicks the back button, though. > > -Chris > > Ray Hughes wrote: >> HI All, >> >> I am guessing either I did not explain myself or It cannot be done. >> >> Anyway here goes. >> >> Requirement: Users search criteria to be maintained such that when >> the user requests a second search then the previous search criteria >> will be loaded into the search page at onload. >> >> Thus the user then has to only make a few changes to re-execute the >> search. >> >> This eliminates the need for the user to completely fill out all of >> the whole search page >> in order to do a second search. >> >> I thought that storing these parameters in session variables >> at the time of submit was the best way. >> >> Any thoughts from anyone? >> >> Regards >> Ray >> >> _________________________________________________________________ >> Express yourself instantly with MSN Messenger! Download today - it's >> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ >> >> >> _______________________________________________ >> Reply to DFWCFUG: [email protected] >> Subscribe/Unsubscribe: >> http://lists1.safesecureweb.com/mailman/listinfo/list >> List Archives: >> http://www.mail-archive.com/list%40list.dfwcfug.org/ >> http://www.mail-archive.com/list%40dfwcfug.org/ >> DFWCFUG Sponsors: www.HostMySite.com www.teksystems.com/ >> >> > ------------------------------------------------------------------------ > > _______________________________________________ > Reply to DFWCFUG: > [email protected] > Subscribe/Unsubscribe: > http://lists1.safesecureweb.com/mailman/listinfo/list > List Archives: > http://www.mail-archive.com/list%40list.dfwcfug.org/ > http://www.mail-archive.com/list%40dfwcfug.org/ > DFWCFUG Sponsors: > www.HostMySite.com > www.teksystems.com/ > _______________________________________________ Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.HostMySite.com www.teksystems.com/
