Hi,
How do I stop CF from processing a block of code selectively and display the
cfml tags as it is?
The reason being I want to write certain tags to .cfm file based on certain
conditions...
Something like this
cfsavecontent variable=content
cfloop collection=#form# item=ddd
==
I
Hi There,
I am not sure if this is the right place to put forward this quesiton, if iam
in the wrong place please excuse me and can you let me know the right url
please.
I dont have any problems in creating an instance of the webservice using
realbasic, but when ever i try to call the
Hi,
I am creating a CMS using mx 7.
When ever a user creates a page i want to store all the info, like the
directory name, page name,content in the database and i dont want to create
directories,.cfm file physically.
How do i hijack the http request so that it displays the .cfm page even
Hi,
Can anyone help me, I am using grouped cfoutputs to display category and
product information,which i can do no problem in one column. I have also
somewhere else in the site used 3 column output using the cfif tag.
How do I comine the two, i.e I want;
Column 1Column 2
Thanks for replying.Anything in specific?I am very rusty at this.
_
From: Calder, Erick [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 12:20 PM
To: CF-Talk
Subject: RE: Dumb Client Variable Question
I want the BARNo to pass from page to page
look into the session scope
Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only for the document name, not
the complete path and filename, so
document.forms[0].fileupload.value will
not work.
just trying to find a script to determine the
length of file
welcome. :)
much appreciated!!
_
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:45 AM
To: CF-Talk
Subject: Re: file upload validation
Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only
This kid was born in 1979, what would you expect?
No his friend was born in 79 - he was born in 85.
s. isaac dealey954.927.5117
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477DE=1
[Todays
Assuming they're both running the same version of CF I'd reinstall the one that's
having the problem... If you're running CFMX and haven't upgraded to 6.1 (Red Sky)
yet, I'd definately try that first. ... unfortunately I don't have any suggestions to
get around having to wait a month to see if
Check out the deltree.cfm custom tag in the onTap framework:
http://www.turnkey.to/ontap/docs/index.cfm?netaction=customtags/corehash=deltree.cfm
Shouldn't be too difficult to put that same code in a CFC method.
hth
ike
-- Original Message --
From: Vernaillen Tim [EMAIL PROTECTED]
theoretically you could use cfhttp to get the content of the page for the iframe and
store that content locally instead of using the partner's page from their server in
the iframe. As long as it's only a handfull of pages a daily scheduled routine could
return the content for the pages and in
that's not normal behavior for reserved words afaik wherein you'd get an error trying
to set it that says something like coldfusion boooooo12123455433211
for internal use only do not use this in your code ... that's sort of paraphrased...
anyway... it depends where you're
mytextfile = rereplacenocase(mytextfile,[#chr(13)##chr(10)#]{1,2}([01]),|\1,ALL);
mytextfile = rereplacenocase(mytextfile,[#chr(13)##chr(10)#]{1,2}(),*\1,ALL);
hth
ike
-- Original Message --
From: David DiPietro [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sep 04, 2003 12:50
check the length of your variables rid, customeridnumber and session.crtcalid against
the character lenghth of those columns. What the error is telling you is that the
value you're attempting to insert into a char or varchar field is longer than the
column allows.
hth
ike
-- Original
for the dbtype attribute for instance, every value other than query has been
deprecated... so in cfmx, it's proper to use dbtype=query but improper to use
dbtype=anything but query ... the other attributes listed have been deprecated in
their entirety... somehow I thought the sql attribute had
I think this is in the archives... but ...
rereplacenocase(mystring,.*^cfinclude[[:space:]]+template=([^]*).*$,\1)
something like that anyway...
ike
-- Original Message --
From: Mark A. Kruger - CFG [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sep 04, 2003 12:55 PM
outside of using distinct in the oracle query just this:
cfquery name=distinct dbtype=query
select distinct answer from myotherquery
where parent_answer = '#myparentanswer#'
/cfquery
hth
isaac
-- Original Message --
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sep 02,
That's what cfparam is for, isn't it?
-Original Message-
From: Rich Z [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 3:54 PM
To: CF-Talk
Subject: Efficient way to handle undefined variables
What is the best/most efficient way to handle a scenario where you're
populating
feed just an XML document?
What's the idea, just read it into a variable then output it? I'm seeing
these rss feeds springing up all over the place, and I wanted to jump into
it and play around, but all I seemed to be able to dig up was consuming them
in FlashMX, not much info on using them
Yea, I'd either use cfparam ... or sometimes it can be easier to use
structappend(struct,struct2,false) for this...
isaac
-- Original Message --
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sep 02, 2003 08:06 PM
Subject: RE: Efficient way to handle undefined variables
Hey mark,
Show us the code where you're storing the variable and then again where you're trying
to use / display the variable later where you're getting the error. There's probably a
way to prevent it becoming a complex data type by altering the syntax where it's
stored, but I need to see the
You might want to check into integrating with mapquest or the like... iirc mapquest
(if not yahoo or msn maps) have tools (web services?) to integrating their maps into
your site, so all you have to do is send them the address(es) you want identified on
the map.
hth
ike
-- Original
It has been for me... I replaced all my references to cgi.path_info to cgi.script_name
and that fixed me... that's about the extent of what I know about it.
-- Original Message --
From: Frost, Michael [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Aug 29, 2003 11:15 AM
Subject:
Yea, I realized after I sent the last message that my description of how to implement
it was a little off -- really you should create a wrapper function for getRelative
that returns the path argument relative to the absolute path containing your tags or
cfc's or whatever... Incidentally I'm not
That's working almost properly... I don't know how versions of cf-unix work with
regard to templates stored in different root directories, i.e. /home/blah/blah vs.
/spaw-cf/blah/blah ... but what the tag does is attempt to get a relative path from
the current template directory to the target
Another alternative to switching hosting providers:
http://www.cflib.org/udf.cfm?ID=837
All you'd need to do is replace instances of template=#map#/blah.cfm with
template=#getRelative('blah.cfm')# and I can help you write a multi-file regular
expression to do that if you like. Let me know if
Well... similar...
cf_layout
cf_sometag
/cf_layout
use cfassociate (I'm sorry, the documentation for cfassociate is all ass, but I can
help you with it if you like), to expose data from cf_sometag to cf_layout then in the
closing tag for cf_layout (cfif thistag.executionmode is end) where
update to cfmx 6.1 ... it's free, and a lot of fixes...
create a new website in IIS pointing to the same directory, test the new site -- if it
works, drop the old site and put the ip address and header info in the new site.
hth
Isaac
-- Original Message --
From: DeMarco, Alex
It'd be tough to be Access on steroids without views. :P Or I think subqueries... not
sure if Access has anything like stored procedures -- pretty certain it doesn't have
anything like triggers. My take is that MySQL is just a free database, so, although
some free things are pretty good, it
Use the class in the table data cell if possible. The span is just an extra widget
without any purpose of it's own (in this case), and the span tag can't receive certain
css attributes, such as iirc borders.
Isaac
-- Original Message --
From: Bosky, Dave [EMAIL PROTECTED]
To:
I'm not sure if it's still the case (I doubt it) but with some versions of CF Server
prior to MX there were issues with uploading large numbers of large files as a result
of the use of a 3rd party memory management API which never released memory once
acquired. Or so I had heard. I'm not sure
Make certain the hosting provider gives you access to directories outside of your web
root. Store the members only files in those directories and deliver them to members
using cfontent
hth
Isaac
-- Original Message --
From: Griffin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Versions of netscape prior to 6 (I think) really don't like much in the way of style
on input elements. afaik 6-7 handles them pretty well, but they're really rough for
anyone on 4.7 ... I don't remember the specific history for IE although my general
impression is that it's had better support
the data back out afterward, you can then display the proper date format for the
RSS field using dateformat() and timeformat(). I was struggling a bit with this myself
just the other day and posted some relevant(?) info on my blog at:
http://www.turnkey.to/ontap/docs/blog.cfm?netaction=viewblogdate
May not be a great solution, but, a possible workaround. Add a frameset to the add to
cart action page that hits a similar cfm document (if not the same one) using the ssl
domain. Do the same for delete or update cart actions. This way the data will always
exist in session on both domains
line variables through the scheduler, as the only
option is CFHTTP...
So.. any help or pointing to more info is extremely appreciated...
AND ALSO I've heard (even today on this list) that CF 5 doesn't handle
Scheduled events too well - THOUGHTS? COMMENTS
Personally I'd really like to see some comparisons also of the onTap framework along
side comparable applications in FB3, FB4 and Mach-II ... Although some of the reasons
behind onTap are similar (having a recognizable pattern for code reuse) I think it's
fairly obvious that I had some
I've never seen the cf-server cache pages like that (showing the cached page even
after deletion) -- could be browser possibly or the other thing that always turns out
to be the case for me when this happens is that I'm editing the code in the wrong
directory or on the wrong server.
Isaac
Errr... I didn't think CFC's were supposed to inherit UDF's... except from other
CFC's...
You can however attach the existing UDF to the CFC like this afaik:
cfset this.methodname = evaluate(udfname)
Although you may need to store the UDF in another scope first, so more like:
cffunction
When you insert your dates into the query, convert them to odbcdate time values first
by stripping the day of week and the time zone like this (if you need the time zone,
put it in a separate column):
Or cfset foo = this.b() if you really feel like scoping it. :)
-- Original Message --
From: Raymond Camden [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Aug 20, 2003 02:39 PM
Subject: RE: .cfc's and application.cfm file
Are you asking if one method in a cfc can call another?
complicated, really undocumented, really broken and
really not well maintained rss info I've found), I'd be greatly appreciative.
Thanks,
Isaac
~|
Archives: http
cf_mytag queryname=#get_users#
Looks like you need to put # around the variable that you are passing to the
tag
otherwise the tag will see it as a text string.
- Original Message -
From: John Stanley [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 7:28 AM
What you have to do is wrap your content with
cfsavecontent variable=foo
HTML content here
/cfsavecontent
then write the html doc using cffile
ie:cffile action=WRITE file=#YOUR PATH#\#html_doc#.html output=#foo#
addnewline=No
- Original Message -
From: Dick Applebaum [EMAIL
I think the point was that he's not willing to or interrested in earning money at the
expense of his principals, and so while he invests with the hope of earning money,
he's not willing to invest in companies which he sees compromising those principals.
How far are you willing to go to earn
Original Message ---
You can sit here and complain that MS is the bad guy, but they are not
the company you have put your faith in. I know I have the unpopular view
on this list as anti-MM, but I can tell you that if MS owned Flash, you
wouldn't have to worry about it being
I don't remember the exact reasoning (something to do with the value of bonds and the
rates they mature at being tied to the economy), but I do remember hearing on public
radio ( Fresh Air I think ) that the leap a lot of people have been making to Bonds
may actually be a bad thing. Iirc what
created an errFormat() function for my own project(s) which checks for the existance
of elements in the tagcontext array (it's empty if you leave trace off in the admin)
and if they exist, adds the info from the last element in the array to the error
message and detail info -- in most cases I'm
Just put together a thumb nail routine.
cfx_image action=IML
file=#request.app.site_root#photo_lib\thumb\#file.ServerFile#
commands=
setimage tmp=#variables.thumb_width#,#variables.height#
useimage tmp
bfrect
0,#variables.height#,#variables.thumb_width#,#variables.height#,ff
rect
Hi Joe,
The reason for using the duplicate() function to copy data between the request and
application scopes is that creating a pointer to an application scope query in the
request scope, i.e.
cflock scope=application ...
cset request.myquery = application.myquery
/cflock
defeats the
Yea, I knew it was an insane stretch. :)
Isaac
www.turnkey.to
954-776-0046
Original Message ---
See those three periods? ...? I took those out. Saved the file and
the script ran fine...
HTF can three periods restart my cf server?
Hi Tony,
I realize this is an
Hi.
I am running NT4 SP6a, apache 1.3.22 and cold fusion express. The
installation of cold fusion express did not place a module in my
D:\Program Files\nusphere\apache\modules directory and my D:\Program
Files\nusphere\apache\conf\httpd.conf file was not modified by the
Cold Fusion Express
for the store. We have about 300
products in 15 different categories. I set up some code to grab our product
categories and write the files to a directory. This file generator code is
also the basic code to write all 300 of our product info files.
My question is this.
When I run this code, it works
53 matches
Mail list logo