Re: Chat app (using CF websockets) has stopped working after upgrading to CF11
There is an option in CFAdmin that enables websockets, make sure that is still enabled after your upgrade. On Wed, Jan 7, 2015 at 3:06 AM, Byron Mann byronos...@gmail.com wrote: Any chance you locked down the CFIDE on the new install and you are using the default listener CFIDE\websocket\ChannelListner.cfc? http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ffe.html I haven't used websockets extensively, so I hope I'm not getting you off track. On Tue, Jan 6, 2015 at 2:00 AM, Parul B parul.sarasw...@gmail.com wrote: Hi, I recently upgraded to CF 11 and my chat application (which uses Coldfusion websockets and was earlier working great with CF10 and Apache) has now suddenly stopped working. Even a basic handshake isn't happening. I've already tried disconnecting/reconnecting the CF connector. Any pointers in this regard (if anyone has come across this issue after upgrading to CF11) would be highly appreciated. ~| 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:359916 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Query Name in Custom Tag?
Hi Dan, Try the following... cfif variables[ 'ConvertedFields_' attributes.QueryName'].RecordCount GT 0 You were including the RecordCount attribute as a part of the variable name (Inside the square brackets). Good luck, Jack Traynor On Wed, May 28, 2014 at 8:12 AM, Dan LeGate d...@legeek.com wrote: Thanks Matt! That worked for cfdump. Now I'm trying to cfif for the RecordCount and neither: cfif variables[ 'ConvertedFields_' attributes.QueryName.RecordCount' ] GT 0 nor cfif variables[ 'ConvertedFields_' attributes.QueryName '.RecordCount' ] GT 0 works. Any advice on this one? Getting Element QUERYNAMES.RECORDCOUNT is undefined in ATTRIBUTES. and Element ConvertedFields_GetLDAPInfo.RecordCount is undefined in a Java object of type class coldfusion.runtime.VariableScope referenced respectively. Thanks again. Dan On 5/27/2014 1:55 PM, Matt Quackenbush wrote: Trycfdump var=#variables[ 'ConvertedFields_' attributes.QueryName ]# On Tue, May 27, 2014 at 4:49 PM, Dan LeGated...@legeek.com wrote: Hi all, I'm attempting to create a dynamic query name inside a Custom Tag. It seems to get created fine, but referencing it seems to be the problem. Here's where I set it up: cfquery name=ConvertedFields_#attributes.QueryName# dbtype=query So, yes, it's a Query of Query, if that makes a difference. But when I try to reference it later, like this: cfdump var=ConvertedFields_#attributes.QueryName# or cfdump var=#ConvertedFields_[attributes.QueryName]# or cfdump var=#ConvertedFields_['#attributes.QueryName#']# It always errors out with Variable CONVERTEDFIELDS_ is undefined. I know I'm missing something simple here. My brain is not recalling how to handle these. :-) Any help is appreciated. ~| 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:358697 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Query Name in Custom Tag?
Sorry I left a comma in there, it should be... cfif variables[ 'ConvertedFields_' attributes.QueryName].RecordCount GT 0 On Wed, May 28, 2014 at 5:07 PM, Jack Traynor traynor.j...@gmail.comwrote: Hi Dan, Try the following... cfif variables[ 'ConvertedFields_' attributes.QueryName'].RecordCount GT 0 You were including the RecordCount attribute as a part of the variable name (Inside the square brackets). Good luck, Jack Traynor On Wed, May 28, 2014 at 8:12 AM, Dan LeGate d...@legeek.com wrote: Thanks Matt! That worked for cfdump. Now I'm trying to cfif for the RecordCount and neither: cfif variables[ 'ConvertedFields_' attributes.QueryName.RecordCount' ] GT 0 nor cfif variables[ 'ConvertedFields_' attributes.QueryName '.RecordCount' ] GT 0 works. Any advice on this one? Getting Element QUERYNAMES.RECORDCOUNT is undefined in ATTRIBUTES. and Element ConvertedFields_GetLDAPInfo.RecordCount is undefined in a Java object of type class coldfusion.runtime.VariableScope referenced respectively. Thanks again. Dan On 5/27/2014 1:55 PM, Matt Quackenbush wrote: Trycfdump var=#variables[ 'ConvertedFields_' attributes.QueryName ]# On Tue, May 27, 2014 at 4:49 PM, Dan LeGated...@legeek.com wrote: Hi all, I'm attempting to create a dynamic query name inside a Custom Tag. It seems to get created fine, but referencing it seems to be the problem. Here's where I set it up: cfquery name=ConvertedFields_#attributes.QueryName# dbtype=query So, yes, it's a Query of Query, if that makes a difference. But when I try to reference it later, like this: cfdump var=ConvertedFields_#attributes.QueryName# or cfdump var=#ConvertedFields_[attributes.QueryName]# or cfdump var=#ConvertedFields_['#attributes.QueryName#']# It always errors out with Variable CONVERTEDFIELDS_ is undefined. I know I'm missing something simple here. My brain is not recalling how to handle these. :-) Any help is appreciated. ~| 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:358698 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: search with realtime suggestions
jQuery autocomplete could be used achieve this. I have a basic example on how to use it on my blog. http://api.jqueryui.com/autocomplete/ http://jacktraynor.blogspot.com.au/2012/02/jquery-autocomplete-using-coldfusion.html To get it to show images like that you would have to generate some html in the autocomplete source function based off the data you get back fro your AJAX call, then pass it back to jQuery autocomplete with the response() function. Add some css and you should have something pretty close to your example site. Hope this helps and Good luck :) On Fri, May 16, 2014 at 5:33 PM, Matthew Smith chedders...@gmail.comwrote: I would like to add a product search to my e-commerce site based upon a sql query or preferably verity, maybe using jquery or something that is plug and play. I would like something similar to this site's search: http://www.mtbakervapor.com/ with the product image and clickable links. Any help? Thanks a bunch! ~| 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:358653 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm