lto:br...@electricedgesystems.com]
> Sent: Saturday, 2 July 2011 4:19 AM
> To: cf-talk
> Subject: RE: Stupid Question
>
>
> can't anyone on this list take a joke ;-)
>
> Thanks for being perfect Andrew ;-)
>
> Cheers
>
On Thu, Jun 30, 2011 at 8:28 PM, Andrew Scott wrote:
> Yes but the code should be written
>
>
>
>
Shouldn't that be:
query*() functions take a query variable, not a string.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://wor
; Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
>
> > -Original Message-
> > From: Bryan Stevenson [mailto:br...@electricedgesystems.com]
> > Sent: Friday, 1 July 2011 7:48 AM
> > To: cf-talk
> > Subject: Re: Stupid Question
>
:.:.:.:.:.:.:.:.
> > Bobby Hartsfield
> > http://acoderslife.com
> > http://cf4em.com
> >
> >
> >
> > -Original Message-
> > From: Stephane Vantroyen [mailto:s...@emakina.com]
> > Sent: Thursday, June 30, 2011 2:56 PM
> > To: cf-tal
artsfield wrote:
>
> Yes, performance.
>
>
> .:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
> http://cf4em.com
>
>
>
> -Original Message-
> From: Stephane Vantroyen [mailto:s...@emakina.com]
> Sent: Thursday, June 30, 2011
> To: cf-talk
> Subject: Re: Stupid Question
>
>
> Well there is a slight nuance there.you can use CFET to set the value
of a
> column in a specific row of a querybut it's sort of cheating because
you do
> it using functionsyou can't set
to:rob...@austin-williams.com]
> Sent: Friday, 1 July 2011 5:57 AM
> To: cf-talk
> Subject: RE: Stupid Question
>
>
> > Out of curiosity, what condition was your cfparam trying to prevent?
>
> The URL structure works like this:
>
> http://blah-blad.com/ser
> Yes I was ;-)
Fortunately some of us have a good filter for screening that stuff out ;)
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
h
every needs a good tool :-)
On Thu, Jun 30, 2011 at 11:04 PM, Bryan Stevenson <
br...@electricedgesystems.com> wrote:
>
> Yes I was ;-)
>
> ...and don't forget to read my whole posthere's the piece you
> missed...
>
> > but it's sort of
>
> > > cheating because you do it using functions.
Yes I was ;-)
...and don't forget to read my whole posthere's the piece you
missed...
> but it's sort of
> > cheating because you do it using functionsyou can't set it directly
> > as was shown in this thread.
So I already stated I was being a toolI try and do that so others d
That is just being Pedantic Bryan :-)
clearly it was meant you cannot do
On Thu, Jun 30, 2011 at 10:48 PM, Bryan Stevenson <
br...@electricedgesystems.com> wrote:
>
> Well there is a slight nuance there.you can use CFET to set the
> value of a column in a specific row of a querybut i
> Well there is a slight nuance there.
Yep. I am aware of that option .. but could not see your code from here ;)
Mystery solved. (Thanks for taking the time to satisfy my curiosity :)
-Leigh
~|
Order the Adobe Coldfusio
Well there is a slight nuance there.you can use CFET to set the
value of a column in a specific row of a querybut it's sort of
cheating because you do it using functionsyou can't set it directly
as was shown in this thread.
There I set the value of a column in a query to blah bla
ined() will search every single scope for a var
> with
> the name you you specify, StructKeyExists() will only look in the specified
> struct.
>
>
> On Thu, Jun 30, 2011 at 7:55 PM, Stephane Vantroyen
> wrote:
>
> >
> > Maybe a stupid question too, but why is it bette
that is probably the cause of your problem them, you cannot use cfset or
cfparam to set a value in a query.
On Thu, Jun 30, 2011 at 8:38 PM, Leigh wrote:
>
> > capability_detail is a query.
> > It returns one and only one record...
>
> Out of curiosity, what condition was your cfparam trying to
As I said earlier, IsDefined() will search every single scope for a var with
the name you you specify, StructKeyExists() will only look in the specified
struct.
On Thu, Jun 30, 2011 at 7:55 PM, Stephane Vantroyen wrote:
>
> Maybe a stupid question too, but why is it better
Yes, performance.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Stephane Vantroyen [mailto:s...@emakina.com]
Sent: Thursday, June 30, 2011 2:56 PM
To: cf-talk
Subject: Re: Stupid Question
Maybe a stupid question too
> The cfparam tag was trying to set default values (like
> zero) for columns that may not always be returned from the
> query. That did not work, but the IsDefined did work.
So what code did you end up using to "set this default"? I ask because nothing
I am envisioning works under CF9. No error
//www.austin-williams.com/unplugged
-Original Message-
From: Leigh [mailto:cfsearch...@yahoo.com]
Sent: Thursday, June 30, 2011 3:38 PM
To: cf-talk
Subject: RE: Stupid Question
> capability_detail is a query.
> It returns one and only one record...
Out of curiosity, what condition was y
> capability_detail is a query.
> It returns one and only one record...
Out of curiosity, what condition was your cfparam trying to prevent?
1) query contained 0 records
2) query did _not_ contain the column "capability_id"
..
?
~~
To answer the question, capability_detail is a query. It returns one and only
one record... so I personally see no reason to avoid IsDefined in this case.
And thanks for the correction on my syntax error. That was helpful and the
code is working now. When I'm heavily focused on the logic I
Maybe a stupid question too, but why is it better to use structkeyexists() than
isdefined() ? Both will check if the given variable exists right? I don't get
it, is it bound to performance or so?
>I thought of that, but then wasn't sure how that would behave
>if capability_de
> And you should avoid using isDefined().
>
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
> > -Original Message-
> > From: Dan Baughman [mailto:dan.baugh...@gmail.com]
> > Sent: Friday, 1 July 2011 4:05 AM
> > To: cf
> Actually without getting into a flame war
I wanted to find out what type of object "capability_detail" is first .. and
tackle the isDefined / structKeyExists debate later ;)
~|
Order the Adobe Coldfusion Anthology now!
http:
But if you include the scope in the call then you would be fine right?
I SCOPE EVERYTHING!!!
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Thursday, June 30, 2011 2:18 PM
To: cf-talk
Subject: Re: Stupid Question
and the reason being that IsDefined() will
Why avoid isDefined()?
-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au]
Sent: Thursday, June 30, 2011 2:12 PM
To: cf-talk
Subject: RE: Stupid Question
Actually without getting into a flame war with Dave and others, it should be
better to use
And you should
;
>
> And you should avoid using isDefined().
>
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
> > -Original Message-
> > From: Dan Baughman [mailto:dan.baugh...@gmail.com]
> > Sent: Friday, 1 July 2011 4:05 AM
> > To: cf-talk
y, 1 July 2011 4:05 AM
> To: cf-talk
> Subject: Re: Stupid Question
>
>
> You would ask it like this:
>
>
>
> On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison < robert@austin-
> williams.com> wrote:
>
> >
> > Just asking the question i
> > Just asking the question is bad... the line
> > IsDefined(capability_detail.capability_id)>
> >
> > Gives me the error
Because you forgot the quotes around the variable name. But as a few people
have asked what is the value of "capability_detail" _not_
capability_detail.capability_i
You would ask it like this:
On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison <
rob...@austin-williams.com> wrote:
>
> Just asking the question is bad... the line
>
>
>
> Gives me the error
>Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL.
>
>
> Robert B. Harrison
> Dir
what is CAPABILITY_DETAIL at the point the error occurs
a struct, a query, etc ?
On Thu, Jun 30, 2011 at 6:58 PM, Robert Harrison wrote:
>
> Just asking the question is bad... the line
>
>
>
> Gives me the error
>Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL.
>
>
> Ro
Just asking the question is bad... the line
Gives me the error
Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL.
Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631
>>It is assigned to a function that returns a query.
Oh, I think you cannot assign a value to a column name in a query, neither with
CFSET, neither with CFPARAM. You must use querySetCell ()
~|
Order the Adobe Coldfusion Antho
> Sometime the query get that value and sometimes it doesn't...
Do you mean "column"? Query objects are not the same as structures. I do not
think you can just create a column that way. ie This fails
~|
Order the Adobe Co
It may depend on the code between the two lines
For instance, this works:
capability_detail.capability_id =
#capability_detail.capability_id#
But this causes the error:
capability_detail.capability_id =
#capability_detail.capability_id#
Your code may have redefined capability_detail to
williams.com/unplugged
-Original Message-
From: Dan Baughman [mailto:dan.baugh...@gmail.com]
Sent: Thursday, June 30, 2011 1:42 PM
To: cf-talk
Subject: Re: Stupid Question
I've seen stuff like this happen if capability_detail.capability_id had been
assigned to a function that didnt retur
well first you don't need the #'s in the cfset
second cfparam may be creating a variable instead of a struct, this happens
in certain situations with older versions of CF.
so try this
On Thu, Jun 30, 2011 at 6:37 PM, Robert Harrison wrote:
>
> If I have these two lines of code:
>
>
When the error occurs, is #capability_detail# defined?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups
I've seen stuff like this happen if capability_detail.capability_id had been
assigned to a function that didnt return a value.
For some reason its defined but in some null state.
On Thu, Jun 30, 2011 at 11:37 AM, Robert Harrison <
rob...@austin-williams.com> wrote:
>
> If I have these two lines
If I have these two lines of code:
How should I ever get this message on the second line:
Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL
WHAT?
Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 1
On 4/25/05, Al Everett <[EMAIL PROTECTED]> wrote:
> The thing that helped me understand structures more than anything else
> was the good old CFDUMP tag. When I could "see" the structure it all
> made sense.
>
The only thing to keep in mind if you're going to rely on CFDUMP to
"learn" structures
The thing that helped me understand structures more than anything else
was the good old CFDUMP tag. When I could "see" the structure it all
made sense.
On 4/24/05, Thane Sherrington <[EMAIL PROTECTED]> wrote:
> At 12:57 PM 24/04/2005, Sean Corfield wrote:
>
> >If you're just getting your head aro
>At 12:57 PM 24/04/2005, Sean Corfield wrote:
>
>>If you're just getting your head around this stuff, I strongly suggest
>>you buy Jeff Peters' book: "ColdFusion Lists, Arrays & Structures":
>>
Excellent advice. Jeff Peters' book is a great read. Real world examples, etc..
Will
~~~
> -Original Message-
> From: Thane Sherrington [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 24, 2005 11:21 AM
> To: CF-Talk
> Subject: Structures (probably a stupid question)
>
> I'm trying to understand structures - I understand that they are like the
> fo
cture.
Eg.
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 24, 2005 11:21 AM
To: CF-Talk
Subject: Structures (probably a stupid question)
I'm trying to understand structures - I understand that they are like the
form scope in that I can
At 12:57 PM 24/04/2005, Sean Corfield wrote:
>If you're just getting your head around this stuff, I strongly suggest
>you buy Jeff Peters' book: "ColdFusion Lists, Arrays & Structures":
>
>http://www.protonarts.com/index.cfm?fuseaction=Books.showBookDetails&ISBN=0975264702
Thanks for the suggesti
At 12:57 PM 24/04/2005, Adrian Lynch wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>That'll get you an array of structures. One thing to note, unlike this...
Thanks for this - it's much clearer now. Now I can give it a shot in my app.
T
---
[This E-mail scanned for viruses by Declude Anti-Virus]
~~
On 4/24/05, Thane Sherrington <[EMAIL PROTECTED]> wrote:
> I'm trying to understand structures - I understand that they are like the
> form scope in that I can access them as myStruct.myVar, but is there a way
> to create an array of structures?
myArray = arrayNew(1)
myArray[1] = structNew()
myArr
error. Hence the need for...
myArrayOfStructs[1] = StructNew()
before using that index as a structure.
Ade
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: 24 April 2005 16:21
To: CF-Talk
Subject: Structures (probably a stupid question)
I'm trying to unders
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them as myStruct.myVar, but is there a way
to create an array of structures? I'm thinking it would be nice to create
a structure like:
myStruct.FName
myStruct.LName
myStruct.EMail
And the
Try
aryNews.headline
-Original Message-
From: Jeff Small [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 22, 2004 10:18 AM
To: CF-Talk
Subject: Okay, stupid question time...
myObject.getNews().headline
Naturally...only one displays, even though the query returns three...totally
From: "Pascal Peters" <[EMAIL PROTECTED]>
>
> http://www.ruwebby.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188548
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.co
Jeff Small wrote:
>
>
> myObject.getNews().headline
>
> Naturally...only one displays, even though the query returns three...totally
> cool so far...
>
> Now, I want to loop over the Query object that getNews() returns...
>
> so...um
>
> myObject.getNews().headline
#headline
--
Keith
-Original Message-
> From: Jeff Small [mailto:[EMAIL PROTECTED]
> Sent: 22 December 2004 17:18
> To: CF-Talk
> Subject: Okay, stupid question time...
>
>
>
> myObject.getNews().headline
>
> Naturally...only one displays, even though the query returns
&
Hey Jeff,
It'll work like any query created in your page with CFQuery...ie, if
getNews() returns a query...
-joe
On Wed, 22 Dec 2004 11:18:26 -0500, Jeff Small <[EMAIL PROTECTED]> wrote:
>
>
> myObject.getNews().headline
>
> Naturally...only one displays, even though the query return
myObject.getNews().headline
Naturally...only one displays, even though the query returns three...totally
cool so far...
Now, I want to loop over the Query object that getNews() returns...
so...um
myObject.getNews().headline
occasionally a disconnect in Code View.
- Calvin
- Original Message -
From: "Mike Kear" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, September 16, 2003 5:53 PM
Subject: RE: stupid question (DWMX)
> That functionality is there i
I've known about that too. But it's no where near as easy or intuitive as
simply ctrl clicking where you are currently looking. At least to me.
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 2:54 PM
To: CF-Talk
Subject: RE: stupi
osing tags.
Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.
-Original Message-
From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 September 2003 6:56 AM
To: CF-Talk
Subject: Re: stupid question (DWMX)
> Speaking of stupid DWMX tricks. In stu
> Speaking of stupid DWMX tricks. In studio ctrl click (I think that's what
it
> was) selected an entire tag pair. I know in DW I have the little list at
the
> bottom but is there anything like ctrl click?
No, it's not there, please cast your vote:
http://www.macromedia.com/support/email/wishform
er 16, 2003 1:44 PM
> To: CF-Talk
> Subject: RE: stupid question (DWMX)
>
>
> Speaking of stupid DWMX tricks. In studio ctrl click (I think
> that's what it
> was) selected an entire tag pair. I know in DW I have the little
> list at the
> bottom but is there
er 16, 2003 1:11 PM
To: CF-Talk
Subject: RE: stupid question (DWMX)
kinda retarded and such basic functionality that we love in hs+ and
cfstudio.
tony weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
www.navtrak.net
office 410.548.2337
fax 410.860.2337
-Original Me
, September 16, 2003 4:12 PM
To: CF-Talk
Subject: RE: stupid question (DWMX)
Doesn't do it in code view for me either. Have to open the wizard to get
that. Dunno why
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 12:52 PM
To: CF-Talk
Subjec
Doesn't do it in code view for me either. Have to open the wizard to get
that. Dunno why
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 12:52 PM
To: CF-Talk
Subject: RE: stupid question (DWMX)
not in code view?
tony weeg
sr
not in code view?
tony weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
www.navtrak.net
office 410.548.2337
fax 410.860.2337
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 3:53 PM
To: CF-Talk
Subject: RE: stupid
> hey why hasn't macromedia made it so that when you drag
> an image from the left directory tree to the workspace
> it fills in the h/w of the image tag?
>
> just another shortcomingdoesnt make sense?
It works fine for me, in design view. I do that all the time.
Dave Watts, CTO, Fig Leaf S
hey why hasn't macromedia made it so that
when you drag an image from the left directory tree to the workspace
it fills in the h/w of the image tag?
just another shortcomingdoesnt make sense?
tony weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
www.navtrak.net
office 410.5
post
inputs. Thanks for not flaming me for this. Gee, I love this list.
John
-Original Message-
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 1:40 PM
To: CF-Talk
Subject: Re: Sessions - Maybe a stupid question?
At 01:16 PM 01/28/2002 -0500, you wrote:
At 01:16 PM 01/28/2002 -0500, you wrote:
>I am setting up a portal with another server where that server submits an
>HTTP POST request to my application, I do a bunch of queries and send the
>results back in an XML output.
>
>My question is:
>If multiple users on the other end submit requests to m
I am setting up a portal with another server where that server submits an
HTTP POST request to my application, I do a bunch of queries and send the
results back in an XML output.
My question is:
If multiple users on the other end submit requests to my server and a
request hits my server before th
regarding your tag line (sorry, couldn't resist)
http://www.snopes2.com/cokelore/tadpole.htm
> -Original Message-
> From: John Wilker [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 03, 2001 11:26 PM
> To: CF-Talk
> Subject: RE: Documentation (Was: Stupid Quest
riginal Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 2:07 PM
To: CF-Talk
Subject: Re: Documentation (Was: Stupid Question? - Commenting Code That
Does Not Show in Browser)
There is something similar to this that the Fusebox folks use. It works
pretty well
t; <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 7:25 PM
Subject: RE: Documentation (Was: Stupid Question? - Commenting Code That
Does Not Show in Browser)
|
| I use something similar to that on steroids:
|
|
|
|Yes, sometimes it c
being stuffed into SHIP.TXT file
>-->
>
> ^
> / \__
>(@\___
> / O
> /(_/
>/_/
>Whoof...
>410-757-3487
>
>-Original Message-
>From: Steven A. del Sol [SMTP:[EMAIL PROTECTED]]
>Sent: Tuesda
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 5:26 PM
To: CF-Talk
Subject: RE: Stupid Question? - Commenting Code That Does Not Show in
Brow ser
I'd recommend against using this path...
I'm reminded of something someone once said to me: A stupid idea t
EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 2:52 PM
To: CF-Talk
Subject: Re: Stupid Question? - Commenting Code That Does Not Show in Browser
If you are using CF just put in three dashes instead of two...
At 12:34 PM 4/3/2001 -0600, you wrote:
>I want to place comments in the code
heh, I beat u to that already
-Original Message-
From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 2:11 PM
To: CF-Talk
Subject: RE: Stupid Question? - Commenting Code That Does Not Show in
Brow ser
whoever asked this question or is interested in a useful
ont be able to view the comment.
>slick, eh? send me money!
>
>
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, April 03, 2001 1:35 PM
>To: CF-Talk
>Subject: Stupid Question? - Commenting Code That Does Not Show in
>Browser
&
(HTML comment, two dashes)
(ColdFusion comment, three dashes)
I have no idea if this is documented anywhere, but I imagine it must
be. I figured it out accidently.
At 12:34 PM 04/03/2001 -0600, you wrote:
>I want to place comments in the code for the other developers. However I do
>not
-Talk
Subject: RE: Stupid Question? - Commenting Code That Does Not Show in
Brow ser
this is what i would do.
u will have to work a login page (u decide how to verify it). all this
login page will do is set a session or application variable to true, or some
value. then in your actual code, i
-Talk
Subject: RE: Stupid Question? - Commenting Code That Does Not Show in
Browser
Cold Fusion comments (ones that have three hyphens, ) don't show
in the browser because the CF server does not send them through to the web
server. Regular HTML comments (ones that have only two hyphens, )
d
At 12:34 PM 4/3/01 -0600, [EMAIL PROTECTED] wrote:
>I want to place comments in the code for the other developers. However I do
>not want the comments to show up in the browser with "view source." Am I
>totally overlooking something?
Yep. use three hypens in your comments:
instead of two
ColdFusion has its own commenting notation that is removed before
the HTML is sent back to the user.
--
Larry W. Virden mailto:[EMAIL PROTECTED]>
http://www.purl.org/net/lvirden/>
Even if explicitly stated to the contrary, nothing in this
posting
should be construed as representing my employer
, they wont be able to view the comment.
slick, eh? send me money!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 1:35 PM
To: CF-Talk
Subject: Stupid Question? - Commenting Code That Does Not Show in
Browser
I want to place comments
are you using or use 3 dashes the other is to
comment
out HTML code that you WANT people to see in the source. 3 dashes HIDES it.
> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 03, 2001 2:35 PM
> To: CF-Talk
> Subje
If you are using CF just put in three dashes instead of two...
At 12:34 PM 4/3/2001 -0600, you wrote:
>I want to place comments in the code for the other developers. However I do
>not want the comments to show up in the browser with "view source." Am I
>totally overlooking something?
>
>Thank
Marx
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 2:35 PM
To: CF-Talk
Subject: Stupid Question? - Commenting Code That Does Not Show in
Browser
I want to place comments in the code for the other developers. However I do
not want t
Comments will only show in the 'View Source' when you prefix
the information with two hyphens.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 2:35 PM
To: CF-Talk
Subject: Stupid Question? - Commenting Code That Does N
<[EMAIL PROTECTED]> wrote:
I want to place comments in the code for the other developers. However I do
not want the comments to show up in the browser with "view source." Am I
totally overlooking something?
Thanks,
Jeff
~~
Structure your ColdFu
L PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 03, 2001 2:35 PM
> To: CF-Talk
> Subject: Stupid Question? - Commenting Code That Does Not Show in
> Browser
>
>
> I want to place comments in the code for the other developers.
> However I do
> not want the c
I want to place comments in the code for the other developers. However I do
not want the comments to show up in the browser with "view source." Am I
totally overlooking something?
Thanks,
Jeff
~~
Structure your ColdFusion code with Fusebox. Get t
k" <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 9:43 AM
Subject: Re: Stupid Question - Regular Expressions?
> > CF does support regular expressions.
> > Forta refers to them in a brief chapter in
> > the Advanced 4.0 book (the green one).
>
> The one I
> CF does support regular expressions.
> Forta refers to them in a brief chapter in
> the Advanced 4.0 book (the green one).
The one I left at home today... ;-)
> For instance, inside a cfscript block:
>
> thisContent =
> "#REReplaceNoCase(thisContent,"]*> ","","ALL")#";
> thisContent = "#RERe
http://ad.doubleclick.net[^>]*>[^<]*<[^/]*/[^a]*a[^>]*>)","","ALL")>
Like I said, its an ugly example. :)
Fred
- Original Message -
From: "Bryan Rieger" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTE
gt;]*>","","ALL")#";
thisContent= "#REReplaceNoCase(thisContent,"#CHR(13)#","","ALL")#";
thisContent= "#REReplaceNoCase(thisContent,"#CHR(10)#","","ALL")#";
Eben Hewitt
Hello,
This may well qualify for the dumbest question of all time.
But here, goes. Does CF support regular expressions?
I can't seem to find any mention of them within Ben's book or on the Allaire
support site?
Cheersm
Bryan Rieger
Lead Developer, r&d projects
Trapeze Media
http://www.trapeze.
Reuben King
cc:
Sub
If I try to use val("$23.12"), it returns 0. Other than doing a check
for the first character being a dollar sign, is there an easier way to
do this?
Thanks,
-RK
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsu
98 matches
Mail list logo