Hi Adam
Its the end of a workshop registration form where multiple participants can be
registered.
For each participant a series of emails are generated to both the participant
and
the workshop host, and the participant information is entered into a data bases.
The page is then paused for a c
You know CFML has had the sleep() function (which does what your code does)
built-in since CF8, right?
Your issue is probaby that "thread" is a keyword in CF9+.
Replace your code with:
sleep(4000);
Wanting the page to pause whilst data is entered into the DB is an odd
thing... given DB operati
Hi folks
Migrating from cf9 to cf11
thread = CreateObject("java", "java.lang.Thread");
thread.sleep(4000);
is now giving an error message "invalid token"
What should the syntax be. I simply want the page to pause while data is
entered into a
database.
Thanks
Rob
~
Ah - I missed part of Matt's response and Dave said the same thing. It was the
() that was throwing the error. Should have seen that...
Thanks.
-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com]
> if GetB.bcode[x] NEQ xcampus {
if ( GetB.bcode[x]
Thanks. See below
-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com]
Sent: Friday, November 15, 2013 9:45 AM
To: cf-talk
Subject: Re: cfscript assistance
On Fri, Nov 15, 2013 at 9:35 AM, Stephens, Larry V wrote:
>
>
>
> for ( x=1; x<=G
>
> if ( GetB.bcode[x] != xcampus )
> {
> // do something
> }
And in an attempt to reduce future problems, it's worth pointing out
that CFSCRIPT is basically JavaScript expression syntax with
ColdFusion operators and functions.
Dave Watts, CTO, Fig Leaf Software
http://www.fi
On Fri, Nov 15, 2013 at 9:35 AM, Stephens, Larry V wrote:
>
>
>
> for ( x=1; x<=GetB.Recordcount; x=x+1) {
> if GetB.bcode[x] NEQ xcampus {
>
> This throws an invalid construct error:
> ColdFusion was looking at the following text:
>
> GetB.bcode
>
> ? What am I missing?
try these tools, you may have more luck
http://carehart.org/cf411/#excel
On Fri, Nov 15, 2013 at 2:35 PM, Stephens, Larry V wrote:
>
> I've stayed away from cfscript but now I'm looking at it in conjunction
> with writing Excel spreadsheets.
>
> I looked at htt
I've stayed away from cfscript but now I'm looking at it in conjunction with
writing Excel spreadsheets.
I looked at https://learn.adobe.com/wiki/display/coldfusionen/cfscript and then
https://learn.adobe.com/wiki/display/coldfusionen/Extending+ColdFusion+Pages+with+CFML+Scripting
>
>> >
>> >
>> > On Mon, Oct 14, 2013 at 12:44 PM, Raymond Camden <
>> raymondcam...@gmail.com
>> > >wrote:
>> >
>> > >
>> > > Two things.
>> > >
>> > > 1) Don't forget that the code behind
> >
> > >
> > > Two things.
> > >
> > > 1) Don't forget that the code behind the script based CFCs is not
> > > encrypted. You can look at base.cfc.
> > >
> > > 2) The issue seems to be this line:
> > >
> > >
line:
> >
> >
> >
> > But - it is wrapped in a try/catch, so you shouldn't be seeing it. If you
> > get rid of the setname aspect, which I don't think you need, does it work
> > ok?
> >
> >
> >
> >
> > On Sun, Oct 13, 20
ed in a try/catch, so you shouldn't be seeing it. If you
> get rid of the setname aspect, which I don't think you need, does it work
> ok?
>
>
>
>
> On Sun, Oct 13, 2013 at 9:59 PM, Kumar Shah wrote:
>
> >
> > This is the first time I am creatin
you need, does it work
ok?
On Sun, Oct 13, 2013 at 9:59 PM, Kumar Shah wrote:
>
> This is the first time I am creating components wholly in cfscript.
>
> When running update or insert statements via the cfscript query functions
> an error gets recorded like:
> 22:52:17.01
This is the first time I am creating components wholly in cfscript.
When running update or insert statements via the cfscript query functions
an error gets recorded like:
22:52:17.017 - Expression Exception - in
C:/ColdFusion9/CustomTags/com/adobe/coldfusion/base.cfc : line 460
Ah. My apologies to the list for my inadvertent faux pas.
(And thanks to the two kind souls who sent me messages off-list...)
--
Cheers!
Michael David
-- Original Message --
From: "Nathan Strutz"
To: "cf-talk"
Sent: 6/25/2012 10:18:28 PM
Subject: Re: Re[4]:
On 6/26/2012 9:24 AM, Nathan Strutz wrote:
> Paul's got a good idea though. We could really use some solid demos. Paul,
> why not add the missing test case and the missing demos as separate bug
> reports on github? They're both good ideas.
i would if i 100% understood it in the first place. don'
On 6/25/2012 11:24 PM, Alan Rother wrote:
> > This topic has devolved a bit - let's see if we can actually help Paul
>
> well since this list is also a part of the cf community, posting a few
> simple
> cfscript zip examples for all the function's actions would be a good
lid enough on IIS7 for
> high-volume production use?
>
> Seriously, not trying to touch off some debate here. I'm just
> curious...
>
> --
> Cheers!
> Michael David
>
>
> -- Original Message --
> From: "Matt Quackenbush"
> To: "
On Mon, Jun 25, 2012 at 8:14 PM, Paul Hastings wrote:
> and FYI i would have simply contacted the author ("russplaysguitar") if github
> actually had functionality for that.
RIAForge let's you contact project owners! ;)
--
==
On 6/25/2012 11:24 PM, Alan Rother wrote:
> This topic has devolved a bit - let's see if we can actually help Paul
well since this list is also a part of the cf community, posting a few simple
cfscript zip examples for all the function's actions would be a good idea. an
even bet
To: "cf-talk"
Sent: 6/25/2012 2:23:14 PM
Subject: Re: Re[2]: cfscript zip example?
>It's called Railo. :D
>
>
>On Mon, Jun 25, 2012 at 12:52 PM, Michael David <
>li...@michaeldavid.com
>>wrote:
>
>
>>
>>
>>Seriously!
>>
>
On 6/26/2012 1:35 AM, Raymond Camden wrote:
>
> Errr, yes, so sorry we couldn't do _everything_ people wanted in CF10.
> CF11 will have every feature requested. Ever.
the cfcommunity's done a good job w/some of what was missing--it's just this
one
case where *i'm* not getting the syntax. you gu
12 at 1:23 PM, Matt Quackenbush
> wrote:
>>
>> It's called Railo. :D
>>
>>
>> On Mon, Jun 25, 2012 at 12:52 PM, Michael David
>> wrote:
>>
>>>
>>> Seriously!
>>>
>>> I sure wish that Adobe would provide a c
12:52 PM, Michael David wrote:
>
>>
>> Seriously!
>>
>> I sure wish that Adobe would provide a cfscript solution for every
>> cftag, for those of us who prefer the former.
>>
>> --
>> Cheers!
>> Michael David
>>
>>
>> -- Ori
It's called Railo. :D
On Mon, Jun 25, 2012 at 12:52 PM, Michael David wrote:
>
> Seriously!
>
> I sure wish that Adobe would provide a cfscript solution for every
> cftag, for those of us who prefer the former.
>
> --
> Cheers!
> Michael David
>
>
&
Seriously!
I sure wish that Adobe would provide a cfscript solution for every
cftag, for those of us who prefer the former.
--
Cheers!
Michael David
-- Original Message --
From: "Andrew Scott"
To: "cf-talk"
Sent: 6/25/2012 11:05:08 AM
Subject: Re: cfscrip
This topic has devolved a bit - let's see if we can actually help Paul
Paul, are you just looking for an example of creating a zip file from let's
say, a specific directory? I'd be happy to send you a couple of working
examples if you tell just what you need it to do.
=]
--
Alan Rother
Manager
> But would it have not been better to sit down and think that people are
> going to want cfscript version of everything, and hold of releasing until
> it is done and not 4 versions later?
Probably not - you can either get some things now, or maybe get
everything later. Note the wo
Yes, we can agree getting there.
But would it have not been better to sit down and think that people are
going to want cfscript version of everything, and hold of releasing until
it is done and not 4 versions later?
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http
To be fair, we've been expanded native script functionality _and_ the
"Script Stuff as CFCs" in each release. It's getting there.
On Mon, Jun 25, 2012 at 10:05 AM, Andrew Scott wrote:
>
> Hmmm, for some reason I thought there had been some functions for zip... Oh
> well, more tags not converted
Hmmm, for some reason I thought there had been some functions for zip... Oh
well, more tags not converted to script that adobe think we don't use :-(
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543
On Tue, Jun 26, 2012 at 12:4
Ok, so to clarify, are you using the zip.cfc from
https://github.com/CFCommunity/CFScript-Community-Components ?
Sorry, I don't think I know Russ, who it looks like authored it.
nathan strutz
[www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz]
On Mon, Jun 25, 2012 at 1:13 AM,
Unless you're on Railo, of course. :-)
http://wiki.getrailo.org/wiki/TAG:CFZIP
On Mon, Jun 25, 2012 at 9:48 AM, Raymond Camden wrote:
>
> There is no script support for cfzip. He is using a script based CFC.
>
> On Mon, Jun 25, 2012 at 4:08 AM, Andrew Scott
> wrote:
> >
> > Paul, Nathan is as
There is no script support for cfzip. He is using a script based CFC.
On Mon, Jun 25, 2012 at 4:08 AM, Andrew Scott wrote:
>
> Paul, Nathan is asking is there any reason you are not using ColdFusion 8
> and its tag/script based support for zip, instead of a 3rd party library.
>
> --
> Regards,
>
PM, Paul Hastings wrote:
>
> On 6/25/2012 1:07 PM, Nathan Strutz wrote:
> >
> > Any particular reason you don't use the cfzip tag from ColdFusion 8+?
>
> project CFCs are all in cfscript.
>
> > Sorry, that's probably not helpful, but hey sometimes peo
On 6/25/2012 1:07 PM, Nathan Strutz wrote:
>
> Any particular reason you don't use the cfzip tag from ColdFusion 8+?
project CFCs are all in cfscript.
> Sorry, that's probably not helpful, but hey sometimes people don't read the
> docs. If you're on Adobe softwar
Any particular reason you don't use the cfzip tag from ColdFusion 8+?
Sorry, that's probably not helpful, but hey sometimes people don't read the
docs. If you're on Adobe software, I think nothing before CF8 is even
supported anymore.
nathan strutz
[www.dopefly.com] [hi.im/nathanstrutz] [about.me
having a hard time getting my wooly head around the zip.cfc from cfcommunity.
anyone know of any code examples for the action "zip" bits?
thanks.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfus
Thanks Leigh, made a lot of sense and works perfect!!
>See http://pastebin.com/M5CNshBp . Looks like my post got cut off again ...
>
>
>-Leigh
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusio
See http://pastebin.com/M5CNshBp . Looks like my post got cut off again ...
-Leigh
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http:/
> CellRangeAddress cellRangeAddress = sheet.getMergedRegion(i);
Just drop the data type declarations in front of the variable names. Then
instantiate classes with init() instead of "new ClassName( ...)". You may also
want to break it up for better readability. I am heading out and cannot test
Hi,
I am having difficulty understanding how i would change the follower Java code
into cfscript... specifically the 'new CellRangeAddress' section:
CellRangeAddress cellRangeAddress = sheet.getMergedRegion(i);
CellRangeAddress newCellRangeAddress = new CellRangeAddress(newRow
alk
Subject: Re: Best IDE for cfscript
I'm with Matt, IDEA is great. In many ways, big and small, it increases my
productivity and code quality, and just improve the experience of
coding all around. It's not without its warts, but it's improving all the
time. I'd never go back.
I'm with Matt, IDEA is great. In many ways, big and small, it increases my
productivity and code quality, and just improve the experience of
coding all around. It's not without its warts, but it's improving all the
time. I'd never go back.
Dave Merrill
On Mon, May 7, 2012 at 1:45 PM, Matt Quack
When I need to do some quick editing I use Notepad++ on Windows or Textwragler
on Mac (both free editors).
When working on projects I use CFBuilder for all the ColdFusion specific
features like Server management, tailview, extensions, ...
Don't forget that CFBuilder has a free express version!
So there are large line number issues with most.. My backup is a old
tool called PFE, Programmers FIle Editor. I've edited 14 GB text files
with it.
On Mon, May 7, 2012 at 1:21 PM, Eric Roberts
wrote:
>
> I use CFEclipse with no problems. Not a big fan of CFBuilder.
>
> Eric
>
> On Mon, May 7,
Since it hasn't been mentioned yet, I would also recommend giving Intellij
IDEA a shot, *especially* if you work in other languages, too. It was quite
a change for me, having used CFE/CFB for many years, but I doubt I could
switch back, now.
http://www.jetbrains.com/idea/
On Mon, May 7, 2012 at
On Mon, May 7, 2012 at 11:46 AM, Robert Rhodes wrote:
> What is the best IDE for cfcript work? CFBuilder 2? CFEclipse? Or?
Try them both. Decide for yourself.
That are both built on Eclipse, so it's easy to switch.
-Cameron
...
~~
I use CFEclipse with no problems. Not a big fan of CFBuilder.
Eric
On Mon, May 7, 2012 at 10:46 AM, Robert Rhodes wrote:
>
> What is the best IDE for cfcript work? CFBuilder 2? CFEclipse? Or?
>
> -RR
>
>
>
~|
Order the A
What is the best IDE for cfcript work? CFBuilder 2? CFEclipse? Or?
-RR
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.house
re" tool that
a more advanced group of CF people developed.
On Wed, Feb 22, 2012 at 4:50 AM, Scott Brady wrote:
>
> Right. I was talking about why _I_ generally don't like cfscript.
>
> But, honestly, if they don't really know how to do anything in javascript,
> then
Right. I was talking about why _I_ generally don't like cfscript.
But, honestly, if they don't really know how to do anything in javascript,
then I'm not sure what they're doing writing CFML (or any web application
development language).
Scott
On Tue, Feb 21, 2012 at
The people I was referring to I am certain do not know how to write
anything or much of anything in JavaScript. So it is not a matter of
CFScript confusing them into thinking it is JavaScript.
On Tue, Feb 21, 2012 at 6:55 PM, Scott Brady wrote:
>
> My main issue with cfscript is tha
Well, nobody's better off writing in Java, but C# would be an alternative.
On Wednesday, February 22, 2012, Russ Michaels wrote:
>
> cfscript to many defeats the who point of why they chose cf in the first
> place, because it was a html like easy to learn tag based language.
>
cfscript to many defeats the who point of why they chose cf in the first
place, because it was a html like easy to learn tag based language.
When you go down the route of doing all your code in script, using OOP
style coding, then surely you would just be better off writing directly in
JAVA
My main issue with cfscript is that it's easy to confuse at first glance
between that and javascript (for cases when you have JS mixed in with CF
code, as the legacy app I work on at work has). So, it's not really
cfscript's fault as much as a personal bugaboo.
Scott
On Tue, Feb
eal on the cover that says "High Quality
> Content by WIKIPEDIA articles!"? LOL :-D
>
> On 2/21/2012 11:04 AM, Steve 'Cutter' Blades wrote:
>> You mean I should write a book on CFScript? Fantastic?
>>
>> "Betascript Publishing" hhhm.
Yeah, or how about the red seal on the cover that says "High Quality
Content by WIKIPEDIA articles!"? LOL :-D
On 2/21/2012 11:04 AM, Steve 'Cutter' Blades wrote:
> You mean I should write a book on CFScript? Fantastic?
>
> "Betascript Publishing" hhhm.
You mean I should write a book on CFScript? Fantastic?
"Betascript Publishing" hhhm...
Anyone notice the tagline states:
ColdFusion Markup Language, JavaScript, BlogCFC
Now THAT is interesting...
Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
I have worked with CF developers who "scoff at" any CFScript usage but for
reasons most would not assume. They did it because they flat out did not
understand the syntax and I am not referring to some abundant overuse of
CFScript here. It can sometimes be a balancing act of coding ho
On Mon, Feb 20, 2012 at 7:50 PM, Robert Rhodes wrote:
> I do wish Adobe would fill out CF so that one could write mostly in
> cfscript and avoid cf tags altogether, if desired. It would also help when
> I end up around small-minded coders who scoff at CF merely because of the
>
Agreed and someone could always write themselves some custom functions as
wrappers to CF tags for prior versions CF or perhaps even what is missing
in the current. To a point at least. I have been a CFScript Nazi for well
over a decade now but fully recognize a place for it and a place for when
As of CF9, the vast majority of CF can be written in script, if you
desire. Almost every tag has a cfscript equivalent (I believe there were a
few that didn't make the cut, but I can't recall which ones off-hand). Of
course, some things are a bit more tedious doing them in scrip
Hi Cameron. I know CF very well. I been coding in it for many years. But,
I admit, I am a little tagged out.
Cfscript feels more elegant, and as I learn more and more javascript, it
seems a natural time to try to get completely up to speed on cfscript.
I do wish Adobe would fill out CF so
For what its worth I have a cfscript cheatsheet here:
http://www.petefreitag.com/cheatsheets/coldfusion/cfscript/
It lists much but certainly not all of what you need to know to use
cfscript. Feedback, suggestions welcome.
--
Pete Freitag - Adobe Community Professional
http://foundeo.com
On Mon, Feb 20, 2012 at 10:48 AM, Robert Rhodes wrote:
> Are there any CFScript books out there? I ordered this onw but it was a
> complete joke. A total waste of money:
> http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099.
>
Is there a reason you want t
Hello to all.
Are there any CFScript books out there? I ordered this onw but it was a
complete joke. A total waste of money:
http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099.
All suggestions welcome.
-RR
Oops. I missed that. Nevermind! :-[
On 2/9/2012 10:10 AM, Matt Quackenbush wrote:
> Nopers. Daniel has an in his CFC. See his
> previous posts in the thread.
>
>
> On Thu, Feb 9, 2012 at 12:04 PM, Carl Von Stetten
> wrote:
>
>> Rex,
>>
>> I think cf_abort is a custom tag, not a UDF, so it would
Nopers. Daniel has an in his CFC. See his
previous posts in the thread.
On Thu, Feb 9, 2012 at 12:04 PM, Carl Von Stetten
wrote:
>
> Rex,
>
> I think cf_abort is a custom tag, not a UDF, so it would not be called
> using cf_abort().
> -Carl
>
> On 2/9/2012 9:19 AM, Rex wrote:
> > yes, but to c
Rex,
I think cf_abort is a custom tag, not a UDF, so it would not be called
using cf_abort().
-Carl
On 2/9/2012 9:19 AM, Rex wrote:
> yes, but to call cf_abort, you want to do cf_abort()
>
> It's like calling #now# instead of #now()#
>
> - Rex
>
> On 2/9/2012 5:46 AM, daniel kessler wrote:
>>>
yes, but to call cf_abort, you want to do cf_abort()
It's like calling #now# instead of #now()#
- Rex
On 2/9/2012 5:46 AM, daniel kessler wrote:
>> you have cf_abort in your code instead of cf_abort()
> I am using cf_abort.
>
>
~
> Unfortunately, I also don't receive the dump or the abort. I even
> built an array to dump to simplify the test and assure that there's
> dumpable data.I guess I'm just not used to this. Maybe the
> logs will reveal what happened.
ok, it looks like the cf_dump() is working. If I put a
>Looks like the issue is that you have the cf_dump() and cf_abort() calls
>outside of the curly braces.
ok, that's a thought that I hadn't considered. I moved them inside the
brackets and now I don't receive an error. Thank you!
Unfortunately, I also don't receive the dump or the abort. I ev
>you have cf_abort in your code instead of cf_abort()
I am using cf_abort.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.hous
you have cf_abort in your code instead of cf_abort()
On Thu, Feb 9, 2012 at 04:20, Matt Quackenbush wrote:
>
> Looks like the issue is that you have the cf_dump() and cf_abort() calls
> outside of the curly braces.
>
> if ( // all those items )
> {
> // stuff here
> }
> cf_dump(dbResult);
Looks like the issue is that you have the cf_dump() and cf_abort() calls
outside of the curly braces.
if ( // all those items )
{
// stuff here
}
cf_dump(dbResult);
cf_abort();
else
// other stuff
You need to move those two items inside of the }.
HTH
On Wed, Feb 8, 2012 at 2:0
>The error code mentions Line 63 as the start of an if () statement, and
>Line 52 as the start of the tag. We'll need probably the entire
>if () block at the least, as it would seem the issue lies in there.
>
>Hard to speculate based solely upon the error message, as CF is notorious
>for providin
The error code mentions Line 63 as the start of an if () statement, and
Line 52 as the start of the tag. We'll need probably the entire
if () block at the least, as it would seem the issue lies in there.
Hard to speculate based solely upon the error message, as CF is notorious
for providing rath
>First off, this is a nearly 4 year old thread. It may or may not apply to
>what you're working on now.
>
>What CFML engine and version are you using?
>
>What is the relevant code?
I didn't think reposting was a good idea, since there was a thread with a
relevant history.
I'm using CF7.
I post
with "{" on line 63, column 39.
>a script statement beginning with "if" on line 63, column 17.
>a cfscript tag beginning on line 52, column 18.
>a cfscript tag beginning on line 52, column 18.
>
>
> The error occurred in C:\localServer\beatch\cfc\emp
nning with "{" on line 63, column 39.
a script statement beginning with "if" on line 63, column 17.
a cfscript tag beginning on line 52, column 18.
a cfscript tag beginning on line 52, column 18.
The error occurred in C:\localServer\beatch
I added this to my component, but I'm getting an error while calling it from
within the component.
Then further down, I call the cf_dump, like
cf_dump(dbResult);
How do I implement this correctly?
Thank you for your assistance.
~~~
Thanks all - the built in function is exactly what I needed. I am fairly new to
CF so I will definitely spend time learning the functions. Thanks again.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-C
> Wow: LJustify(), RJustify(), and CJustify() functions. Who
> woulda thunk it. Brilliant. I guess.
Whenever I'm working with people relatively new to CF my number one
piece of advice is to become very familiar with the function reference
so you don't spend a bunch of time re-writing functions th
Wow: LJustify(), RJustify(), and CJustify() functions. Who woulda
thunk it. Brilliant. I guess.
On 22 August 2011 17:37, Justin Scott wrote:
>
>> I'm attemping to create a function that adds spaces either
>> in front of or behind a string.
>
> Hi Josh, a couple of things. First, ColdFusion has
just off the top of my head:
function spaceFiller(cell, fill, align) {
var space = RepeatString(' ', fill - Len(Cell));
return iif(align eq 'R', de(space & cell), de(cell & space));
}
You may need to deal with the scenario of cell having more characters
than the value of fill. Also, if
If you're displaying this in a browser, then HTML is likely the culprit,
condensing multiple spaces into just one. Use non-breaking spaces (or wrap
your output in tags) to get HTML to output multiple spaces.
On Mon, Aug 22, 2011 at 11:19 AM, Josh Cesana wrote:
>
> I'm attemping to create a func
> I'm attemping to create a function that adds spaces either
> in front of or behind a string.
Hi Josh, a couple of things. First, ColdFusion has the LJustify(),
RJustify(), and CJustify() functions which will do exactly what you're
trying to accomplish already built in.
Second, your function (
I'm attemping to create a function that adds spaces either in front of or
behind a string. For example, I want this "test" string to have 6 spaces after
it, plus the 4 characters in "test" for a total of 10 characters. I have an
"align" variable for both left and right alignment for the spaces.
On Tue, Apr 26, 2011 at 11:32 AM, Kyle McLean wrote:
>
> SELECT
> *
> FROM
> TBL
>
> WHERE
> COL = '#arguments.testArg#'
>
>
I know this doesn't help you, since you're on CF9, but I just wanted
to note that Railo also supports an alternative syntax that was
discussed by the CFML Advisory Com
It does, but it still looks like it's a little more clunky (in my opinion at
least :)) than the tag-based alternative. Bummer, since I much prefer the
succinct style of CFSCRIPT for writing pretty much everything else in a
component.
Thanks for your help everyone!
>var
rguments.str#%",cfsqltype="cf_sql_varchar");
}
q.setSQL(sql);
var results = q.execute().getResult();
Does that make sense?
On Tue, Apr 26, 2011 at 1:32 PM, Kyle McLean wrote:
>
> I've been working on a CF9 project, and I'm trying to take full advantage of
> the cfs
Do you have the option of moving your query logic into a stored proc?
It would be more secure.
Jeff
On Tue, Apr 26, 2011 at 2:32 PM, Kyle McLean wrote:
>
> I've been working on a CF9 project, and I'm trying to take full advantage of
> the cfscript syntax for my components
I've been working on a CF9 project, and I'm trying to take full advantage of
the cfscript syntax for my components. I have many cases where I'm using
dynamic SQL based on the existence of an optional argument in a function. In
CF8 and below it'd look something like this:
I'm willing to pay for a C-64 version of Halo 3.
> >
> >
> > On Thu, Apr 7, 2011 at 7:20 PM, Jeff Gladnick >wrote:
> >
> >>
> >> I actually don't hate cfscript, but I do hate that we have both tags and
> >> script based syntax for
That is the greatest thing ever.
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 9 April 2011 04:55, Judah McAuley wrote:
>
> Start here, Michael:
> http://www.pcworld.com/article/224722/new_commodore_64_is_finally_herefor_real.html
~~~
:
>
>>
>> I actually don't hate cfscript, but I do hate that we have both tags and
>> script based syntax for CFML. And since it started off as tags, I firmly
>> believe that's the way it should stay.
>>
>> I understand lots of people feel differently,
>The translation is actually rather easy. It's just a bunch of RegEx for
>parsing and rules for understanding. The limitations of cfscript are perfect
>here as there are not many rules. The only thing would be the loops that are
>available in cfscript but do not exist in stan
>That's funny. Actually I created a tags --> script converter a few weeks
>ago, kind of for fun, kind of for upgrading to CF9. It works for basic
>stuff, components, functions, some loops, try/catch, etc, but gets confused
>with queries or anything else complicated.
>
>nathan strutz
>[http://www.d
1 - 100 of 1138 matches
Mail list logo