Hello,
I am developing using CF9. I am fetching RSS feed from twitter but XmlSearch is
unable to return array of entry elements in the xml.
Please look into the following code: I can't be using CFFEED tag, since this
project has to work on a CF 7 server.
cfset sourceUrl =
entry is the wrong entity for an RSS feed.
The entry you want is item
so you'd want xmlSearch(feed,//item)
hth
--
s. isaac dealey :: AutLabs
Creating meaningful employment for people with Autism
http://www.autlabs.com
ph: 817.385.0301
http://onTap.riaforge.org/blog
I think this will be to do with the default namespace in the xml document. A
quick google should tell you all you need to know on that, but the upshot is
that you will need to use a colon (e.g. a blank namespace) before entity
names, i.e.:
cfset items = XmlSearch(feed, '//:entry') /
HTH
Is it possible to use a variable in the range parameter in a CFinput text
field?
I have tried both
cfinput type=Text name=test range=5,#var# required=No size=3
maxlength=3
And
cfinput type=Text name=test range=5,var required=No size=3
maxlength=3
And it does not display the field in the form.
Hi,
Sorry to piggy back reply on an old post - but this is exactly the guidance I'm
looking for. Most sites and resources I have found concern a Facebook ap hosted
on a ColdFusion server. I also want to use Facebook connect as a sort of OpenID
sign in option. I don't really understand all the
Hello list,
did anyone here manage to get CF9 running successfully on CF9 on top
of MAMP? I had CF8 running with Mamp on Leopard and can't quite figure
out what's happening. I did a single server install and configured CF
to use the built-in apache with MAMP:
Config Directory:
CF9 apparently stops and starts fine, but I cannot get any CFM files
to run, instead I am prompted to download them. I think it's clear
that the processing for CFM files is not handed back to CF properly.
You need to run wsconfig.jar to configure Apache to talk to CF.
I'm not sure what role
I think I cracked it!
I changed permissions on the wsconfig folder to 777. I then used
wsconfig.jar to add the connector but still no dice - the .cfm file
was still being prompted for download. But I noticed that I was trying
to hit http://localhost/CFIDE/administrator/index.cfm directly
Thanks for responding Isaac. I was using an Atom feed and therefore had to use
entry instead of item. It worked following the other advice.
Best
Sam
~|
Want to reach the ColdFusion community with something they want? Let them
I think this will be to do with the default namespace in the xml document. A
quick google should tell you all you need to know on that, but the upshot is
that you will need to use a colon (e.g. a blank namespace) before entity
names, i.e.:
cfset items = XmlSearch(feed, '//:entry') /
HTH
On Sat, 2009-10-24 at 15:17 -0500, s. isaac dealey wrote:
In my case in particular, my skills are fairly slanted toward the
technical, meaning that my people skills are rusty.
LOLI think that's just a programmer trait ;-)
My staff once compared me to the new toilet paper my partner
Looking at the following XML fragment.
S:Envelope xmlns:S=http://schemas.xmlsoap.org/soap/envelope/;
S:Body
VehicleInformation xmlns=urn:description6.kp.chrome.com
... a lot of nodes I am not interested in ...
standards
What namespace is the 'standards' node in and
Thanks Dave,
as you may have seen I managed to resolve it. Your tip is right on
track.
What's confusing is the fact that the CF9 installer asks for the same
details during install, so it seems illogical that another tool needs
to be used to configure those same details yet again. Maybe it
Okay, this should be a nut-cracker on this Blog.
I need someone to develop a coldfusion script that will communicate to a
server/service using XML POST.
Parameters are:
SMS
authentification
username/username
password/password
/authentification
message
sender/sender
Looking at the following XML fragment.
S:Envelope xmlns:S=http://schemas.xmlsoap.org/soap/envelope/;
S:Body
VehicleInformation xmlns=urn:description6.kp.chrome.com
... a lot of nodes I am not interested in ...
standards
What namespace is the 'standards' node in and
What's confusing is the fact that the CF9 installer asks for the same
details during install, so it seems illogical that another tool needs
to be used to configure those same details yet again. Maybe it was an
issue related to the permissions on that folder, who knows. But how is
one to
Thanks for responding Isaac. I was using an Atom feed and therefore
had to use entry instead of item. It worked following the other
advice.
Ahh, well I read RSS in your original message and had just gone and
double-checked the RSS link on my own twitter profile. :) Glad you got
it figured
On Sat, 2009-10-24 at 15:17 -0500, s. isaac dealey wrote:
In my case in particular, my skills are fairly slanted toward the
technical, meaning that my people skills are rusty.
LOLI think that's just a programmer trait ;-)
My staff once compared me to the new toilet paper my
Billy Cox wrote:
I'm a musician as well. scary!!
Rick Faircloth wrote:
I think you're right, Mark.
Music, especially theory, is very logical and an lot
like programming...just a different medium.
*raises up guitar, and keyboard and rests them on the desk by his keyboard*
So the temporary pdf's are filling up the c drive.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Okay, this should be a nut-cracker on this Blog.
I need someone to develop a coldfusion script that will communicate to
a server/service using XML POST.
Parameters are:
SMS
authentification
username/username
password/password
/authentification
message
Bryan Stevenson wrote:
Speaking as a non-musician.
Poppycock, you picked up my guitar when I brought it in the office and
played it.
Actually I think I really am onejust never had the time to keep
playing ;-)
I believe that that while you can phrase computer science as a
I have a form of placing purchase order. Each purchase order is uniquely
identified by the 'ID' column in the database table which is an Auto Increment
integer field. I want to know, how can I obtain the 'ID' of an order which I
just placed in the database table?
Regards,
Arsalan
On 27/10/2009 03:03, Arsalan Tariq Keen wrote:
I have a form of placing purchase order. Each purchase order is uniquely
identified by the 'ID' column in the database table which is an Auto
Increment integer field. I want to know, how can I obtain the 'ID' of an
order which I just placed in
What database are you using? There a specific methods for each type.
On Mon, Oct 26, 2009 at 12:06 PM, Azadi Saryev az...@sabai-dee.com wrote:
On 27/10/2009 03:03, Arsalan Tariq Keen wrote:
I have a form of placing purchase order. Each purchase order is uniquely
identified by the 'ID'
I am using H2.
--
From: Alan Rother alan.rot...@gmail.com
Sent: Tuesday, October 27, 2009 1:09 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Getting last inserted record from database
What database are you using? There a specific methods
Ramon,
I actually wrote a component set a while back to do just that:
http://www.bryantwebconsulting.com/docs/datamgr/
One advantage over ColdFusion ORM is that it is written in 100% CFML, so you
can open it up and see all of the code.
Steve
Just curious how others handle making their
Here are the help docs for your database type.
http://www.h2database.com/html/functions.html#identity
http://www.h2database.com/html/functions.html#identityIn the same CFQUERY
as your insert do a select and follow the syntax indicated on that help
page. You also need to specify a name for your
Just looking at ColdFusion alone, we've had a new major version every
year for the past 4 years. Which means that if you had a 4 year college
course that included CF prepared in 2006, it would be outdated by 3
major versions by this year when the students graduated. I expect a
similar kind
Dave Watts wrote:
I'm pretty sure you'll need to use local-name to get to this, though;
dealing with namespaces from CF isn't all that easy.
Is it just difficult or is it impossible? That is the point of this
exercise. The teach myself how namespaces actually work.
Playing with this bit of
I'd say you're pretty accurate in your guess. I don't have it and
don't want it either. For me it's as much a matter of principle as
anything. I got where I am today by figuring it out on my own (as I
think most CFers have) and to me that's worth WAY more than somebody
who sat in a
One of the things that tends to frustrate me about job placement ads is
that they always seem to want you to be some combination of Einstein's
level of technical expertise and Obama's speaking finesse. ;) Forget
that Obama isn't an especially technical individual and that Einstein
wasn't the
I've seen allot of jobs require lately BA/BS and not accept experience
in it's place.
Experience is very difficult to quantify. Many hiring programs require
some sort of easily quantifiable information as the first filter. In
most places, you need the degree to get in the door, then you need
In any case, there's nothing that was in my degree back in the early
1970s that's relevant to today's world. But i have been building
web sites the internet first went commercial. I built my first web
site using Frontpage 1 - that taught me as much about building web
sites as almost
cfsavecontent variable=myXmlString
SMSauthentification username/username
password/password/authentificationmessage
sender/sender text/text/messagerecipients gsm
messageId=âclientmsgID1â/gsm gsm
messageId=âclientmsgID2â/gsm
select the max id straight after the insert and wrap it all in cftransaction
tags
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
You may also want to consider the use of sequences instead of an
identity column (a la Oracle and others). I don't know if that is an
option for you though.
Allen
Alan Rother wrote:
Here are the help docs for your database type.
http://www.h2database.com/html/functions.html#identity
I believe that that while you can phrase computer science as a science,
there is much more art than science to it. There is artistry in seeing
all of the parts and guiding them into the whole. It really makes sense
that musicians and programmer/analysts tend to go hand in hand.
Well, no.
Be careful if you do this, oracle and some others reuse deleted IDs if you
don't use sequences. Using cftransaction and querying for the data you just
input would be my suggestion. Actually, if you can using a sequence would
probably be best if you have access to them.
--Original
I would think you'd use a max_id scenario , where you query for the last id
number using
cfquery ...
SELET Max (id) as max_id
/cfquery
Azadi Saryev az...@sabai-dee.com 10/26/2009 3:06 PM
On 27/10/2009 03:03, Arsalan Tariq Keen wrote:
I have a form of placing purchase order. Each purchase
Since serializable is the only isolation level that is meant to eliminate
phantom reads, that means that this approach will probably only work if you
set the isolation level to serializable (and, of course, that your RDBMS
supports it). Which includes the performance implications that this
this will create a valid xml header to send along, over cfsavecontent:
!---create xml---
cfxml variable=apisend
SMS
authentification
username/username
password/password
/authentification
message
sender/sender
text/text
/message
recipients
On Fri, Oct 23, 2009 at 4:19 PM, Mark Kruger mkru...@cfwebtools.com wrote:
Rick,
That is so funny I have a BA in Theology, a BA in Music and I'm just
shy
of a master in Sociology - and here I am working in computer development :)
It's not surprising how many folks have Music as a
sorry, that didnt work
Sincerely,
Chuka I.W. Anene
Chief Software Eng./CEO
Quorium Solutions
www.quorium.org
07029609185,07032696113
From: Matt Williams mgw...@gmail.com
To: cf-talk cf-talk@houseoffusion.com
Sent: Mon, October 26, 2009 8:54:13 PM
Subject:
This may helpful:
http://fusion.dominicwatson.co.uk/2008/03/xmlsearch-and-default-namespaces.html
Dominic
2009/10/26 Ian Skinner h...@ilsweb.com
Dave Watts wrote:
I'm pretty sure you'll need to use local-name to get to this, though;
dealing with namespaces from CF isn't all that easy.
sorry, that didnt work
Maybe, you should either post the error message you got (or whatever
response you got) or post a public URL to the service you're trying to
invoke, if possible.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber
sorry, no replies from server
Sincerely,
Chuka I.W. Anene
Chief Software Eng./CEO
Quorium Solutions
www.quorium.org
07029609185,07032696113
From: Jessica Kennedy police_kidnapped_your_child...@yahoo.com
To: cf-talk cf-talk@houseoffusion.com
Sent: Mon,
i did not get any error message. it is an sms server. the reply is supposed to
be an sms to my mobile number. Nothing came to me, so i presume the code didnt
work.
Sincerely,
Chuka I.W. Anene
Chief Software Eng./CEO
Quorium Solutions
www.quorium.org
07029609185,07032696113
Or at at least that is the way I am feeling today. Consider this piece of code,
it is contained in a CFC that a user has entered in a Search Term to look up
against the database.
cfquery name=getSearch result=DB_getSearch datasource=#DSN#
SELECT TOP #APPLICATION.MaxQueryRows# f.*
FROM field
i did not get any error message. it is an sms server. the reply is supposed
to be an sms to my mobile number. Nothing came to
me, so i presume the code didnt work.
It seems to me that there are lots of other reasons why you might not
get an SMS that have nothing to do with your CF client.
Hey Brett,
The only things cfqueryparam does is pretty much escape single quotes
and bind the strings as parameters, preventing injection attacks. If
you want to replace underscores with spaces you will have to do it
manually (like you did ;)).
hth
Francois Lévesque on the road
On 2009-10-26,
As it stands it the user enters in the following text as the Search Term: _a_
the following results are returned:
cat
bat
bar
kat
Instead of what was really expected like this:
in_a_boat
can run_a_mile
if_a_bird flies
Ok I think you get the picture. It returns any three letter words
i've done all these my brother. It works using GET METHOD, but now i want to
use XML POST for it.
Sincerely,
Chuka I.W. Anene
Chief Software Eng./CEO
Quorium Solutions
www.quorium.org
07029609185,07032696113
From: Dave Watts dwa...@figleaf.com
To: cf-talk
It seems to me that there are lots of other reasons why you might not
get an SMS that have nothing to do with your CF client. Perhaps you
should try a simpler test that doesn't even involve CF, and see if
that works.
i've done all these my brother. It works using GET METHOD, but now i
i said via HTTP GET. i havent been able to send via XML post. That is why we
are having this discussion in the first place. Dont worry, the server has over
9000 clients, this means that their service works.
Sincerely,
Chuka I.W. Anene
Chief Software Eng./CEO
Quorium Solutions
www.quorium.org
Does the service output anything when you use the GET method? Try dumping
the http response from the code Jessica provided, ie.
... jessica's code ...
cfdump var=#cfhttp.filecontent# /
Dominic
2009/10/26 Anene Isioma Wealth anene.quor...@yahoo.com
i've done all these my brother. It works
GET and POST are both HTTP methods. XML is not a protocol. You can however
send xml as string data over either HTTP GET or POST.
You will need to start providing some more information if anyone is to help
you efficiently / at all; e.g. how have you successfully been using the
service using GET?
Hi All,
I am trying to pre-fill the form fields in PDF. I can successfully fill the
fields in the pdf. but when I dump the structure by using cfpdfform
action=read sourceC:/abc/abc.pdf result=resultstruct, In the structure I
can only see FirstName and the LastName elements. I also wanted to
Chuka, All the SMS services I've ever used send a response code back
when you try to send an SMS - a success code or an error code. If
you're not gettting anything back, then I'd assume you're not sending
anything - or if you are, you're not authenticating correctly on the
SMS service.
Also find out how they are expecting the POST. You can send a field
involving a name/value pair (like a name field in a form post) or you
could have the xml be the entire body of the post. If it works via
GET, then you might need to be sending the xml as the right field
name. There is no way
i said via HTTP GET. i havent been able to send via XML post. That is why we
are having this discussion in the first place. Dont
worry, the server has over 9000 clients, this means that their service works.
I think you missed my point. If you're not sure whether you're
building your POST
There is no way (that I am aware of) to send data in the body of
a get, it is all name/value pairs in the request string.
This is correct, there's no request body at all with GET.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber
I am trying to pre-fill the form fields in PDF. I can successfully fill the
fields in the pdf. but when I dump the structure by using
cfpdfform action=read sourceC:/abc/abc.pdf result=resultstruct, In
the structure I can only see FirstName and the
LastName elements. I also wanted to
ok, let me be very explicit.
I presently have a form with the following fields for clients to submit data:
1. mobile numbers (either single or bulk. ie uploading a text file.
numbers are separated by ,)
2. Sender's Name
3. SMS message
then i send with the following
Thanks alot. I will try to create a required PDF.
Ria
On Mon, Oct 26, 2009 at 7:35 PM, Dave Watts dwa...@figleaf.com wrote:
I am trying to pre-fill the form fields in PDF. I can successfully fill
the fields in the pdf. but when I dump the structure by using
cfpdfform action=read
I'm reading this on my phone, so I could be wrong about this, but it
appears to me that the PHP code you posted doesn't appear to create an
XML document.
Dave Watts, CTO, Fig Leaf Software
On 2009-10-26, Anene Isioma Wealth anene.quor...@yahoo.com wrote:
ok, let me be very explicit.
I
One of the things that tends to frustrate me about job placement ads is
that they always seem to want you to be some combination of Einstein's
level of technical expertise and Obama's speaking finesse. ;) Forget
that Obama isn't an especially technical individual and that Einstein
I have just done a fresh install of apache and cf 8.
I cannot access the cf admin.
I am trying this:
http://localhost/cfide/administrator/
I am getting a 404 error.
What am I doing wrong?
~|
Want to reach the ColdFusion
Try
http://localhost:8500/CFIDE/administrator/index.cfm
Or
http://127.0.0.1:8500/CFIDE/administrator/index.cfm
On Mon, Oct 26, 2009 at 9:30 PM, Matthew Smith chedders...@gmail.comwrote:
I have just done a fresh install of apache and cf 8.
I cannot access the cf admin.
I am trying this:
I need someone to develop a coldfusion script that will communicate to a
server/service using XML POST.
Sorry if it's a silly question, but can you just do post's to their server
in a loop?
-Ramon Ecung II, BS, ACHDS, MCP
~|
Sorry, I copy pasted the wrong line (the emai didnt send from my phone)...
It actually looks like that PHP code just creates a curl (http post) message
to their server.
Sorry if it's a silly question, but can you just do post's to their server
in a loop?
-Ramon Ecung II, BS, ACHDS, MCP
http://news.bbc.co.uk/2/hi/health/2988647.stm
Highlight: He was also a notoriously confusing lecturer.
Does not say to me pretty good at communicating with people, but of
course, you can interpret it how you like.
I think that you're reading way too much into a single pullquote.
Perhaps
Getting this on a query.
Parameters:
nextthursday = {ts '2009-10-29 00:00:00'}
lastthursday = 2009-10-22 00:00:00.000
cffunction access=public name=qry_contestthisweek_get output=false
returntype=query
cfargument name=lastthursday type=string default=
cfset nextthursday =
wrap dateformat() around the dateadd() function.
tw
Sent from my iPhone... don't hate
On Oct 27, 2009, at 12:02 AM, Matthew Smith chedders...@gmail.com
wrote:
Getting this on a query.
Parameters:
nextthursday = {ts '2009-10-29 00:00:00'}
lastthursday = 2009-10-22 00:00:00.000
wrap dateformat() around the dateadd() function.
tw
Sent from my iPhone... don't hate
On Oct 27, 2009, at 12:02 AM, Matthew Smith chedders...@gmail.com
wrote:
Still the same:
cffunction access=public name=qry_contestthisweek_get output=false
returntype=query
cfargument
From what I can see, the last thing posted on the CFCUnit website is dated
2006. Is CFCUnit still a going concern? What Unit-Testing Frameworks are
people using in the CF community?
Judith
~|
Want to reach the ColdFusion
Yes, CFCUnit has not been update for some time.
CFer's have moved to unit testing frameworks such as MXUnit (
http://www.mxunit.org/) for back end testing and have started to use cfSpec
(http://github.com/adelphus/cfspec/) for behavioral front end testing. I'm
sure there are others out there,
there is also RocketUnit: A Simple Unit Testing Framework for ColdFusion
http://www.rocketboots.com/blog/index.cfm?mode=entryentry=E565633C-E081-51EF-A7F883614F752942
2009/10/27 Patrick Santora patwe...@gmail.com
Yes, CFCUnit has not been update for some time.
CFer's have moved to unit
MXUnit pretty much superceded CFCUnit. CFCUnit is still viable, of
course, but MXUnit is certainly seeing a lot more activity, and is
pretty much the de facto standard for unit testing of CF apps.
cheers,
barneyb
On Mon, Oct 26, 2009 at 9:15 PM, Judith Dinowitz
jdino...@houseoffusion.com
http://news.bbc.co.uk/2/hi/health/2988647.stm
Highlight: He was also a notoriously confusing lecturer.
Does not say to me pretty good at communicating with people, but of
course, you can interpret it how you like.
I think that you're reading way too much into a single pullquote.
80 matches
Mail list logo