Check your mapping to the CFIDE directory. What happens if you browse to
http://www.yourdomain.com/cfide/
Will
-Original Message-
From: Matthew Smith [mailto:[EMAIL PROTECTED]
Sent: 20 June 2008 01:38
To: CF-Talk
Subject: cfinput required=yes not generating pop-up
I have a cfform,
On Wednesday 18 Jun 2008, Gerald Guido wrote:
Hibernate into the next version of CF. This is probably good too.
More like amazing. Hybernate automatically creates all the objects to
abstract your database. Like a code generator. Do you know how much time
this will shave off development?
On Thursday 19 Jun 2008, Charlie Griefer wrote:
cfinvoke
component=c21-ar-sm-homesite.components.manager_authorization
method=authenticate
returnVariable=manager_id
email=#form.email#
pw=#form.password#
It's a good idea not to have your CFC depend on the exact name
What would be the best way to pass variables to a CFC
for processing?
Rick
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 6:34 AM
To: CF-Talk
Subject: Re: Waaa! Why won't my CFC work!
On Thursday 19 Jun 2008, Charlie Griefer
On Thursday 19 Jun 2008, Randy Johnson - CFConcepts wrote:
Would putting result=qryResults in my CFQUERY tags cause any
performance hits
Yes, because CF will check the result type at runtime every single request.
This is almost certainly such a small hit you'll not care though.
Any
On Friday 20 Jun 2008, Rick Faircloth wrote:
What would be the best way to pass variables to a CFC
for processing?
cfinvoke
component=c21-ar-sm-homesite.components.manager_authorization
method=authenticate
returnVariable=manager_id
email=#form.email#
Rick Faircloth wrote:
What would be the best way to pass variables to a CFC
for processing?
Rick
I think Tom mistakenly read the cfinvoke... code as being part of the
CFC code. I know I did when I first looked at the code snippet. You
are not accessing the form/url/session scopes inside
On Wednesday 18 Jun 2008, D Simcik wrote:
that's not done by default?
The help in the CF admin is fairly clear, for instance in the general settings
about 'trusted cache' and 'save class files'.
With regards to the JVM, there are Java 5 and Java 6 JVM tuning guides from
Sun, but I'm not sure
On Friday 20 Jun 2008, Ian Skinner wrote:
I think Tom mistakenly read the cfinvoke... code as being part of the
CFC code.
Oh no, I was pointing out it was a good thing to do anyway, even if there
wasn't something up with the argument name.
--
Tom Chiverton
In a more complex OO model...facades.
Oh man, Tom. You're killing me. I haven't even been able
to get createObject working, yet.
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 9:38 AM
To: CF-Talk
Subject: Re: Waaa! Why won't my
On Friday 20 Jun 2008, Rick Faircloth wrote:
What would be the best way to pass variables to a CFC
for processing?
To go back to this question, there are several methods for passing in
variables. There is no really best way, it is more a matter of
personal preference. Besides the use of
Attorneys and their egos! Sheesh!
I've got a search function (standard queries) on a site that looks for
keywords in a number of fields/tables to return a list of attorneys
associated with that keyword. Results are sort alphabetically.
But, a couple of folks with big heads are going, Hey, I do
Thanks for the info, Matt.
I think I've got a handle on those methods.
One thing I still haven't been able to get to work
is setting up an init function for my db in a cfc.
Can you explain how that work and show me an example
of the code I need to put in a cfc.
I tried this that someone gave
The only thing missing in the functionality is
to have the suggestion highlighted so I can hit
enter when it's the *last* choice available. That
way I don't have to click the choice with my mouse
or use an arrow key to select the option.
Rick
-Original Message-
From: Don Seibert
Rick Faircloth wrote:
Read inline.
Thanks for the info, Matt.
I think I've got a handle on those methods.
One thing I still haven't been able to get to work
is setting up an init function for my db in a cfc.
Can you explain how that work and show me an example
of the code I need to put
On Friday 20 Jun 2008, Rick Faircloth wrote:
In a more complex OO model...facades.
Oh man, Tom. You're killing me. I haven't even been able
to get createObject working, yet.
/me points at CFCDev
Run dude, *ru* !
:-)
--
Tom Chiverton
On Fri, Jun 20, 2008 at 10:10 AM, Rick Faircloth
[EMAIL PROTECTED] wrote:
Can you explain how that work and show me an example
of the code I need to put in a cfc.
I tried this that someone gave me:
cffunction name=init
cfargument name=dsn
cfset variables.dsn = arguments.dsn /
Les,
unfortunately when it comes to Egos the order that you determine is normally
only roughly related to the order desired.
Thus, though I like the idea of looking into a bio and determine ranking by
wording, it may be more advisable to let the Attorneys (or whomever) determine
their own
On Friday 20 Jun 2008, Ian Skinner wrote:
scope. So most of us would pass the data in, often with this defacto
constructor function named 'init' so that it is contained within the
In CF9 this 'init' method is now a concrete constructor that CF will invoke
for you.
Dunno how it'll cope with
Tom Chiverton wrote:
In CF9 this 'init' method is now a concrete constructor that CF will invoke
CF9!?! What is this product you speak of? Is this just descriptions or
is there code that can be played with by us mere mortals someplace?
On Friday 20 Jun 2008, Bilal Soylu wrote:
idea of looking into a bio and determine ranking by wording, it may be more
advisable to let the Attorneys (or whomever) determine their own rankings
by practice area and keywords among themselves and you staying safely out
Yup - it sounds like there
On Friday 20 Jun 2008, Ian Skinner wrote:
Tom Chiverton wrote:
In CF9 this 'init' method is now a concrete constructor that CF will
invoke
CF9!?! What is this product you speak of? Is this just descriptions or
is there code that can be played with by us mere mortals someplace?
Various
Ok, here's a nice one. One of my coworkers is running into this problem when
he tries to invoke a ColdFusion web service he wrote. He didn't have any
problems on our dev environment, but the test environment is puking out.
Unfortunately, Dev is CF7 Ent and test is CF7 standard. Not that it
I can't remember the error I was getting, but I do remember having
some web service weirdness and ended up running this to fix it:
cfset application.ISIwsdl = createObject(java,
coldfusion.server.ServiceFactory).XmlRpcService.refreshWebService(wsdl)
/
I'm not sure exactly what it does and can't
Thanks for the reply Matt. We have actually already tried that. That
code provides us with the same error that trying to call the web service
does.
~Brad
-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 11:14 AM
To: CF-Talk
Subject: Re:
In a calling page:
cfset theObject = CreateObject(component,dynamictest).init(James)
cfset theMethodToCall = myFunction
cfset theObject.myMethod = theObject[theMethodToCall]
cfset myResult = theObject.myMethod(hello)
cfoutput#myResult#/cfoutput
Does anyone know why in CF you can't do
Makes sense. Thanks for the explanation, Ian!
Rick
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 11:25 AM
To: CF-Talk
Subject: Re: Waaa! Why won't my CFC work!
Rick Faircloth wrote:
Read inline.
Thanks for the info, Matt.
What is CFCDev... a conference? Book?
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 11:31 AM
To: CF-Talk
Subject: Re: Waaa! Why won't my CFC work!
On Friday 20 Jun 2008, Rick Faircloth wrote:
In a more complex OO
Hi
i have a query in coldfusion and one of the columns has a list of data: for
example
col1 col2
-
1 0,1,2,3
2 1,6,7
i want to run a query where i pass it a list and it returns any row that has
any item in that list
for example i want to run a query that
Thanks for the info and code, Matt.
I'll try out your example and see what happens.
Rick
-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 11:32 AM
To: CF-Talk
Subject: Re: Waaa! Why won't my CFC work!
On Fri, Jun 20, 2008 at 10:10
I've gotten my head around my first Model Glue app, except one thing - Global
variables.
I googled and googled, and used some examples, but still having no luck.
Model Glue 2.0.304 - Running into an error.
My goal is to set a simple DSN global variable that I can use anywhere. I've
used
In your controller try:
var Employee = GetModelGlue().GetBean(Employee);
This will then get your Employee bean through ColdSpring.
HTH
Dominic
--
Blog it up: http://fusion.dominicwatson.co.uk
~|
Adobe® ColdFusion® 8
I have API.class in JVM and java settings in cf administrator.
Today I tried create java object. I used following line:
cfobject class=mobi.mtld.da.Api name=API type=java
action=create
First, I'd just put this class in WEB-INF/classes instead of some other
directory. That directory is
I have API.class in JVM and java settings in cf administrator.
Today I tried create java object. I used following line:
cfobject class=mobi.mtld.da.Api name=API type=java
action=create
First, I'd just put this class in WEB-INF/classes instead of some other
directory. That directory is
HTH
Dominic
Works perfectly!! Thank you Dominic!
Will
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
I had something like this once upon a time. I think I had to
manipulate the data so that I had leading and trailing commas in the
list in table. This was so I wouldn't get false matches, such as 6
being found in this list: 1,16,8. If you can do that, this might work.
cfquery ...
select col1, col2
hi matt this is a good idea, shame about the leading and trailing commas though
this would prove to be a pain, until i can find another solution i will do the
loop and use the list find though thanks for your help
I had something like this once upon a time. I think I had to
manipulate the
Does that sound like an idea, or can somebody think of a better way to
do this?
Tell them you must enter their earnings in the table so you can sort the
list
in order of work they do, may be they will forget about their request ;-))
Not joking, I would'n take the responsibility of such a
is normalizing the database an option? :)
On Fri, Jun 20, 2008 at 11:52 AM, Richard White [EMAIL PROTECTED] wrote:
hi matt this is a good idea, shame about the leading and trailing commas
though this would prove to be a pain, until i can find another solution i
will do the loop and use the
Well, we figured it out. Turns out it was because we had a component
display name that was the same as the file name.
I'm not sure exactly what versions this affects, but I know this:
Windows CF 7.0.2 Enterprise: worked
Linux CF 7.0.2 Standard: didn't work
We figured it out from the comment
lol, yes it would be if this was a format in the database, in fact i would need
to be sacked as well :)
- its something built up through coldfusion and i'm storing all the data in a
query so i can run various query of query select statements to filter out
various information - which is much
Rick Faircloth wrote:
What is CFCDev... a conference? Book?
Web Site
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Ian Skinner wrote:
Rick Faircloth wrote:
What is CFCDev... a conference? Book?
Web Site
Hit 'Send' to fast...
Website - http://www.cfczone.org/
~|
Adobe® ColdFusion® 8 software 8 is the most important and
Ok, this goes hand in hand with the CFHTTP bug I reported a few weeks
ago.
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56626
I can't figure out how to find the final location returned by the cfhttp
tag when it follows a redirect.
In other words,
cfhttp
Hi,
i am running the following query on query:
cfquery name=newQuery dbtype=query
select * from query
cfloop index=fl2 from=1 to=#arraylen(queryListArray)#
cfif fl2 eq 1
where #columnName# like '%,#queryListArray[fl2]#,%'
cfelse
or
Thanks, Ian...
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 3:50 PM
To: CF-Talk
Subject: Re: Waaa! Why won't my CFC work!
Ian Skinner wrote:
Rick Faircloth wrote:
What is CFCDev... a conference? Book?
Web Site
Hit
no luck...
I do need the group by clause, my actual query is much larger than the one
posted. the problem, for example is this:
for five people, paid=no, for five others, paid=yes under one parent
sponsor.
I am now getting a result of 10, but I need the result to be 5, only
counting those
Hard to say what is going on. The following works fine for me:
SELECT node.userCity,count(node.userCity)
FROM core.users AS node, core.users AS parent
WHERE parent.userName = node.userFirstName
AND node.userCity = 'Pasadena'
GROUP BY node.userCity
I seem to get the correct number based on the
Hi
i have this very simple line of code that i am trying to run in a query of
query:
select * from query where T_Site like '%,1,%'
but i am getting the error:
Encountered T_Site. Incorrect conditional expression, Incorrect conditional
expression, Lexical error at line 0, column 0.
select * from query where T_Site like '%1%'
On Fri, Jun 20, 2008 at 3:28 PM, Richard White [EMAIL PROTECTED] wrote:
Hi
i have this very simple line of code that i am trying to run in a query of
query:
select * from query where T_Site like '%,1,%'
but i am getting the error:
Encountered
hi, i need the commas in the like clause though, how can i get these in there?
thanks
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Our server admin has set up CF8 with 4 instances. When adding data sources I
have to add them to the root cfide/administrator rather than within the
instance example: http:mysite.com/:portNumber/cfide/administrator.
Seems like the install might be configured incorrectly, does anyone have any
how do i get extra debugging information about the null pointers as just saying
it tried to reference a null value isnt helping me find what the issue is?
thanks
richard
Hi,
i am running the following query on query:
cfquery name=newQuery dbtype=query
select * from query
I don't think you can have them.. Perhaps you can escape them? /,?
On Fri, Jun 20, 2008 at 3:36 PM, Richard White [EMAIL PROTECTED] wrote:
hi, i need the commas in the like clause though, how can i get these in there?
thanks
Hi,
i am running the following query on query:
cfquery name=newQuery dbtype=query
select * from query
cfloop index=fl2 from=1 to=#arraylen(queryListArray)#
cfif fl2 eq 1
where #columnName# like '%,#queryListArray[fl2]#,%'
cfelse
or
You need to add the data sources into each instance if you plan on
actually using them.
Unless you have a site using the default instance, you shouldn't need
any data sources set up there.
I may be wrong, but I seemed to remember if you added data sources to
your base instance BEFORE creating
Richard, I found this on the CF7 livedocs comments:
==
Null Pointers are another name for undefined values.
If this error is returned when trying to use the LIKE operator it is likely
because there are NULL values in the column in question. Try the following
variation:
CFQUERY
You aren't by chance storing a comma-delimited list in a single column a
database are you? :)
~Brad
-Original Message-
From: Phillip Vector [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 5:41 PM
To: CF-Talk
Subject: Re: very basic query error???
I don't think you can have
Not joking, I would'n take the responsibility of such a political issue.
Ask them to define themselves what the rank of every one should have,
Well, management at the law firm has now said I don't want those
egotist controlling their rank, do a count on the search term and rank
by that.
Thanks for the info, Matt.
I think I've got a handle on those methods.
Rick, I know you just moved up to cf8 from allaire -4, but you gotta dload
model glue and give it a whirl. Follow ray's blog.
Will
~|
Adobe®
You aren't by chance storing a comma-delimited list in a single column a
database are you? :)
hi brad, well not in the database but this particular column in the coldfusion
query at this point could have comma delimited lists.
this query is something i have created out of various other queries
i have actually used this in other queries and it does work fine and pulls out
the data as required, its just that in this one i am having problems
i have managed now to get rid of the error above, its becuase it was trying to
change the single quotes to double quotes. so i used the
oh i see,
thanks very much josh i will give this a go :)
good find! thanks again
Richard, I found this on the CF7 livedocs comments:
==
Null Pointers are another name for undefined values.
If this error is returned when trying to use the LIKE operator it is likely
because there
that did it!
thanks again Josh, good find, i have been tearing my hair out over that all
night
thanks again
Richard, I found this on the CF7 livedocs comments:
==
Null Pointers are another name for undefined values.
If this error is returned when trying to use the LIKE operator
josh managed to find the solution in this post:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56796
it was down to some cells in that column being null when using the like clause
- i had to include where T_Site is not null
and now it is working fine
You aren't by chance
Take those commas outa there. ??
hi will,
i would actually like too, this scenario came up in a previous post i made
about the best way to run a query on a particular scenario,
the post is:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56792
even though this issue is now
Yeah, I think I ran across that one time and had to dig deep to find that.
Query of queries is an odd beast, there are a lot of little gotchas to be
dealt with. Also check out the case sensitivity issue, that got me one time
too.
-- Josh
- Original Message -
From: Richard White
is this issue arising on your testing server or on the live site?
i have had this error occur almost everytime we have changed our hosting
company or they have changed our vps over to a new server. we inform them of it
and they tell us that they forget to set something on the server
i know
OK, first steps to getting this to work are going well. I can run the
search, set a query object, and do a CFDUMP and my expected results are
there. The only problem I'm having is setting my keyCOUNT variable.
cfset req.keyCOUNT = ListValueCountNoCase(results.narrative,req.srch, )
The above
OK, results.narrative isn't really a list, but a SQL text cell.
Whoops - I lied. It's an nTEXT field.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Les Mizzell wrote:
OK, results.narrative isn't really a list, but a SQL text cell.
Whoops - I lied. It's an nTEXT field.
Found the problem - for some reason, n type fields won't display
locally (? - ideas anyboyd - ?), but they will out on the production
server. Once I moved a test file
Oh, I don't know... I'm a little leery of getting involved
with a product and becoming dependent on it. I'll have a look,
but...
Thoughts?
Rick
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 7:10 PM
To: CF-Talk
Subject: Re: Waaa!
you mean a product like ColdFusion? or a product like Dreamweaver
or Eclipse? or a product like Subversion.
Yeah, i can't imagine anyone wanting to use and become dependent on
any of those products.
(and yes, I know that you use all of those, and yes, I'm trying to
make a point).
On Fri, Jun
Your point is well-taken, Charlie.
And yes, I do use CF, but I need some language to program in
and CF is so easy to program.
However, I don't depend on any IDE for coding. I stay away
from wizards, etc. I hand-code everything, except for what I borrow
from others. I just like to understand
On Fri, Jun 20, 2008 at 7:23 PM, Rick Faircloth
[EMAIL PROTECTED] wrote:
if a program should become unavailable. Now, depending on
a foundation program, such as CF is a little different than
what I'm talking about.
if Model-Glue (or Fusebox or Mach-ii or ColdBox or... ) were to cease
all
Rick, you're showing the signs of the frustration I felt when i was
starting to learn this stuff.Dont worry - it all comes clear in
the end.
There is a problem for the newbie into OO coldfusion in that there is
a whole host of other OO languages around that are supplying concepts
and
Hi,
I'm having a system that has two different consoles one for people input data,
and other for people view data. One isn't connected to the other. Meaning, they
work separatedly but at the same time. If there is a new input, then the new
input will show on the diplay console right away,
Thanks for the perspective, Charlie.
Rick
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 10:47 PM
To: CF-Talk
Subject: Re: Waaa! Why won't my CFC work!
On Fri, Jun 20, 2008 at 7:23 PM, Rick Faircloth
[EMAIL PROTECTED] wrote:
Wow, Mike! Thanks for the great intro primer!
I'd be happy to look at your CFC's. Perhaps they would clarify
my understanding.
I really just need to see an example from start to finish of a situation
where there's a db, say myDatabase, see how that is initialized with
the init function, see
Ok i'll write up a little treatise on CFCs in a real estate app for
you - a simple one that just manages inserts, edits, deletes and
queries on a table of property listings. I'll take one that i use for
my client (the one i think is the same as yours) and fictionalise it a
bit to protect the IP
he
idea similar to MS Outlook. Whenever a new mail comes, it just shows
up by itself. Or just like a stock reports with live feeding.
Is there any way to do this in cold fusion ? Database is MS Access.
Thanks
Sounds like you just need some SQL to show the newest items first.
ORDER
Oh, I don't know... I'm a little leery of getting involved
with a product and becoming dependent on it. I'll have a look,
but...
Thoughts?
Like jQuery??
:)
Will
~|
Adobe® ColdFusion® 8 software 8 is the most
No, there shouldn't he any problems storing a comma delimited list-- it's just
bad normalization since a list isn't an atomic value.
If you are searching for 1 make sure you account for the following lists:
1,2,3
3,2,1
2,1,3
%,1,% is only work for one of those.
~Brad
would a comma delimited
83 matches
Mail list logo