Are you doing SerializeJSON() in your CFC method, AND have
returntype=JSON on the function definition? If so, it is double
serializing the data. Remove the SerializeJSON() call and allow the
function to automatically do the serialization.
HTH,
-Carl V.
On 3/14/2014 12:26 PM, Rixon Reed
The default for the return format for a remote cffunction call is WDDX.
Sounds like inside your CFC you are serializing the return value first.
So something like return serializeJson(myValue);
If the return string in this case is JSON, then your remote call to the
CFC should include a
on your ajax call, did you add returnformat: 'json' as one of your post
data arguments? If you don't specify this, then the remote method will
return WDDX by default.
Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer
I had this problem and it turned out that the cfcomponent displayname must be
different to the name of the webservice. So
if you have
myWebService.cfc?wsdl
and inside it
cfcomponent displayname=myWebService output=false
then boom!
doing this sorts the problem
cfcomponent
I had this problem and it turned out that the cfcomponent displayname must be
different to the name of the webservice. So
if you have
myWebService.cfc?wsdl
and inside it
cfcomponent displayname=myWebService output=false
then boom!
doing this sorts the problem
cfcomponent
Can you file a bug report for that please?
https://bugbase.adobe.com/
On Wed, Feb 27, 2013 at 7:55 AM, Dale Western
dale.west...@columbusdirect.com wrote:
I had this problem and it turned out that the cfcomponent displayname must
be different to the name of the webservice. So
if you
You are hitting a GET versus POST thing. GET has a limited size. Just
switch to POST.
On Fri, Jan 4, 2013 at 10:21 AM, Darla Tande da...@bis-net.net wrote:
Happy New Year everyone,
I get a 404 error (in firebug) whenever I try to save a long text field to
SQL server. I have a CFWINDOW
FYI, it would have helped if I told you what to do. Just do this in your JS:
dataproxy.setHTTPMethod(post)
On Fri, Jan 4, 2013 at 10:35 AM, Raymond Camden raymondcam...@gmail.comwrote:
You are hitting a GET versus POST thing. GET has a limited size. Just
switch to POST.
On Fri, Jan 4,
That did it! Thanks.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
In ColdFusion 10, I can't reproduce this at all. I _never_ see cookies
in the response. However, I see nothing 'wrong' in this. The same
cookie values are sent from the client to the server, and server-side
values are persisted. So when I do...
if(!structkeyexists(client, x))
Hmm... ok, I'll run some test against several servers and CF versions and
see if I can isolate it. It's quite maddening...
--
Alan Rother
Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org
Twitter: @AlanRother
~|
Order
If you don't mind - can you also follow up with me directly? Want to
ensure that if this is an issue, it gets logged/sent to the right
people/etc.
On Mon, Jul 16, 2012 at 2:17 PM, Alan Rother alan.rot...@gmail.com wrote:
Hmm... ok, I'll run some test against several servers and CF versions
Of course
I'll run the whole scientific set of tests and blog it if I find anything
interesting - including source code
=]
On Mon, Jul 16, 2012 at 12:18 PM, Raymond Camden raymondcam...@gmail.comwrote:
If you don't mind - can you also follow up with me directly? Want to
ensure that if this
Can you show us your CFC method?
On Fri, Jul 13, 2012 at 2:04 PM, Alan Rother alan.rot...@gmail.com wrote:
So, I'm trying to adapt some legacy code for use in our updated mobile site
- Using jQuery / CF9
So, the legacy log in functionality is already wired into a CFC, it was
being used by
Sure,
For the record, it's not any one method, I've tried it with numerous
functions and the example below was just the simplest unused method in this
CFC
cffunction name=Logout_User access=remote output=true
returntype=any
cfset var foo =
!--- Check if user is stored in
When you call it, are you adding returnformat=json in the url? It will
override the returnformat in your function call.
On Sun, Jun 3, 2012 at 1:31 PM, Brook Davies cft...@logiforms.com wrote:
I am trying to do some jsonP stuff and call a CFC directly. The problem is
the CFC doesn't return
omg! - your right!!! Thank you - I don't know how I missed that!
Brook
-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com]
Sent: June-03-12 11:59 AM
To: cf-talk
Subject: Re: CFC returns escaped strings.. g
When you call it, are you adding returnformat=json
plus like a billion for bootstrap
On Tuesday, April 3, 2012, Cameron Childress wrote:
On Tue, Apr 3, 2012 at 1:28 PM, Brian Thornton
br...@cfdeveloper.comjavascript:;
wrote:
I wondered if anyone has a CFC that conditional includes css and
layout instructions for the wizzbang devices?
If you don't want to go responsive, I've had a lot of luck with
this:http://detectmobilebrowsers.com/
BlogCFC uses it for mobile detection (with a slight mod to ignore iPad/XOOM).
On Wed, Apr 4, 2012 at 7:04 AM, Tony tonyw...@gmail.com wrote:
plus like a billion for bootstrap
On Tuesday,
If you're looking for elegant, consider using Responsive Design. Here's a
good example:
http://twitter.github.com/bootstrap/index.html
THAT is very, very nice. Thanx for posting that.
G!
On Tue, Apr 3, 2012 at 2:55 PM, Cameron Childress camer...@gmail.comwrote:
On Tue, Apr 3, 2012 at
Do you mean you are looking for a more elegant way of detecting a mobile /
tablet device?
try http://wurfl.sourceforge.net/
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543
On Wed, Apr 4, 2012 at 3:28 AM, Brian Thornton
On Tue, Apr 3, 2012 at 1:28 PM, Brian Thornton br...@cfdeveloper.comwrote:
I wondered if anyone has a CFC that conditional includes css and
layout instructions for the wizzbang devices?
I have a complex writer and//or redirector but looking for something
more elegant.
If you're looking
One of the big advantages of caching your CFC's in memory is to reduce the
overhead of instantiating them.
If you have a rarely used ADMIN section, then this wont be an issue for for
you if they are invoked every time you use them, so I wouldn't make any more
work for yourself unnecessarily.
...@michaels.me.uk]
Sent: Monday, March 28, 2011 9:22 AM
To: cf-talk
Subject: Re: cfc creation best practice
One of the big advantages of caching your CFC's in memory is to reduce the
overhead of instantiating them.
If you have a rarely used ADMIN section, then this wont be an issue for for
you
Since the memory footprint of a CFC is generally very small, I would just
create everything together at app startup (ideally using ColdSpring) and be
done with it.
On Sun, Mar 27, 2011 at 7:21 PM, Greg Morphis gmorp...@gmail.com wrote:
If you have a site or an area of the site that's not
Awesome! I appreciate the info Brian!
On Mar 27, 2011 9:48 PM, Brian Kotek brian...@gmail.com wrote:
Since the memory footprint of a CFC is generally very small, I would just
create everything together at app startup (ideally using ColdSpring) and
be
done with it.
On Sun, Mar 27, 2011 at
On Mon, Mar 7, 2011 at 10:56 AM, Nathan Strutz str...@gmail.com wrote:
If you have a lot of arguments, one way to refactor that is to make a
component that encompasses those arguments - essentially a bean, maybe a
couple of beans if the arguments are unrelated. In your first public method,
Presumably your private method is being called by multiple methods. It is
definitely much better - at least in terms of documentation - to have those
arguments clearly defined. :-)
If, however, multiple methods do not call that private method, then there is
no need for the private method to
If, however, multiple methods do not call that private method, then there is
no need for the private method to exist.
I wouldn't go as far as that. Private methods like this can serve the
same purpose as functions or subroutines anywhere else - to limit the
amount of code in the main method,
On Mon, Mar 7, 2011 at 11:21 AM, Dave Watts wrote:
If, however, multiple methods do not call that private method, then there
is
no need for the private method to exist.
I wouldn't go as far as that. Private methods like this can serve the
same purpose as functions or subroutines
If you have a lot of arguments, one way to refactor that is to make a
component that encompasses those arguments - essentially a bean, maybe a
couple of beans if the arguments are unrelated. In your first public method,
instantiate that bean with the arguments, then just pass that bean around.
On Mon, Mar 7, 2011 at 9:24 AM, Matt Quackenbush quackfu...@gmail.com wrote:
That's the beauty of refactoring, though. Unless you need to, don't. And
if no other method is calling it (or expected to call it), then it is not
needed. If it becomes needed, refactor and add it in. :-)
I
I generally agree with this notion but I think it starts to fall apart
with more complex methods. You might have a whole routine that only
gets called one place but is complex enough that there are benefits to
breaking it up into multiple methods that have single concerns. Doing
so makes it
On Mon, Mar 7, 2011 at 11:57 AM, Judah McAuley wrote:
On Mon, Mar 7, 2011 at 9:24 AM, Matt Quackenbush wrote:
That's the beauty of refactoring, though. Unless you need to, don't.
And
if no other method is calling it (or expected to call it), then it is not
needed. If it becomes
My recommendation would be to initialize the CFC with the string as an
initial argument, then call the different iterative methods without sending
the string over and over: just modify the variable within the CFC after
the init.
Ex:
cfcomponent displayName=stringModder
cfset
I should have mentioned the CFC is stored in the application scope, so I
can't do that...
Brook
-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: March-04-11 9:56 AM
To: cf-talk
Subject: re: CFC arguments, passing large strings
My recommendation would
a shot
in the dark.
From: Brook Davies cft...@logiforms.com
Sent: Friday, March 04, 2011 1:18 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: RE: CFC arguments, passing large strings
I should have mentioned the CFC is stored in the application scope, so I
But if I wrap it in structure, then it would be passed by reference.
Wouldn't this alleviate the memory usage issue?
Brook
-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: March-04-11 10:24 AM
To: cf-talk
Subject: RE: CFC arguments, passing large strings
Oh, well
to the actual struct variable in the calling template.
From: Brook Davies cft...@logiforms.com
Sent: Friday, March 04, 2011 2:35 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: RE: CFC arguments, passing large strings
But if I wrap it in structure
Anyone have any idea on this
Thanks
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
and your site root resolves to mysite\admin?
On Tue, Nov 30, 2010 at 6:21 PM, webmas...@pegweb.com wrote:
Ok this one has me scratching my head. I have a cfc located here.
C:\mysite\admin\cfc\GetCategoryData.cfc
I put this code on a page where I call it using the dot notation and it
-
From: Michael Grant [mailto:mgr...@modus.bz]
Sent: Wednesday, December 01, 2010 11:47 AM
To: cf-talk
Subject: Re: cfc bind issue
and your site root resolves to mysite\admin?
On Tue, Nov 30, 2010 at 6:21 PM, webmas...@pegweb.com wrote:
Ok this one has me scratching my head. I have a cfc
Your bind code looks fine to me, perhaps CF doesn't like you have the CFC in
a folder called CFC, worth a try.
Perhaps you are also not aware but you do not need to create a mapping in
the cfadmin, you can create per application mappings in your application.cfc
since CF8.
see here:
Renaming the cfc directory didn't seem to make any difference. Really
odd.
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Tuesday, November 30, 2010 7:04 PM
To: cf-talk
Subject: Re: cfc bind issue
Your bind code looks fine to me, perhaps CF doesn't like
Well, that code will create a separate cache for each version of the
variable query statement.
Cf
http://forums.devshed.com/coldfusion-development-84/cfml-cfquery-cachedwithi
n-does-changing-order-by-create-new-query-680793.html
In other words, I think it will work the way you expect.
]
Sent: Tuesday, August 03, 2010 2:52 PM
To: cf-talk
Subject: re: CFC Query Question
Well, that code will create a separate cache for each version of the
variable query statement.
Cf
http://forums.devshed.com/coldfusion-development-84/cfml-cfquery-cachedwithi
n-does-changing-order-by-create-new
Makes sense. Clearly, if you were testing for ID = '#myVar#', then the
number of variances would make caching irrelevant, but it sounds like this
case might be a good candidate.
~|
Order the Adobe Coldfusion Anthology now!
SET NOCOUNT ON
SELECT @orderKey =
SCOPE_IDENTITY()
SET NOCOUNT OFF
SELECT @orderKey as orderKey
/cfquery
cfreturn qry_order_commit_1.orderKey
/cffunction
The SET NOCOUNT should be the very first statement. Try moving it before the
qry_order_commit_1
Also, do not forget to VAR scope all function local variables, including query
names.
~|
Order the Adobe Coldfusion Anthology now!
Best practice is to pass in the session variable. There can be issues
with calling a persistent scope directly within a CFC, typically around
application performance and proper garbage collection.
Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
In general, yes. The exceptions are if you have a method specifically meant
to encapsulate access session scope so that other methods in the object can
get to that data (i.e. a getCurrentUser() method in a UserService), or if
you create a dedicated SessionProxy object that other objects use to
I've got an example of a Session Facade (or Session Proxy?) on my site:
http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Using-a-Session-Facade-to-handle-evolving-session-variables
--- Adrian
In general, yes. The exceptions are if you have a method specifically meant
to encapsulate access
Me too! Me too! Me too! :)
http://www.cfgears.com/index.cfm/2009/12/3/Using-a-Session-Facade-in-ColdFusion
I can vouch for Adrian's article, though. When I first started working
with Session Facades in Mach-II, the post he linked to below went a long
way in helping me understand them.
I'm trying to get out of MX non CFC world. I've now working with CF8 and
want to start converting some of my things to use CFC's. Specifically how I
can use forms to interact with CFC's to add/edit/delete data. I've read a
few tutorials from adobe about them and what I've seen on a few blogs
ask and you shall be enlightened:
http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm
~|
Want to reach the ColdFusion community with something they want? Let them know
on
ask and you shall be enlightened:
http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm
While that's useful information to be sure, it doesn't address the
original poster's question, which is about CFC use in general.
Application.cfc is quite a
To: cf-talk
Subject: Re: CFC Newbie
ask and you shall be enlightened:
http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-App
lication-cfc-Reference.htm
While that's useful information to be sure, it doesn't address the
original poster's question, which is about CFC use
Yep read those first Ben!
-Original Message-
From: Ben Forta [mailto:b...@forta.com]
Sent: Monday, March 22, 2010 3:49 PM
To: cf-talk
Subject: RE: CFC Newbie
These are old, but may answer the question:
http://www.adobe.com/devnet/coldfusion/articles/intro_cfcs.html
http
You should be able to refresh it in the CF Administrator under Data
Services Web Services.
There's also ways to programatically do this:
http://www.dougboude.com/blog/1/2006/06/Refreshing-Cached-ColdFusion-Webservices-Through-the-Back-Door.cfm
~Brad
Original Message
thanks and sorry that I wasn't clear that the original
certification.cfc didn't register as a web service
heres my list
- http://cfservices.dev.web.sba.com/certification/cert.cfc?wsdl
- http://cfservices.dev.web.sba.com/certification/certone.cfc?wsdl
-
On a whim, have you tried clearing the template cache? Restart CF if
you can too just for the fun of it.
If that doesn't work, defrag your hard drive. It won't help, but it
will give you time to think of something else to try. :)
~Brad
Original Message
Subject: Re: cfc
for the fun of it.
If that doesn't work, defrag your hard drive. It won't help, but it
will give you time to think of something else to try. :)
~Brad
Original Message
Subject: Re: cfc WSDL is cached and won't let go
From: Joshua O'Connor-Rose joshua.oconnorr...@gmail.com
Date
Hmm, so you did state that in the OP. Sorry I missed it. :)
Well, the only other thing I can think of then is shutting down CF,
manually clearing out the folders in ColdFusion8\stubs\ and restarting.
~Brad
Original Message
Subject: Re: cfc WSDL is cached and won't let go
://www.mysite.com/mycfcs/mycfc.cfc?wsdl')
-Original Message-
From: Joshua O'Connor-Rose [mailto:joshua.oconnorr...@gmail.com]
Sent: January-19-10 1:12 PM
To: cf-talk
Subject: Re: cfc WSDL is cached and won't let go
as stated those were already attempted, and unfortunately I can't bill
for defrag
webmas...@pegweb.com wrote:
I'm running CF 9 Enterprise and am having trouble getting a cfc to fire.
Here is my invoke which is run after a file upload in a form field.
...
cfinvoke
component = file-upload.FileUploader
method = UploadMemberImage
I'm running CF 9 Enterprise and am having trouble getting a cfc to fire.
Here is my invoke which is run after a file upload in a form field.
...
cfinvoke
component = file-upload.FileUploader
method = UploadMemberImage
returnVariable = rVar
Thank you.
-Original Message-
From: Kym Kovan [mailto:dev-li...@mbcomms.net.au]
Sent: Friday, January 01, 2010 10:12 PM
To: cf-talk
Subject: Re: CFC Mapping Issues
webmas...@pegweb.com wrote:
I'm running CF 9 Enterprise and am having trouble getting a cfc to
fire.
Here is my
James Holmes wrote:
This means the CF Ajax JavaScript files aren't loading. Check the
/CFIDE/scripts alias for the webserver for that site.
Finally got support to check the IIS settings, and ure enough, a mapping
was missing. Ack! That one cost me some hair!
Thanks to everybody that chimed
On the same page:
cfinvoke
component=art
method=getCATS
returnVariable=temp
/cfinvoke
cfdump var=#temp#
This returns the resultsI'm expecting to see from the CFC, so teh CFC
*is* working ...
Still stumped
I've got a group of CFSELECTS that were working before a site moved, but
In your test, I would structure the URL as:
http://www.mysite.com/admin/email/art.cfc?method=getGROUPSreturnFormat=JSON[whatever
name value pairs you need for your method]
Otherwise, hitting the component direct, without a query string, would
try to load the component browser/javadoc layout
Even more strange:
Exact same code is working on another site on the same server.
Plus, if I try to access the cfc by browsing directly to it, I'll get
the expected page of properties.
Only difference is the way the urls are constructed. It's working for
www.mysite.com
But not working
Have you ran the code with FireBug open? Check the net or console sections and
look for any errors.
--Dave
blog.dkferguson.com
www.cfhour.com
I've got a group of CFSELECTS that were working before a site moved,
but
now, not. Nothing is being returned to the CFSELECTS
cfselect
Dave Ferguson wrote:
Have you ran the code with FireBug open? Check the net or console sections
and look for any errors.
4 errors - but I'll be honest and say that I don't know how to fix them.
It's basically saying that the CFC/AJAX stuff ain't loading - but the
mappings in the CFADMIN
Cutter (ColdFusion) wrote:
In your test, I would structure the URL as:
Even more weird - if I try to access the CFC and add the method:
http://www.mysite.com/admin/email/art.cfc?method=getCATS
I get the categories I'm expecting
0Select a Category3.0All Attorneys and Policy Advisors4.0All
http://www.mysite.com/admin/email/art.cfc?method=getGROUPSreturnFormat=JSON[whatever
name value pairs you need for your method]
art.cfc?method=getGROUPSreturnFormat=JSONtheCATS=4
Is returning the groups under the category.
[[0.0,Select a Group],[12,All Employees - Boston],[13,All
Add this to the page with the CFDIV on it. This may correct the issue.
cfajaximport tags = CFDIV /
--Dave
blog.dkferguson.com
www.cfhour.com
~|
Want to reach the ColdFusion community with something they want? Let them know
Dave Ferguson wrote:
Add this to the page with the CFDIV on it. This may correct the issue.
cfajaximport tags = CFDIV /
Added the above
This is driving me crazy! Why is it working in one place, but not
another??
I'm still getting (in Firebug).
ColdFusion is not defined
Seems like a CFIDE type of problem.
Try the net tab of FireBug, I think -- one of those tabs shows the
js files firefox is trying to load -- and then ctrl+click on the files
listed and be sure none of them are returning 404 or unexpected
non-javascript content.
--
If we don't know life, how
This means the CF Ajax JavaScript files aren't loading. Check the
/CFIDE/scripts alias for the webserver for that site.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/11/26 Les Mizzell lesm...@bellsouth.net:
Dave Ferguson wrote:
Add this to the page
The primary reason for that attribute is whitespace.
And I would suggest against outputting from a CFC. Better to return a
variable, then output THAT.
-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com]
Sent: Friday, November 20, 2009 8:58 AM
To: cf-talk
Subject: cfc
And I would suggest against outputting from a CFC. Better to return a
variable, then output THAT.
Agreed. cfsavecontent is very good at facilitating this if you have a
lot of HTML to wrap up in a string to return.
~Brad
That's true I could use cfsavecontent. Would be cleaner to just return a
variable.
Thanks guys!
-Original Message-
From: b...@bradwood.com [mailto:b...@bradwood.com]
Sent: Friday, November 20, 2009 10:47 AM
To: cf-talk
Subject: RE: cfc output=yes
And I would suggest against
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:326588
tried that. Nope.
On Thu, Sep 24, 2009 at 11:35 AM, Brian McCairn
brian.mcca...@medicapp.eu wrote:
component=filename maybe
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of
cfcomponent tags round the cffunction?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
what do you get if you browse to webroot/cfc/filename.cfc?wsdl
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
So you're calling this file from within ColdFusion directly right?
What happens if you create it using CreateObject?
cfset myCFC = CreateObject('component','cfc.filename')
cfset user = myCFC.Read(13204721-3474-8967-4897498740174013)
Are you getting an error?
andy
-Original
Coldfusion user has permission to the file?
So you're calling this file from within ColdFusion directly right?
What happens if you create it using CreateObject?
cfset myCFC = CreateObject('component','cfc.filename')
cfset user = myCFC.Read(13204721-3474-8967-4897498740174013)
Are you
Yes and cfcomponent name=filename is at the top (and closing).
filename.cfc in the cfc directory
cfcomponent name=filename
cffunction name=Read returntype=Query access=remote
cfargument name=UserID type=string
cfscriptvar Data=;/cfscript
Errors, yes or no? If CF is seeing it, then you should be getting a
response. If it doesnt see it, then you should get an error.
-Original Message-
From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
Sent: Thursday, September 24, 2009 2:59 PM
To: cf-talk
Subject: Re: CFC Question
you do not actually have 2 and 3 as text inside your cfinvoke block,
do you?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 25/09/2009 02:30, Phillip Vector wrote:
So for the meantime, I've put my cfc directory in the web root on the
development server I use.
I have the following
yes, but I took them out and it still has the same result. The
cfinvoke is not firing I don't think.
On Thu, Sep 24, 2009 at 1:31 PM, Azadi Saryev az...@sabai-dee.com wrote:
you do not actually have 2 and 3 as text inside your cfinvoke block,
do you?
Azadi Saryev
Sabai-dee.com
firebug will tell you if it is firing or not.
and you do have cfdump var=#user# or another output of USER var
after your cfinvoke block, right?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 25/09/2009 04:45, Phillip Vector wrote:
yes, but I took them out and it still has the same
Not yet. However, I do have a 4 which isn't showing up (which it would
if the file got that far.
On Thu, Sep 24, 2009 at 1:53 PM, Azadi Saryev az...@sabai-dee.com wrote:
firebug will tell you if it is firing or not.
and you do have cfdump var=#user# or another output of USER var
after your
test your page in firefox with firebug installed. look at the Net tab to
see if the request to your cfc fires and what it returns, if anything...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 25/09/2009 04:55, Phillip Vector wrote:
Not yet. However, I do have a 4 which isn't showing
it, then you should be getting a
response. If it doesnt see it, then you should get an error.
-Original Message-
From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
Sent: Thursday, September 24, 2009 2:59 PM
To: cf-talk
Subject: Re: CFC Question
Yes and cfcomponent name=filename
Hey Philip,
Is this literally all the code on the page?
TestUsers.cfm
1
cfinvoke component=cfc.filename method=Read returnvariable=User
2
cfinvokeargument name=UserID value=13204721-3474-8967-4897498740174013
3
/cfinvoke
4
Nothing else?
If so, then, it's working... You just don't have any
That is litterally all the code in the page. It isn't firing the invoke.
But I have good news. I have been working with fusebox on this (having
double cfc's inthe circuit directory and the root just to be sure) and
it wasn't working.
I moved it over to it's own folder with no fusebox and I'm
Glad you found the issue... however in the future, disclosing a valuable
piece of information like, the fact you're running this code inside a
fusebox app would have cut this thread down to one or two emails...
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager,
Yeah. I know. I'm not thinking today. Sorry about that. I didn't think
it was that much of an issue.
I think I'm going to use application.cfc and not try to put in CFC's
into the application. It's to frustrating for not enough gain IMHO.
On Thu, Sep 24, 2009 at 2:14 PM, Alan Rother
1 - 100 of 1601 matches
Mail list logo