have you tried cfprocessingdirective suppresswhitespace='yes' at the
top of your page?
--
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
~|
Enterprise web applications, build robust, secure
scalable apps today - Try it
Yeah, you can do that. Here's a simple example of it in action (using
the backreference to match quotes). It also uses a non-greedy modifier
in there to avoid doing an incorrect match on the apostrophe within
the double quotes.
cheers,
barneyb
cfoutput
cfset baseString = some 'text' with quotes
Hi,
I have been using the SetLocale function successfully on a xp box
running CF8 dev edition. However the exact same code is not changing
the output language when it is run on a linux box using CFMX 6.1.
Heres the code:
cfset SetLocale(French (Standard))
Month text is being outputted using
cfif currentRow EQ recordCount is the simple case. With start/end
on the loop, I'd expect the equivalent would be cfif currentRow EQ
myEndRowVar, where myEndRowVar is the variable you use to set the
'end' attribute. Just output currentRow inside your loop, and the
right comparison should be
If you use this method (which I think is the best visually), be careful on
your 'action' page. Different browsers treat the 'visibility:hidden' form
elements in a different manner. In some browsers, that 'hidden' section is
sent with the form. In other browsers, that section is considered 'not
In coldfusion, you would just put a cfif statement around the different
LINK href=mystyle.css rel=stylesheet type=text/css choices. This
would involve a new call to the server for each 'change' of style sheet.
To do it while on the page (and without a call to the server), you could
try:
LINK
On Nov 8, 2007 7:14 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
The problem is, I didn't see any answer or guidance in the question.
When someone has no clue about the broader implications of their
question, they can't understand the significance of the response
question. It's just
Thanks guys for all your help its been a good regex learning
experience as usual for me :)
@Ben yours is the one i've gone with thank for the comments and explanation
Andy J
On Nov 7, 2007 8:24 PM, Ben Doom [EMAIL PROTECTED] wrote:
A handful of comments:
Backreferencing a single, static
I just wanted to post a note that this morning I did a release of
CFEclipse 1.3.1.6. This is a bug-fix release, and has no extra
features and is geared at some specific bugs:
* 332 (File Explorer Doesn't Show Sub-Folders after upgrading to 1.3.1.5)
* 368 (Passive FTP is not enabled)
*
what you may read as being condescending may actually be a very
sympathetic attempt to help.
True... which is why my comments were gentle in nature. (At least that
was my intent... :o) I'm most often on the end of the one asking questions
instead of being able to provide answers, so I know
Thanks for all the help. Meanwhile I played with LightWire to get a feel of
true IoC. I used 2 cfc, and wired them together. Product CFC and a tax
calculator CFC. Product CFC depended on tax calculator to exist.
I got it now, I can make OO objects/CFC's which can be easily re-used in
another
set some counter var and increment it by 1 with each loop iteration.
compare it to query.recordcount to see if current record is the last one
--
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
~|
ColdFusion 8 - Build next
I'd use display:none; instead of visibility but in either event, I've never
seen parts of a form not get posted with the rest of the form just because
it was hidden via css.
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
Does a CF scheduled task have any higher priority than other CF requests? For
example, if I have 10 CF tasks running and 50 more queued to run (10 threads
max set in admin) and the time for a scheduled task is reached, does it get at
the end or the front of the line of queued tasks?
Steve
On Friday 09 Nov 2007, Joeri B wrote:
I got it now, I can make OO objects/CFC's which can be easily re-used in
another application, or other CFC's. So I write less CFC's...
And less fragile glue to hold them together too.
I wrote a brief comparison of where LightWire and ColdSpring differ here
On Thursday 08 Nov 2007, Richard White wrote:
MyDoc.rows.XmlChildren[1].XmlAttributes.id
If you think about it, this works the same as structs - struct.id ===
struct[ID].
--
Tom Chiverton
Helping to augmentatively monetize internet applications
on: http://thefalken.livejournal.com
disabled=true
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 9:34 PM
To: CF-Talk
Subject: RE: greying out part of a form
Set the fields to 'disabled' when you don't want them used.
...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby
cfif query.recordcount IS query.currentrow
-Original Message-
From: Steve Sequenzia [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 10:15 PM
To: CF-Talk
Subject: Determing last record in a loop
I have a loop that uses a cfquery with a start and end for paging. I am
trying to
You could just alter your query slightly and let SQL do the counting for you.
-Original Message-
From: Toby King [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 2:22 PM
To: CF-Talk
Subject: cfoutput group with totals
cfoutput query=getAuthorsAndBooks group=authorname
On Thursday 08 Nov 2007, David Mineer wrote:
it to quit referencing C:\coldfusion8\wwwroot.
Change the '/' mapping ?
--
Tom Chiverton
Helping to preemptively consolidate killer m-commerce
on: http://thefalken.livejournal.com
This email is
Does a CF scheduled task have any higher priority than other
CF requests? For example, if I have 10 CF tasks running and
50 more queued to run (10 threads max set in admin) and the
time for a scheduled task is reached, does it get at the end
or the front of the line of queued tasks?
No,
I have several ways to connect...running WAMP, so I have access via
command line. I also have SQLyog and mySQL Administrator.
Chris martin
Mark Flewellen wrote:
I just recently reinstalled my OS. After I reinstalled mySQL, I
attempted to place my databases in the /data folder. The
Only with my Access databases!:P
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 8:23 PM
To: CF-Talk
Subject: Re: MIME type
will that work on cf5 though?
http://coldfused.blogspot.com/2007/06/finding-image-type-for-file.html
Is
I have deactivated the builtin coldfusion server and I use
iis. I cannot get it to map to C:\inetpub\wwwroot. I have
been able to work around this using lmhosts file, but why
does it do this. How can I get it to quit referencing
C:\coldfusion8\wwwroot.
You can reconfigure the CF web
This should have been simple as making a PBJ.
I am calling a SP (SQL Server 2005) using the
CFStoredProc function and to get the result set returned as nextval.
Basically it should return an interget value.
There may be a way, but I've not run across it yet. If you are really
intent on it, you could simplify it using CF itself.
cfset thing = -?[\w,.]+
and then use
\(#thing#/#thing#\)
For something this trivial, it seems a bit pointless, but for large and
complicated subexpressions, it might be
I am calling a SP (SQL Server 2005) using the
CFStoredProc function and to get the result
set returned as nextval. Basically it should
return an interget value.
...
What is it I am missing?
Without seeing the SP code, who can say? My guess is that your SP is
returning an output
It looks like you are missing the DBVAR name.
cfstoredproc datasource=#application.datasource#
procedure=usp_select_nextval
cfprocparam type=In cfsqltype=CF_SQL_VARCHAR value=DataTrack_Block
dbvarname=insertfieldnamehere
cfprocresult name = nextval
/cfstoredproc
CF Developer wrote:
Excellent, thank you all for the suggestions. It makes sense now. I think I'll
experiment with both methods just to learn the process. Sorry about the double
post of the question, I couldn't find my initial submission and thought it
didn't post.
As always you're very helpful, thanks!
IIRC, this only works if you want the same string for both matches. I
don't think that is what Andy wanted.
--Ben Doom
Barney Boisvert wrote:
Yeah, you can do that. Here's a simple example of it in action (using
the backreference to match quotes). It also uses a non-greedy modifier
in
cfprocresult is for returning a query result set. If you're not
returning query, then you should use:
cfprocparam type=OUT cfsqltype=CF_SQL_INTEGER variable=nextval
CF Developer wrote:
This should have been simple as making a PBJ.
The storedProc only returns a single interget value not a
database object or field.
It runs a Query, gets a value, increments the value, updates the table and
returns the new calculated value.
such as: database table as a field called: thisVal and that field is set to 1
It
cfstoredproc.statuscode
-Original Message-
From: CF Developer [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 10:40 AM
To: CF-Talk
Subject: Re: CFStoredProc
The storedProc only returns a single interget value not
a database object or field.
It runs a Query,
If you arent returning a result set then you should use a procparam with
type=out.
--
Gary Gilbert
http://www.garyrgilbert.com/blog
~|
ColdFusion is delivering applications solutions at at top companies
around the world in
I have been tasked to bring some order to the chaos.
Our organization pays for six ColdFusion licenses each year, but nobody
has a definitive list of what machines have what ColdFusion installed on
them. I have a vague memory that there is|was a tool that could survey
a network and report on
You are right. I misread your issue. Since you are only wanting an
output variable, you need to change the type to OUT and use the
Variable attribute.
cfprocparam cfsqltype=CF_SQL_INTEGER variable=nextval type=OUT
CF Developer wrote:
The storedProc only returns a single
Hi,
I hope this is okay to post here. The Community and OT lists seemed WAY OT.
Long story short. I won CS3 Master Suite -- already had a copy. Swapped it to a
friend for CF 8 Standard. I decided I needed Enterprise.
New CF 8 Standard in a sealed box. $1100 OBO.
Please email me at kholbrook
Yes... that would be setting them to 'disabled'
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 9:07 AM
To: CF-Talk
Subject: RE: greying out part of a form
I know that CF-8 has a License Scanner under Debugging and Logging. it
will search your subnet for other running instances of CF. Not sure if
this is what you are looking for.
Bruce
Ian Skinner wrote:
I have been tasked to bring some order to the chaos.
Our organization pays for six
Bruce Sorge wrote:
I know that CF-8 has a License Scanner under Debugging and Logging. it
will search your subnet for other running instances of CF. Not sure if
this is what you are looking for.
Bruce
I think that is what I was looking for. I just tried it on the
developer version running
have you tried cfprocessingdirective suppresswhitespace='yes' at the
top of your page?
Tha helped a bit - removed 300 lines, but there are still 24 blank lines
between items. Odd.
~|
ColdFusion is delivering applications
Strip all the lines out after you're done building the feed?
I could. I was first hoping to determine why they are there. I've almost set
all the code one a couple of lines and I have whitespace suppressed.
Anyhoo, I'll probably begin ripping out lines now. I guess I look for
linefeeds.
Strip all the lines out after you're done building the feed?
That worked fine - thanks. And have a good weekend..
~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find
All,
I'm trying to map my Webroot for local dev to a folder on a network drive.
When I log into the
CFAdmin and try to map the / it doesn't show the network drive. Then I added my
account to the CF service so that it would be able to see the drives my
accounts allows
and then restarted the
There is a license scanner, but I don't think it works across subnets.
There are a few solutions to this if these are Windows computers...
Getting a list of computers is very easy if you are running Active
Directory. Just query the AD LDAP server for Computer objects.
1. Use MS SMS (Systems
I 1 drop down from where I would like to populate the data in to the
text box. So in order to do this I am picked the ajaxcfc. So the code
seems to be working, it gets all the requireq values but doe not
populate into the box .
Functions that I am usig :
function doQuery(id)
I 1 drop down from where I would like to populate the data in to the text box.
So in order to do this I am picked the ajaxcfc. So the code seems to be
working, it gets all the requireq values but doe not populate into the box .
Functions that I am usig :
function doQuery(id){
Official definition of a subnet according to Search Networking:
A subnet (short for subnetwork) is an identifiably separate part of an
organization's network. Typically, a subnet may represent all the
machines at one geographic location, in one building, or on the same
local area network (LAN
Dawson, Michael wrote:
I'm sure there are other, better solutions, but this is all I can think
of on a Friday.
M!ke
Thanks for your suggestion, unfortunately we are a mix of Unix and
Windows systems here.
~|
Get involved in
What I do ...
Is since I know all my servers and have their Ips listed in my asset
management app db I just kicked off a CF execute
cfsavecontent variable=result
cfexecute
name = c:\windows\system32\sc.exe
arguments = \\#servers.computer_name# query
Are you doing this in IIS, Apache or what? Our webroots are sometimes on
other PCs and it works just fine in Apache.
Russ
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 2:23 PM
To: CF-Talk
Subject: CF Dev Edition store local
I am playing around with the new cfsprydataset tag and I have hit a wall. I
am a bit of a spry newb as well so that could be my problem. The following
code works great and via firebug i can see the returned data (see below) but
nothing gets generated. What am i doing wrong?
cfmodule
It looks like the field names being returned are in all-caps, and the your
bindings are not. Try to capitalize your bindings in your spry output, ie
{FNAME} and {LNAME}.
Steve
-Original Message-
From: Dan Vega [EMAIL PROTECTED]
Sent 11/9/2007 6:45:30 PM
To: CF-Talk
That didnt do it, good try though, thanks!
Dan
On Nov 9, 2007 8:02 PM, Steve Milburn [EMAIL PROTECTED] wrote:
It looks like the field names being returned are in all-caps, and the your
bindings are not. Try to capitalize your bindings in your spry output, ie
{FNAME} and {LNAME}.
Steve
54 matches
Mail list logo