Re: How do I implement "Show More Results"
> How do I implement "Show More Results" type button, similar to google images, > using ajax and coldfusion for an image gallery. > The idea is to show n records at a time on the same page and load next n > records on button click. I have a db with image names. > Any pointers would be much appreciated. To fetch results from the appliance in the first place, you have to build a search URL, and everything that controls the search is in that URL. In this case, you'd need to build a pager that sets the start and num URL parameters appropriately. You can read about the construction of the search URL here: https://developers.google.com/search-appliance/documentation/614/xml_reference#request_format You can easily fetch records from the GSA using ColdFusion's CFHTTP tag, building the URL as described. In this case, you probably don't want to render the results using XSLT from the appliance - it's generally easier to fetch raw XML from the appliance (by omitting the proxystylesheet URL parameter) and format it from CF. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353038 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
How do I implement "Show More Results"
How do I implement "Show More Results" type button, similar to google images, using ajax and coldfusion for an image gallery. The idea is to show n records at a time on the same page and load next n records on button click. I have a db with image names. Any pointers would be much appreciated. Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353037 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Debugging
Hi Matt That was it thanks a bunch Rob On 31 Oct 2012 at 10:20, Matt Quackenbush wrote: > > Oops. My bad. That thread was actually on another list. :-) > > This is what I got after a quickie Google search: > http://helpnotes.vpasp.com/kb/611-General-hosting-questions/1089-How > -to-Turn-Off-Friendly-Error-in-IIS-7xx/ > > HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353036 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfdirectory
We have it working now. Thanks. -Original Message- From: Stephens, Larry V [mailto:steph...@iu.edu] Sent: Tuesday, October 30, 2012 9:32 AM To: cf-talk Subject: RE: cfdirectory Thanks. We're going to address rights to see if that makes it work. -Original Message- From: Carl Von Stetten [mailto:vonner.li...@vonner.net] Sent: Monday, October 29, 2012 5:04 PM To: cf-talk Subject: Re: cfdirectory This should work, so you need to address the rights issue. What Windows user account is the ColdFusion service running under? If you have it running as a specific Active Directory account, you need to modify the fileserver folder to grant Read access to that account. -Carl V. On 10/29/2012 2:00 PM, Stephens, Larry V wrote: > Running CF10 on IIS7.5 on Windows server 2008R2 on Server Z > > Filerserver (O) running on 2008R2 > > I want to do a cfdirectory to the fileserver to list the contents of a > directory. > > Directory="\\UNC\path..." name="MyDir" (where \\UNC\path... relates to the > fileserver) yields nothing when I dump MyDir. > > We found a note at > http://www.asadesigner.com/16-coldfusion/c1788fe8b3536edc.htm tells us this > is a rights issue. > > (I'm wanting to list the contents of a specific sub-directory, the name of > which I can determine programmatically - and would be photos - so I can > display a list of those images and allow my user to click a constructed link > and see the image.) > > Other than cfdirectory, is there a good way to display a directory listing > that comes back as query results that I can loop and display on a page? > Incorporate something in C? In vbScript? > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353035 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Debugging
Oops. My bad. That thread was actually on another list. :-) This is what I got after a quickie Google search: http://helpnotes.vpasp.com/kb/611-General-hosting-questions/1089-How-to-Turn-Off-Friendly-Error-in-IIS-7xx/ HTH On Wed, Oct 31, 2012 at 10:18 AM, Matt Quackenbush wrote: > Sounds like you're on IIS? If so, you'll need to find the setting that > turns off their silly hijacking of the error templates, as it hides > everything that's actually happening. I don't know what that setting is > (not an IIS user), but there was a thread on this topic just a week or so > ago. A check of the archives hopefully will reveal it pretty quickly. > > HTH > > > > On Wed, Oct 31, 2012 at 10:12 AM, Rob Voyle wrote: > >> >> Hi Folks >> I have been moved to new servers Using CF9 and need to turn on debugging. >> >> I have Enable Robust Exception Information selected along with all the >> options >> on Debug Output settings but I just get "500 Internal Server errors" with >> no >> debugging information. >> >> What am I missing >> >> Thanks >> >> Rob >> >> >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Debugging
Sounds like you're on IIS? If so, you'll need to find the setting that turns off their silly hijacking of the error templates, as it hides everything that's actually happening. I don't know what that setting is (not an IIS user), but there was a thread on this topic just a week or so ago. A check of the archives hopefully will reveal it pretty quickly. HTH On Wed, Oct 31, 2012 at 10:12 AM, Rob Voyle wrote: > > Hi Folks > I have been moved to new servers Using CF9 and need to turn on debugging. > > I have Enable Robust Exception Information selected along with all the > options > on Debug Output settings but I just get "500 Internal Server errors" with > no > debugging information. > > What am I missing > > Thanks > > Rob > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353033 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Debugging
Hi Folks I have been moved to new servers Using CF9 and need to turn on debugging. I have Enable Robust Exception Information selected along with all the options on Debug Output settings but I just get "500 Internal Server errors" with no debugging information. What am I missing Thanks Rob ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353032 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm