Re: CFC Question

2009-09-24 Thread Brian McCairn
component="filename" maybe ~| 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:32658

CFC Question

2009-09-24 Thread Phillip Vector
So for the meantime, I've put my cfc directory in the web root on the development server I use. I have the following code to call the cfc 1 2 3 4 I see the 1, but nothing else (which tells me cfinvoke is not working right). The filename is "filename.cfc" and is in the cfc d

Re: Using CFFILE to create a cfc

2009-09-09 Thread Tim Stutzman
explain exactly what you're attempting to do here, and why > (you think) you need to dynamically create a CFC? I was thinking of going this route, because it is data that will be used to print on case labels. The complexity of what needs to be printed on the label is very high (i.e. com

Re: Using CFFILE to create a cfc

2009-09-09 Thread Peter Boughton
re, and why (you think) you need to dynamically create a CFC? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.co

Re: Using CFFILE to create a cfc

2009-09-08 Thread Alan Rother
>>>How would I use to build a string that doesn't output to the page? hehe... I'm pretty sure Ian meant http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326125 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_li

Re: Using CFFILE to create a cfc

2009-09-08 Thread Tim Stutzman
How would I use to build a string that doesn't output to the page? ~| 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/g

Re: Using CFFILE to create a cfc

2009-09-08 Thread Ian Skinner
I would use a tag to build a string that is the entire body of the CFC. Then I would write this string to a file with the tag. But there are other equally good ways. ~| Want to reach the ColdFusion community with something

Using CFFILE to create a cfc

2009-09-08 Thread Tim Stutzman
Hello, I would like to create a cfc using CFFILE that has a CFFILE tag in it. Some lines of the cfc will always be the same when the file is created. For example: Some of the lines will be dynamic based on what the user enters into the text boxes on the form. Last in the cfc, I

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-20 Thread Don L
>If the cfc is being hit, and with the right data, you can absolutely rule >out the cfajaxproxy tag. Can we clarify that the data being returned from >the method is the problem? Try posting a form directly to the cfc method, >e.g. > > > > > >From there, debugging s

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-20 Thread Rick Root
rer. http://www.fiddler2.com/fiddler2/ Enable it, then hit your application. You'll see the ajax call show up in fiddler.. you can then see the raw response from your cfc using the session inspector.. -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the sc

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-20 Thread Dominic Watson
If the cfc is being hit, and with the right data, you can absolutely rule out the cfajaxproxy tag. Can we clarify that the data being returned from the method is the problem? Try posting a form directly to the cfc method, e.g. >From there, debugging should be more straight forward. Domi

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-20 Thread Dominic Watson
Of course ;) 2009/8/20 Emmit Larson > 't ever do that. > Shirley, you jest? > > Kind Regards, > Emmit ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Arc

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Dave l
After looking at this code I am suddenly hungry for pound cake... dunno why??? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoff

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L
le tab you should see your http post request >made by your proxy js object (when you fire that event). You will then be >able to examine the the data sent to your cfc and also the response. > >If there is no http request sent then the problem may well be with the >cfajaxproxy code - if a

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Emmit Larson
proxy js object (when you fire that event). You will then be > able to examine the the data sent to your cfc and also the response. > > If there is no http request sent then the problem may well be with the > cfajaxproxy code - if a request *is* sent, then we can safely move on from &g

AW: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Gert Franz
etreff: RE: ajax cfc not working for Access DB -- odd stuff Railo or OpenBD? Do they support cfajaxproxy yet? > -Original Message- > From: Don L [mailto:do...@yahoo.com] > Sent: 19 August 2009 22:42 > To: cf-talk > Subject: ajax cfc not working for Access DB -- odd stuff &g

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L
le tab you should see your http post request >made by your proxy js object (when you fire that event). You will then be >able to examine the the data sent to your cfc and also the response. > >If there is no http request sent then the problem may well be with the >cfajaxproxy code - if a

Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Dominic Watson
http post request made by your proxy js object (when you fire that event). You will then be able to examine the the data sent to your cfc and also the response. If there is no http request sent then the problem may well be with the cfajaxproxy code - if a request *is* sent, then we can safely move

RE: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Adrian Lynch
Railo or OpenBD? Do they support cfajaxproxy yet? > -Original Message- > From: Don L [mailto:do...@yahoo.com] > Sent: 19 August 2009 22:42 > To: cf-talk > Subject: ajax cfc not working for Access DB -- odd stuff > > > I've moved on to an open source cfml e

ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L
05 express (db syntax are exactly same for such a simple query) and since I'm using "sync" mode I can't use the setCallbackHandler method to do debugging. Thought, could use more heads here... caller lin

RE: odd error calling function in cfc

2009-08-16 Thread Adrian Lynch
Yeah, reserved word seems unlikely. Chances are you're overwriting add_option somewhere or the scoping is out somehow. I notice there's no var scope on your getOptions query, var scope everything and see it that sorts things. It's hard to say more without seeing the full CF

Re: odd error calling function in cfc

2009-08-15 Thread Charlie Griefer
I'd be really surprised if that was the actual issue. if add_option was a reserved word, your initial iteration of the loop would have thrown the error (you said it would successfully complete the first iteration and then break). I'm not sure what the issues is, I'm just saying I'd be surprised

Re: odd error calling function in cfc

2009-08-15 Thread Mike Little
you kow what is was... it was the name of the function "add_option" - i have renamed to "add_new_option" and it works. if someon could explain that one?? is it a reserved word? > You don't really need the CFIF test, since CFOUTPUT will only render > if > there are records. Simplify like the

Re: odd error calling function in cfc

2009-08-15 Thread Jason Fisher
You don't really need the CFIF test, since CFOUTPUT will only render if there are records. Simplify like the example below and see if it still gives you trouble. If it does, then check that the add_option() method isn't erroring ... ~

odd error calling function in cfc

2009-08-15 Thread Mike Little
hi guys, i have the following cfc function... add_option is another function within the same cfc. if the getOptions returns 1 record it works fine. if it returns more than 1, then it loops once then i get the following... Variable ADD_OPTION is undefined

RE: CFC Error on CF8 (Same working on CFMX 6.1)

2009-07-29 Thread Adrian Lynch
Run the page in Firefox with Firebug installed for a better error message. Post your code for CallWebService() if you can. Adrian > -Original Message- > From: SANJEEV SINGLA [mailto:planetsanj...@gmail.com] > Sent: 29 July 2009 13:44 > To: cf-talk > Subject: CFC Err

CFC Error on CF8 (Same working on CFMX 6.1)

2009-07-29 Thread SANJEEV SINGLA
("/Components/WS/wsabc.cfc?WSDL","sgetCMPFilter",params,"XML"); -- Call WebService is a custom witten javascript function to call the cfc functions (defined in separate js file). -- This is executing fine on CFMX 6.1 on development environment. I am geeting the Obj

Re: using my injected bean within a CFC

2009-07-27 Thread Tom Chiverton
On Sunday 26 Jul 2009, James Holmes wrote: > The way ColdSpring does this is simpler:> > The init() of your CFC takes a dsnBean as an argument. Or you can set 'autoWire="byName"' and have ColdSpring use your set'er methods to do the injection for you. I

Re: using my injected bean within a CFC

2009-07-26 Thread Nicholas Stein
Is it possible your are running on Linux and case sensitivity is an issue? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusio

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
>Hm, time to try the ColdSpring list I'd say. Maybe its a ColdBox issue! ?And while you wait for an answer from there, use the property method and move on ;) Will do, thanks for your help :) > >Dominic > >2009/7/26 Glyn Jackson > >> >> do you or anyone else have any more ideas on this? Th

Re: using my injected bean within a CFC

2009-07-26 Thread Dominic Watson
Hm, time to try the ColdSpring list I'd say. And while you wait for an answer from there, use the property method and move on ;) Dominic 2009/7/26 Glyn Jackson > > do you or anyone else have any more ideas on this? Thanks :) > > ~~~

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
do you or anyone else have any more ideas on this? 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/c

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
Restarted and used the dump as suggested and I get... struct [empty] strange! If I was to go back the to setdnsBean i can dump in that function and its there however I want to inject using the init It should work again just in cause I will post the full code below, if you have any more ideas

Re: using my injected bean within a CFC

2009-07-26 Thread Dominic Watson
Strange indeed, really should work. Couple of tests I guess: 1. restart cf 2. Dom 2009/7/26 Glyn Jackson > > Still not sure why I am getting this error since it should have been > passed. any more ideas? thanks > > ~

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
Still not sure why I am getting this error since it should have been passed. any more ideas? thanks ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
I know it exsits as if I go back to the setter version i can dump the bean in the CFC however I like your version better, but using the.. then... just give me the same

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
Hi Dominic, I have tried... DBDetails and I still get "The DSNBEAN parameter to the init function is required but was not passed in." ~| Want to

Re: using my injected bean within a CFC

2009-07-26 Thread Dominic Watson
For the arg to be passed into to your constructor, you need: ... ... Dominic 2009/7/26 Glyn Jackson > http://www.springframework.org/dtd/spring-beans.dtd";> > > > > > factory-method="getConfigBean" /> > > factory-method="getDatasource"> >

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
I like this example (below) but for some reasons its not being passed... the full coldspring.xml - http://www.springframework.org/dtd/spring-beans.dtd";> DBDetails

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
the parameter to the init function was not passed in for some reason? ~| 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

Re: using my injected bean within a CFC

2009-07-26 Thread Dominic Watson
in ARGUMENTS." > > This is how I am injecting the bean into the CFC... > > > > > > > > ~| Want to reach the ColdFusion community with something they want? Let them know o

Re: using my injected bean within a CFC

2009-07-26 Thread Dominic Watson
With your example here you could use: > > Hi, I have my DNS bean injected into my CFC, I have used a setter. how do I > now use the dns details now 'within' my CFC. do I create it in my init > method? I want to do someth

Re: using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
Hi, I did try that with... however I just get the error "Element DSNBEAN is undefined in ARGUMENTS." This is how I am injecting the bean into the CFC... ~| Want to

Re: using my injected bean within a CFC

2009-07-26 Thread James Holmes
The way ColdSpring does this is simpler: The init() of your CFC takes a dsnBean as an argument. In that init() you simply set variables.dsnBean = arguments.dsnBean. You can then use it directly from the variables scope; http://www.bifrost.com.au/blog/ 2009/7/26 Glyn Jackson : > > Hi,

using my injected bean within a CFC

2009-07-26 Thread Glyn Jackson
Hi, I have my DNS bean injected into my CFC, I have used a setter. how do I now use the dns details now 'within' my CFC. do I create it in my init method? I want to do something like the

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Rick Root
(Admittedly this problem for us occurred when we used a defined LOCAL scope inside the function... ie and then and then in a query of queries... we'd always get errors when trying to do select * from LOCAL.qry Rick On Mon, Jul 20, 2009 at 1:17 PM, Rick Root wrote: > I've never been able to us

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Rick Root
I've never been able to use a multipart identifier for a table in query of queries until we figured out that it does let you put brackets in... ie... FROM [arguments.dataIn] -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/b

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Pete Ruckelshaus
gt; > > > > Should work. > > Francois Levesque > http://blog.critical-web.com/ > > > On Mon, Jul 20, 2009 at 1:00 PM, Pete Ruckelshaus >wrote: > > > > > I'm stuck. Actually, I'm probably just being stupid. > > I want to pass a quer

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Francois Levesque
. Actually, I'm probably just being stupid. > I want to pass a query object into a CFC and then use query of queries to > manipulate that query object. > > Here's the contents of my db.cfc file: > > > > > SELECT top 100 * > FROM person.contact >

Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Pete Ruckelshaus
I'm stuck. Actually, I'm probably just being stupid. I want to pass a query object into a CFC and then use query of queries to manipulate that query object. Here's the contents of my db.cfc file: SELECT top 100 * FROM person.contact SELECT * FROM #arguments.da

Re: How to Determine CFC Method Called From OnRequestStart?

2009-07-11 Thread James Holmes
You could try to put the logging in one place in the webservice cfc; in the pseudo-constructor area. Since that's in the CFC, perhaps isSOAPRequest() will work there (too lazy to check). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/11 Ma

How to Determine CFC Method Called From OnRequestStart?

2009-07-11 Thread Matthew Reinbold
7;t work for remote calls) and have any and all calls within the webservice covered. The first snag was that IsSOAPRequest() only seems to return true when INSIDE a cfc function. I ended up watching the cgi.HTTP_ACCEPT variable for "soap+xml". With my simple examples this seems to giv

