Re: autosuggest - other than cf8 solution

2009-07-01 Thread Don L

http://www.lalabird.com/?fa=JSMX.downloads

scroll down the page to you see JSMXsuggest Example 

I really like JSMX very easy to use

Andrew.

This solution has a problem or bug at least in my case.  
label: my input field X
input type=text name=company title=getCompanies onKeyUp=alert('do 
something');

The onKeyUp event is ignored.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324125
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: autosuggest - other than cf8 solution

2009-06-25 Thread Don L

http://www.lalabird.com/?fa=JSMX.downloads

scroll down the page to you see JSMXsuggest Example 

I really like JSMX very easy to use

Andrew.

I tried it.  IE7 did not returned suggested data, Firefox 3.011 did not 
generate error, the error console says, results undefined with the 
JSMXsuggest.js. 
 
additional info:
a) the two js files are correctly placed and referenced;
b) the cfc file was changed to reflect my test case with one cffunction of type 
remote, a normal query instead of QoQ, and is located in the same directory as 
the caller cfm file and I also placed it as the root level just in case...;
c) i left the JSMXsuggest.js intact since I'm using the same name for the cfc 
file
that is,
var URL = 'JSMXsuggest.cfc?method=';
remains the same
d) i tested the query by itself, ok
e) i even use static ds
f) for the returned data at the function, I've alternatively tried both of the 
following 
cfoutput[#result#]/cfoutput 
XOR 
cfwddx action=cfml2js input=#listToArray(result,'%')# toplevelvariable=r


I'm puzzled, looks like I didn't do c) right.

Thanks.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323937
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: autosuggest - other than cf8 solution

2009-06-25 Thread Don L

http://www.lalabird.com/?fa=JSMX.downloads

scroll down the page to you see JSMXsuggest Example 

I really like JSMX very easy to use

Andrew.

the cfc has been tested, working and returns expected data,
http://127.0.0.1:8600/test/JSMXsuggest.cfc?method=getProjectsvalue=g
returns expected data

the caller has execution problem: on autosuggest it erred
Parser error: the returned value could not be evaluated (both IE7 and FF3.010)

are they been hacked on this machine?

thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323939
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: autosuggest - other than cf8 solution

2009-06-25 Thread Josh Nathanson

Sounds like maybe your JSON is not valid.  You can check it at
http://www.jsonlint.com.  If it checks out as valid, then start to look
elsewhere.

-- Josh



-Original Message-
From: Don L [mailto:do...@yahoo.com] 
Sent: Thursday, June 25, 2009 10:29 AM
To: cf-talk
Subject: Re: autosuggest - other than cf8 solution


http://www.lalabird.com/?fa=JSMX.downloads

scroll down the page to you see JSMXsuggest Example 

I really like JSMX very easy to use

Andrew.

the cfc has been tested, working and returns expected data,
http://127.0.0.1:8600/test/JSMXsuggest.cfc?method=getProjectsvalue=g
returns expected data

the caller has execution problem: on autosuggest it erred
Parser error: the returned value could not be evaluated (both IE7 and
FF3.010)

are they been hacked on this machine?

thanks. 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323941
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: autosuggest - other than cf8 solution

2009-06-25 Thread Don L

This made me to think of examing a bunch of the returned data sets, and there 
we go, some row has some single quotes.  Resolved.  Thank you very much.  And 
it could also mean why it didn't work for me with Peter's option with clear 
instruction but the two js files are too big.

Sounds like maybe your JSON is not valid.  You can check it at
http://www.jsonlint.com.  If it checks out as valid, then start to look
elsewhere.

-- Josh

http://www.lalabird.com/?fa=JSMX.downloads

scroll down the page to you see JSMXsuggest Example 

I really like JSMX very easy to use

Andrew.

the cfc has been tested, working and returns expected data,
http://127.0.0.1:8600/test/JSMXsuggest.cfc?method=getProjectsvalue=g
returns expected data

the caller has execution problem: on autosuggest it erred
Parser error: the returned value could not be evaluated (both IE7 and
FF3.010)

are they been hacked on this machine?

thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323950
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: autosuggest - other than cf8 solution

2009-06-24 Thread Don L

 Dominic Watson has an interesting tag called better autosuggest, at 
 a quick peek it seems quite fancy, also, it mentions it requires cf8.  
 I'm wondering if there's any such tag out there for my railo 
 environment.
 
 Thanks.
 
 Don 

Alterntively, I'm not sure if one is legal to edit Adobe's cfautosuggest.js 
file, 
do you understand what Adobe lawyers are saying below?
--
Copyright 2007 Adobe Systems Incorporated
All Rights Reserved.

NOTICE:  Adobe permits you to use, modify, and distribute this file in 
accordance with the
terms of the Adobe license agreement accompanying it.  If you have received 
this file from a
source other than Adobe, then your use, modification, or distribution of it 
requires the prior
written permission of Adobe.*/


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323915
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: autosuggest - other than cf8 solution

2009-06-24 Thread Will Swain

Why not take a look at JQuery - there are a number of
autosuggest/autocomplete plugins:

http://plugins.jquery.com/taxonomy/term/109

Should be easy enough to use.
 

-Original Message-
From: Don L [mailto:do...@yahoo.com] 
Sent: 25 June 2009 01:47
To: cf-talk
Subject: Re: autosuggest - other than cf8 solution


 Dominic Watson has an interesting tag called better autosuggest, at 
 a quick peek it seems quite fancy, also, it mentions it requires cf8.
 I'm wondering if there's any such tag out there for my railo 
 environment.
 
 Thanks.
 
 Don

Alterntively, I'm not sure if one is legal to edit Adobe's cfautosuggest.js
file, do you understand what Adobe lawyers are saying below?
--
Copyright 2007 Adobe Systems Incorporated All Rights Reserved.

NOTICE:  Adobe permits you to use, modify, and distribute this file in
accordance with the terms of the Adobe license agreement accompanying it.
If you have received this file from a source other than Adobe, then your
use, modification, or distribution of it requires the prior written
permission of Adobe.*/




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323916
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: autosuggest - other than cf8 solution

2009-06-24 Thread Pete Freitag

On Wed, Jun 24, 2009 at 8:39 PM, Don Ldo...@yahoo.com wrote:

 Dominic Watson has an interesting tag called better autosuggest, at a quick 
 peek it seems quite fancy, also, it mentions it requires cf8.  I'm wondering 
 if there's any such tag out there for my railo environment.

 Thanks.

 Don

I wrote a blog entry on doing this with prototype  scriptaculous js
libraries a couple years ago: http://www.petefreitag.com/item/605.cfm

--
Pete Freitag
http://foundeo.com/security/ - Web Application Firewall for ColdFusio

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323917
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: autosuggest - other than cf8 solution

2009-06-24 Thread Andrew Grosset

 http://www.lalabird.com/?fa=JSMX.downloads

scroll down the page to you see JSMXsuggest Example 

I really like JSMX very easy to use

Andrew. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323921
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4