Re: CFC and jQuery

2009-06-19 Thread Azadi Saryev
/ console.log to examine the response, make sure DATA >> is a >>> valid property of the response JSON >>> >>> -- Josh >>> >>> >>> >>> I am trying to call a query from a CFC using jQuery with the >> following code: >>&

RE: CFC and jQuery

2009-06-18 Thread Josh Nathanson
Well "eval" is essentially a string-to-json conversion. Are you sure your json is valid? Try going here and pasting in your string: http://www.jsonlint.com/ Also, in your jQuery ajax call, it has to be dataType with the capital "T" - javascript is case sensitive. >Josh, >I tried datatype:

Re: CFC and jQuery

2009-06-18 Thread James White
> >1) Add dataType:'json' as an attribute of your ajax call, or use $. > getJSON > >2) use Firebug / console.log to examine the response, make sure DATA > is a > >valid property of the response JSON > > > >-- Josh > > > > > >

Re: CFC and jQuery

2009-06-18 Thread James White
>Just to give you another way of looking at it. > >JSON is just a string format, much like WDDX is (although a lot less >verbose). Without parsing, it's still just a string. > >The manual way of converting JSON to a JS data struct is by calling eval() >on it - like so: > >var data = eval(myJSONSt

Re: CFC and jQuery

2009-06-17 Thread Mark Mandel
an an > object. > > This is independent of passing returnformat=json to your cfc. That creates > a json string which gets passed back to the client. However you must do > something in javascript to turn the string into an object; either eval'ing > it manually, or use dataType: &

RE: CFC and jQuery

2009-06-17 Thread Josh Nathanson
in Firebug as a clickable green link; when you click it, it should show you the property values. If it is not clickable, then you have a string rather than an object. This is independent of passing returnformat=json to your cfc. That creates a json string which gets passed back to the client. Howe

Re: CFC and jQuery

2009-06-17 Thread James White
>1) Add dataType:'json' as an attribute of your ajax call, or use $.getJSON >2) use Firebug / console.log to examine the response, make sure DATA is a >valid property of the response JSON > >-- Josh > > > >I am trying to call a query from a CFC using jQuery w

Re: CFC and jQuery

2009-06-17 Thread James White
>depends on what you have in cfc as well, are you seeing the response in >firebug? > >shouldn't this: > var resp = jQuery.trim(response); > >be this: > var resp = $.trim(response); > >are you on adobe or railo? >railo this wont work yet: >&queryfo

RE: CFC and jQuery

2009-06-17 Thread Josh Nathanson
y, June 17, 2009 1:41 PM To: cf-talk Subject: CFC and jQuery I am trying to call a query from a CFC using jQuery with the following code: $(document).ready( function () { $.ajax({ type: "GET", url: "SpellChecker.cfc?method=getTextMem

Re: CFC and jQuery

2009-06-17 Thread Dave l
depends on what you have in cfc as well, are you seeing the response in firebug? shouldn't this: var resp = jQuery.trim(response); be this: var resp = $.trim(response); are you on adobe or railo? railo this wont work yet: &queryformat=column where you getting datastring from?

CFC and jQuery

2009-06-17 Thread James White
I am trying to call a query from a CFC using jQuery with the following code: $(document).ready( function () { $.ajax({ type: "GET", url: "SpellChecker.cfc?method=getTextMemoFields&returnformat=json &queryformat=column&quo

Re: Proper returntype of a cfc

2009-06-12 Thread Gerald Guido
>>Only odd to you because you are all knowing. For some reason this tickles me pink. Dave, you *are* a walking, talking cf_encyclopedia. G! On Fri, Jun 12, 2009 at 8:45 PM, Ryan Letulle wrote: > Only odd to you because you are all knowing. > -- Gerald Guido http://www.myinternetisbroken.

Re: Proper returntype of a cfc

2009-06-12 Thread Pete Freitag
Consider returning an object (another CFC), rather than a struct. In some cases a struct works well, but if you return an object you have better documentation as to what it returns, rather than with a struct with unknown keys. You can also setup default values in the CFC. -- Pete Freitag http

Re: Proper returntype of a cfc

2009-06-12 Thread Ryan Letulle
@dave I started using cfcs after reading a Ben Forta article a couple of years ago where he said at least use cfcs for querys and you should never output to the screen from cfcs. For the most part that is what I have used them for. Unfortunately, I never really advanced further than that with cfc

Re: Proper returntype of a cfc

2009-06-12 Thread Dave Watts
> Only odd to you because you are all knowing. I wish! But calling functions in CF is basically the same as calling functions in other languages. You provide a list of inputs, and get a single return value. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides th

Re: Proper returntype of a cfc

2009-06-12 Thread Ryan Letulle
BTW I always appreciate the guidance. -- Ryan LeTulle On Fri, Jun 12, 2009 at 7:45 PM, Ryan Letulle wrote: > Only odd to you because you are all knowing. > >> For the most part I have always returned either a query or 1 variable. > > > I have never done this before in

Re: Proper returntype of a cfc

2009-06-12 Thread Ryan Letulle
Only odd to you because you are all knowing. > For the most part I have always returned either a query or 1 variable. I have never done this before in a cfc. -- Ryan LeTulle On Fri, Jun 12, 2009 at 7:43 PM, Dave Watts wrote: > > > Understand, I guess the proper terminolo

Re: Proper returntype of a cfc

2009-06-12 Thread Dave Watts
> Understand, I guess the proper terminology should be multiple "values" ? Well then, it seems an odd question to ask. Return whatever data type reflects the best possible output for your function. If that's a query, return a query. If it's an array, return an array. If it's a structure, return a

Re: Proper returntype of a cfc

2009-06-12 Thread Ryan Letulle
Understand, I guess the proper terminology should be multiple "values" ? -- Ryan LeTulle On Fri, Jun 12, 2009 at 7:35 PM, Dave Watts wrote: > > > Is it a common/best practice to return multiple variables from a cfc? > Like > > if I wanted perform some processing

Re: Proper returntype of a cfc

2009-06-12 Thread Dave Watts
> Is it a common/best practice to return multiple variables from a cfc?  Like > if I wanted perform some processing in a cfc and return several variables. >  For the most part I have always returned either a query or 1 variable. > > If so, what would be the best return type for

Re: Proper returntype of a cfc

2009-06-12 Thread Ryan Letulle
That's what I thought but I've been wrong before. :) -- Ryan LeTulle On Fri, Jun 12, 2009 at 7:30 PM, Rob Parkhill wrote: > > You would need to return it as a struct. then just reference any parts of > the struct that contain the data you want. I have one cfc that re

Re: Proper returntype of a cfc

2009-06-12 Thread Rob Parkhill
You would need to return it as a struct. then just reference any parts of the struct that contain the data you want. I have one cfc that returns a struct of arrays... Rob On Fri, Jun 12, 2009 at 8:25 PM, Ryan Letulle wrote: > > Is it a common/best practice to return multiple variables

Proper returntype of a cfc

2009-06-12 Thread Ryan Letulle
Is it a common/best practice to return multiple variables from a cfc? Like if I wanted perform some processing in a cfc and return several variables. For the most part I have always returned either a query or 1 variable. If so, what would be the best return type for this? Does that make sense

RE: cfmail problem in cfc

2009-05-30 Thread Adrian Lynch
Is your mail server on the same machine as CF? Check it's running. It probably has nothing to do with being in a CFC. Create a simple cfm page to test it. Adrian > -Original Message- > From: arya krishnan [mailto:arun.b.shou...@gmail.com] > Sent: 29 May 2009 19:17

cfmail problem in cfc

2009-05-29 Thread arya krishnan
Hi All, I am able to send mails via cfmail tag in cfm pages but not in cfc. I used to send mails from cfc but now it is throwing the below error message.Please advice where i am going wrong "Error","scheduler-2","05/29/09","06:15:32",,"Could n

Re: Old CF project (1000 .cfm and .cfc), refactor into framework

2009-05-28 Thread Gerald Guido
>> coded like spaghetti with meatballs. That is a good one. >>>The discussion with my colleagues is that some want to refactor the whole project in a framework. I think it's to much work, and you can better start from scratch. My other colleagues disagrees. I just got done doing something very

Re: Old CF project (1000 .cfm and .cfc), refactor into framework

2009-05-27 Thread s. isaac dealey
Forgot to include the URL to the Galleon Project, d'oh! Here it is: http://www.tapogee.com/galleonproject/ -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 817.385.0301 http://onTap.riaforge.org/blog ~~

Re: Old CF project (1000 .cfm and .cfc), refactor into framework

2009-05-27 Thread Nathan Strutz
Isaac's got some great stuff in there. I just wanted to throw in a couple things and reword what he said my own way... Typically, a non-frameworked app with thousands of cfm and cfc files is either made very well, or it's coded like spaghetti with meatballs. If it's well constru

Re: Old CF project (1000 .cfm and .cfc), refactor into framework

2009-05-27 Thread s. isaac dealey
> I want your opinion ( or experience ) with refactoring an old project > into a framework. I am working now on a old non-frameworked project > with plain cfm files with .cfc function and object libraries. This > projects contains a bunch of .cfm files and .cfc. About 1000 i

Old CF project (1000 .cfm and .cfc), refactor into framework

2009-05-27 Thread Joeri B
Hello, I want your opinion ( or experience ) with refactoring an old project into a framework. I am working now on a old non-frameworked project with plain cfm files with .cfc function and object libraries. This projects contains a bunch of .cfm files and .cfc. About 1000 items. The

Re: question of CFC binding using events (keyup, mousedown and click)

2009-05-20 Thread Azadi Saryev
cf's bindings to form controls do not allow for event chaining or binding to multiple events... so, save for turning FF's autocomplete feature off by adding autocomplete="off" to your / tag, you are out of luck... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 20/05/2009 15:53, Jayel

question of CFC binding using events (keyup, mousedown and click)

2009-05-20 Thread Jayel Villamin
I have a simple input field the dynamically retrieves data from Oracle and populates other input fields. I am using keyup on the binding. This is working okay EXCEPT that when using firefox (possible IE as well), firefox has cached the previous data I entered on the field. e.g. I I entered "e

Re: CFC Wrapper for ImageMagick?

2009-05-08 Thread Jose Diaz
imageCFC bro ;) Jose Diaz On Thu, May 7, 2009 at 9:46 PM, Casey Dougall wrote: > > On Thu, May 7, 2009 at 2:26 PM, Michael Muller wrote: > >> >> I've just started using it too, and would love a CFC interface to it rather >> than using CFEXECUTE. >> &

Re: CFC Wrapper for ImageMagick?

2009-05-07 Thread Casey Dougall
On Thu, May 7, 2009 at 2:26 PM, Michael Muller wrote: > > I've just started using it too, and would love a CFC interface to it rather > than using CFEXECUTE. > > Have to say, their docs are horrible though. Very little in the way of > actual command line syntax, and s

Re: CFC Wrapper for ImageMagick?

2009-05-07 Thread Nathan Strutz
I used cf_magicktag back in the day, and I will let you all know that it's complete crap - never use it. seriously. Michael - Use cfexecute, put it in a cfc as a wrapper for the exe. Sorry, that's all I've got. nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG

Re: CFC Wrapper for ImageMagick?

2009-05-07 Thread Dan Baughman
I know it was done once as a custom tag, with nested parameters and all that. Was called cf_magicktag... really old but it is what I used prior to image support in cf8. On Thu, May 7, 2009 at 12:26 PM, Michael Muller wrote: > > I've just started using it too, and would love a CF

Re: CFC Wrapper for ImageMagick?

2009-05-07 Thread Michael Muller
I've just started using it too, and would love a CFC interface to it rather than using CFEXECUTE. Have to say, their docs are horrible though. Very little in the way of actual command line syntax, and some of the examples are just plain wrong. Mik >That would be cool! > >If

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Scott Stroz
t; On Fri, May 1, 2009 at 5:46 PM, Scott Stroz wrote: > >> >> As long as the AJAX requests are being made to a file under the web >> root - and how could they not? - then there is no need to duplicate >> the tag in your 'remote' CFC >> >> On Friday,

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Rick Faircloth
d they not? - then there is no need to duplicate > the tag in your 'remote' CFC > > On Friday, May 1, 2009, Lance S wrote: > > > > I think you mentioned you are using ajax, correct. Ajax is processing > with out knowledge of the application space. To get around t

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Scott Stroz
As long as the AJAX requests are being made to a file under the web root - and how could they not? - then there is no need to duplicate the tag in your 'remote' CFC On Friday, May 1, 2009, Lance S wrote: > > I think you mentioned you are using ajax, correct.  Ajax is proces

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Rick Faircloth
edge of the application space. To get around this I created a cfc > that all my cfc calls go through and the top of the cfc looks like > > >SESSIONMANAGEMENT="true" >CLIENTMANAGEMENT="true" >SETCLI

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Lance S
I think you mentioned you are using ajax, correct. Ajax is processing with out knowledge of the application space. To get around this I created a cfc that all my cfc calls go through and the top of the cfc looks like http://ad.doubleclick.net/clk;207172674;29440083;f

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
Good idea, but the data in this case is going back as part of a tag, instead of back through jquery the normal way I do it, with json. However, perhaps I could run the , etc. code and then run another . I'll give that a try. Thanks, Maureen. Rick On Wed, Apr 29, 2009 at 4:51 PM, Maureen wro

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
iginal Message- > From: Rick Faircloth [mailto:r...@whitestonemedia.com] > Sent: Wednesday, April 29, 2009 1:14 PM > To: cf-talk > Subject: Is it not possible to set session variables in a cfc method? > > > I'm trying to create a "preview" setup via cf, jquery,

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
e first things many people do > is move them to a directory that is not inside the normal web root and > thus probably not covered by the Application.cfm or Application.cfc file > and thus will not be part of the same "Application" memory as far as CF > is concerned. > > I

RE: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Josh Nathanson
bject: Is it not possible to set session variables in a cfc method? I'm trying to create a "preview" setup via cf, jquery, and ajax for a form. Before I get too deep into all this code, let me just ask this: Can I set session variables in the cfc method to the values of the fo

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Maureen
Write a Coldfusion function that sets a structure equal to session variables and and pass that structure back to qQuery. Then the client has access to the session data. On Wed, Apr 29, 2009 at 1:41 PM, Ian Skinner wrote: > > Rick Faircloth wrote: >> The calling page isn't refreshing, it's just

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Ian Skinner
Rick Faircloth wrote: > The calling page isn't refreshing, it's just having the content *added* > to the page via jquery. JQuery is *NEVER* going to have access to read or write ColdFusion session data. ColdFusion session data is on the server and JQuery is on the client and they do not shar

<    1   2   3   4   5   6   7   8   9   10   >