I would do it like this:
HTH,
--
Josh Trefethen
.:[ Exciteworks, Inc ]::[ http://exciteworks.com ]:.
.::[ cf hosting on linux ]::[ consulting ]::[ expertise ]::.
> -Original Message-
> From: Paige Chandler [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 10:1
Expnadpath takes a relative path, so use "images/...".
Also expandpath calculates a full path from the relative path starting from the base
template (the one you requested in the URL).
Otherwise this use of Expandpath is correct.
-Oorspronkelijk bericht-
Van: Paige Chandl
I find a good way to debug this is to display it then eyeball it:
!#ExpandPath("Images\#Trim(Session.Client_ID)##Trim(Session.Insure
d_ID)#1.jpg")#!
> -Original Message-
> From: Paige Chandler [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 11 June 2003 5:17 p.m.
> To: CF-Talk
> Subject: H
Strewth, all I stated was the beta 2 was available.
**
The information contained in this e-mail, and any attachments to it, is
intended for the use of the addressee and is confidential. If you are not the intended
recipient you
Hello All,
Is the following the correct usage of ExpandPath?
The .jpg image does exist. I don't get a error but it doesn't display the buttons
either. Help will be appreciated. TIA.
Regards,
Paige
~|
Archives: http:
>DSN-less connections aren't directly supported in CFMX; apparently, either
they aren't supported in JDBC at all
I know for a fact that DSN-less connections are in fact supported by JSP, but I really
can't comment on CFMX yet. I've
noticed a lot of posts about people having connection issues whe
On Tuesday, Jun 10, 2003, at 04:56 US/Pacific, E. Keith Dodd wrote:
> Is it a wise rule of thumb, that all else being equal, use CF rather
> than
> ActionScript where possible? Obviously, would depend on specific
> situation,
> but in general...?
There is no "general" answer to that (there's rar
> We had at least one thread on *exactly* this at the beginning of
Christian Cantrell's
> tenure here. I'd like to see a sort of runtime swf compiler in CF
that would compile a
> cfflashform, or a cfflashgrid or cfflashtree or cfwhatever and have
flash replace the
> gamut of CF's applets, which
As soon as I actually load the copy of Flash MX I bought and installed 3
months ago I'll be able to tell you :D
Matt Robertson [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
-Ori
Can you embed a flash widget within an HTML form and get the data to submit
or does the entire form need to be flash?
> -Original Message-
> From: Matt Robertson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 11 June 2003 2:09 p.m.
> To: CF-Talk
> Subject: RE: Cftextarea...
>
> We had at le
We had at least one thread on *exactly* this at the beginning of
Christian Cantrell's tenure here. I'd like to see a sort of runtime swf
compiler in CF that would compile a cfflashform, or a cfflashgrid or
cfflashtree or cfwhatever and have flash replace the gamut of CF's
applets, which imho can't
Yup...I would put money on the chance that DW will support Royale
down the road. I fully anticipate many sleepless nights after it comes
out...oh wait...that's every night. Still... :)
--
mailto:[EMAIL PROTECTED]
Tuesday, June 10, 2003, 9:41:59 PM, you wrote:
MW> Well, I'm working on that sort o
Just want to take a second and thank you all for not showing up and allowing me to
take home all of the prizes & give-aways tonight!
Granted I was hoping paul would be there so I could win my monthly supply of cdr's,
haha
But seriously, it was tonight & not Thursday night, just fyi
~~~
Well, I'm working on that sort of thing and I'm sure others are too. However
it seems like MACR's Royale release later this year might have significant
impact on this area.
> -Original Message-
> From: Angel Stewart [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 11 June 2003 1:13 p.m.
> To:
Look at the DatePart function - this will convert your months into
numerals perfect for the looping and whooping and the fun party-time
stuff.
Jim Davis
President, http://www.depressedpress.com
Webmaster, http://www.firstnight.org
Webmaster, http://www.cfAdvocacy.org
Senior Consultant, http://www.
Hey!
How about Flash Widgets!
You know..we have CFINput...how about FLASHINPUT!
A little tag that would put all the code in the page to do the Flash
stuff for a simple input box!
And..and..oh wait no. That would mean generating a little .swf file.
Welll...well have a CF_FLASHFORM! That would g
Say you have a begin date and an end date. For instance 7/12/03 and
2/23/04. I want to create calendars for each month in the date range, so I
want to construct a loop to step through each month in the date range. From
July 2003 through February 2004 in the above example it should iterate 8
time
Jon,
Thanks for the responses. Sorry to confuse the issue. I was just
listing the available options that I have, so any combination of the
below versions would work. The solution does not need to work on all
versions. I think I will look into DTS and see what I can come up with.
Thanks,
Issac
The variety of databases and cf versions makes it a bit more
challenging, but this cfx tag works well, and it's relatively quick at
reading the text file.
http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn131&viewName=ColdFusion%20Extension&extID=1000558
However you would still
> While I've never been a big fan of HTML interfaces, to say the least,
> radio
> buttons are individual elements - you can put them one right after the
> other, or you can separate them with line breaks. So I don't really see
> how
> the syntax for radio buttons could be that similar to the syntax
> But it's not CF's fault (it's just that in my view CF
> doesn't help much). We are trying to build web apps
> with HTML elements that are fundamentally flawed. Aside
> from lack of widgets, lack of persistence of data in a
> form, automatic validation, key filtering, required
> fields, etc,
Sorry, CF 4.5/5 and possibly MX. Also, the DB would be SQL Server
7/2000 or Oracle 8i or 9i.
Issac
-Original Message-
From: jon hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 7:17 PM
To: CF-Talk
Subject: Re: Parsing a large text file
Which version of CF?
--
jon
mailto
One more thing, Which database?
--
jon
mailto:[EMAIL PROTECTED]
Tuesday, June 10, 2003, 7:13:11 PM, you wrote:
IR> What would be the best way to parse a large text file (>5mb)? Actually,
IR> the text file is 1 large string. I need to create either a file with
IR> each new record on a line or
I think HTML form handling and validation is a particular weakness of
ColdFusion, given that it is a key element of (non-flash) web apps. I
certainly don't think cfform-level functionality is anything to aspire to.
That's why I and others have spent so much time working on forms tools.
It would
Which version of CF?
--
jon
mailto:[EMAIL PROTECTED]
Tuesday, June 10, 2003, 7:13:11 PM, you wrote:
IR> What would be the best way to parse a large text file (>5mb)? Actually,
IR> the text file is 1 large string. I need to create either a file with
IR> each new record on a line or enter each
> It seems that CF5 was able to connect even more than previous
> versions. Now I'm starting to get the feeling that CFMX
> can only connect to datasources that Java can connect to.
That is correct. CFMX can only connect to datasources through JDBC. However,
CFMX does provide an ODBC service, wh
What would be the best way to parse a large text file (>5mb)? Actually,
the text file is 1 large string. I need to create either a file with
each new record on a line or enter each new record into a table (new
record = every 60 chars).
Here's what I've tried, but there must be a more efficien
Perfect, Brian. I do indeed have to save more than 2 items to each row. I was trying
ArrayDeleteAt but screwing up the syntax. Thanks very much for your help yesterday
and today nursemaiding me thru this.
In case its useful to anyone poking around in the archives some day, here's the
templat
sorry this will leave the array row there, but empty.
works better with
ArrayDeleteAt( LoginArray,ArrayRows)
which will completely take that row out of the array
-Original Message-
From: Bruce, Rodney S HQISEC/Veridian IT Services
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 3:
Yeah... "Technique 2" is what I wound up using.
After a brief tussle with the administrator page, wherein I found that our
server wants the database's IP address instead of the server name (I have a
note in to our netadmin guy about that), I got everything up and running on
our development serv
ArrayClear(LoginArray[ArrayRows] )
If I remember correctly a 2d arrray is just an array of arrays so this
should work.
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 2:50 PM
To: CF-Talk
Subject: ArrayDeleteAt for a 2d array?
How do you loo
Here you go. By the way, if you are only storing two values you would be
much better off using a single array where, say, odd indices are the userID
and even indices are the username. Then you could do something like this
(it doesn't buy you much here, but if you do other manipulations it could
s
Uhm... Naw.. Better leave this one alone too. Nevermind. ;)
Lee
(As mother always said -- if you can't say something nice ... )
| -Original Message-
| From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, June 10, 2003 11:28 AM
| To: CF-Talk
| Subject: Re: Red Sky
Hi all -
Does anyone know of a good source/web-site for custom Oracle PL/SQL
functions, I dont want to invent the wheel if I dont have to. Thanks much
in advance.
Casey Cook
This is a PRIVATE message. If y
*sits and sulks*
I dunno.
I just want one with cfform validation and stuff.
*sighs*
Oh well I guess that's a good reason.Changes too often to be built into
the server, and too many different browsers to support.
Activedit and others can get away with being IE specific.
CF won't be able to.
Y
Hello all.
I have noticed in the past that when using
that sometimes the contents of the file will be stored in myfilename, and
sometimes the file will be uploaded to a temp directory and the
path/filename will be stored in myfilename. I was never able to determine
what made particular behavi
soEditor is a pretty nice one that's free. It's windows/IE only. There are
a lot of other ones out there, but that's the one that I'm most familiar
with.
As for one built into CF, editing tools are far beyond the scope of an
application server. From it's perspective, text is text, whether it ha
Like SoEditor, eWebEditPro (3.1 rocks), or ActiveEdit?
SoEditor and ActiveEdit take 10 minutes to set up...if that.
--
jon
mailto:[EMAIL PROTECTED]
Tuesday, June 10, 2003, 5:54:52 PM, you wrote:
AS> Why isn't there a simple WYSIWYG capable Cftextarea control?
AS> 0_0
AS> -Gel
AS>
> Why isn't there a simple WYSIWYG capable Cftextarea control?
This funny thing called the Browser
New ones have new controls... So how is CF meant to keep up with these?
~|
Archives: http://www.houseoffusion.com/cf_lists/inde
Why isn't there a simple WYSIWYG capable Cftextarea control?
0_0
-Gel
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid
How do you loop over a *2d* array and delete a single row (and all its elements),
where that row is determined by a test of the contents. Like so:
I've been fighting a losing battle with this all afternoon.
---
Ma
I'm pretty sure CF4 had it, because I recall doing
struct(Delete|Insert|Update) calls without a lvalue in the tag, but that
might have been CF4.5.
---
Barney Boisvert, Senior Development Engineer
AudienceCentral (formerly PIER System, Inc.)
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax : 360.64
It seems that some people confuse private beta's with some type of elitist
recognition, and then feel the need to let everyone know about it. I used to
get a bit irked when 'neo' was under development, and people that didn't
even work at mm would gnash their teeth at others for even bringing up the
Brook Davies wrote:
>
> I just saw this now for some reason, but thats a great idea. Thanks! BTW,
> does Tidy correct mistakes in the HTML also?
No idea. But I would be interested in seeing what you come up with :-)
Jochem
~|
>Bad form to reply to my own post, I know.
Why?
>
>Solved part of the problem, at least. The trick was to go into all of the
>JRun configuration files and comment out everything that had anything to do
>with Apache Axis. CFMX now starts with no error messages.
Actually, the trick with CFMX on
I tend to salt everything "to taste". heh. :)
> Guess it needs to be taken with 4 grains of salt 8^).
> --
> Mosh Teitelbaum
> evoch, LLC
> Tel: (301) 942-5378
> Fax: (301) 933-3651
> Email: [EMAIL PROTECTED]
> WWW: http://www.evoch.com/
>> -Original Message-
>> From: S. Isaac Dealey [m
IIRC, this was new to CF5.
Doug
>-Original Message-
>From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 10, 2003 5:34 PM
>To: CF-Talk
>Subject: RE: Is there a good way to do this?
>
>
>That seems too simple. :-)
>
>Did it work that way in CF 3? (The ver I learned cf in)
That seems too simple. :-)
Did it work that way in CF 3? (The ver I learned cf in) I seem to remember
needing the "variable part" regardless of what you were doing, just to be
valid syntax.
Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
Vivid Med
>Well, I was commenting on having passed a variable from a form
>and simply determining whether to perform the action or
>display the message on the basis of just that one form field,
>without any other context such as the db, etc.
ah... I missed that boat.
>Gotta love fire-and-forget solution
When using a CFSET tag, you only need the variable part if you want to
capture the result of the function/expression. So, if you were adding 2
numbers, you'd want to have the variable as in:
But if the function directly modifies one of its arguments and you don't
need to use the result
Guess it needs to be taken with 4 grains of salt 8^).
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
> -Original Message-
> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 4:28 PM
>
Jochem,
I just saw this now for some reason, but thats a great idea. Thanks! BTW,
does Tidy correct mistakes in the HTML also?
Brook
At 01:34 AM 5/31/2003 +0200, you wrote:
>Brook Davies wrote:
> >
> > I am trying to generate some HTML via CF and I want the HTML to come out
> > clean. But I en
If you are using MX put these two queries in a .CFC and invoke it with
#pageid# as an argument.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?
> Isaac wrote:
>>You could do that -- you'd have to use javascript to
>>submit
>>the form and set the value of the field after the form is
>>submitted.
> Nope. I use something very close to the code below. The
> user is assigned a form ID on arrival. This ID is checked
> for using both the pers
> javax.xml.transform.TransformerException: "with-param" attribute is not
> allowed on the xsl:call-template element!
>
> But I'm not doing any with-param call (though I'd like to). Here's the
> XSL:
Yes, you are, the XSL template expect three of them:
> yes
> profile
> profile
Unless you provid
>> > One word - CFSCRIPT
>>
>> Why?
> Speed and WhiteSpace
> I know CFMX "levels" the speed between CF tags and
> CFSCRIPT but it's
> easier to read and easier if the code is running on CF5
> and CFMX
> As for WhiteSpace, I know that CFSETTING can get rid of
> that, but most
> people tend to not
Dave,
You were correct. For some reason I had to remove, then re-install the
JRun connector to Apache. That seems to have solved some of the
problems. Thanks for the tip. :)
I'm having one last problem with the server, but it may be a datasource
connection problem. If so, I will have to t
Isaac wrote:
>You could do that -- you'd have to use javascript to submit
>the form and set the value of the field after the form is
>submitted.
Nope. I use something very close to the code below. The user is assigned a form ID
on arrival. This ID is checked for using both the persistent var
Oops... forgot to remove the temp= ... heh. :)
> Why even create the temp variable??
>
> chris
>>-Original Message-
>>From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, June 10, 2003 1:14 PM
>>To: CF-Talk
>>Subject: Re: Is there a good way to do this?
>>
>>You weren't t
> wouldn't that fire every time the form was submitted?
Right, it would... I think my interpretation of what you were saying goes something
like this:
form.submit --> action page, begin processing
meanwhile, the user is still looking at the form since they don't get the action page
results unt
To be honest, I was not sure if I needed to or not. I thought about it for
a sec and decided that I was sure it would work with the temp variable.
Is there a rule of thumb to when you have to use a temp var for doing stuff
like that. I found some function last week that required me to make a tem
sounds just like what i mentioned in my last post. Doesnt seem like Apache
is acknowledging your cfm pages
- Original Message -
From: "Richard Crawford" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 4:24 PM
Subject: Re: Reinstalled everything... still
yeah, I thought about that afterwards.
somewhere I have done it and I don't remember what I did. I think I had set
a session and used that as the default value for the hidden field and added
+1. So if it was more that 1 it gave the error message.
I told u I don't know crap, lol
- Original Mes
> > One word - CFSCRIPT
>
> Why?
Speed and WhiteSpace
I know CFMX "levels" the speed between CF tags and CFSCRIPT but it's
easier to read and easier if the code is running on CF5 and CFMX
As for WhiteSpace, I know that CFSETTING can get rid of that, but most
people tend to not use it...
I'll just throw out that while in this case you just wanted to grab some
static files shared with ASP.NET, in the future you (or other readers) may
want to do more direct integration, like we can do currently with J2EE pages
in CFMX and BlueDragon, such as sharing session and application variables,
> I haven't tried it, so take this with a grain or three of
> salt, but 2 things
> stand out:
> 1) Start x at 1, not 0, and
> 2) You probably have to use the Evaluate() function around
> the i[x] bit as
> in:
> replace(Evaluate("getreg.#i#[#x#]"),"'", "''","all")
> Again, untested.
This sh
Why even create the temp variable??
chris
>-Original Message-
>From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 10, 2003 1:14 PM
>To: CF-Talk
>Subject: Re: Is there a good way to do this?
>
>You weren't too far off...
>
>
>
>replace(getreg[i][currentrow],
wouldn't that fire every time the form was submitted?
and if refresh was pressed on the form's action page...how would it prevent
the data from re-posting?
- Original Message -
From: "Dave Lyons" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 1:04 PM
Su
> One word - CFSCRIPT
Why?
Outside of having a structtoquery() function...
> Also, when you refer to a cell in a query with square
> brackets it's
> Query[Field][Row]
> So it'd be GetReg[i][x]
>> From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
>>
>> I need to replace all single quotes with do
The latest one... but keep an eye out for another e-mail I sent with this
same subject line.
At 01:20 PM 6/10/2003 -0700, you wrote:
>Which ColdFusion installer did you use? The same one as before or did you
>download the latest one from Macromedia's website?
>
>chris
~~
Bad form to reply to my own post, I know.
Solved part of the problem, at least. The trick was to go into all of the
JRun configuration files and comment out everything that had anything to do
with Apache Axis. CFMX now starts with no error messages.
I still am experiencing a problem, however,
You could do that -- you'd have to use javascript to submit the form and set the value
of the field after the form is submitted.
> can always add a hidden field to the form with a specified
> value
> and then on the processing page add something like:
>
>
> Geezo have some patients, you alread
im not to familiar with apache but do you need to go in and tell it to look
for and process cfm pages like you have to do with IIS?
Because obviously in IIS if you don't enter cfm it wont process cfm pages.
Dave
- Original Message -
From: "Richard Crawford" <[EMAIL PROTECTED]>
To: "CF-T
Thank you!
I knew it was something simple like that.
Yes, CFSCRIPT is how I should do it.
Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770
-Original Message-
From: Philip
Got mine a little while ago.
==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772
==
If you are not satisfied with my service, m
Which ColdFusion installer did you use? The same one as before or did you
download the latest one from Macromedia's website?
chris
>-Original Message-
>From: Richard Crawford [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 10, 2003 12:56 PM
>To: CF-Talk
>Subject: Reinstalled everything..
Actually, either way would work. Both of the following produce the same
result:
QueryName.ColumnName[RowNumber]
QueryName["ColumnName"][RowNumber]
I had forgotten about this second format which is a good way of getting
around having to use Evaluate().
--
Mosh Teitelbaum
evoch,
I've got a question about CFMX and connections to datasources.
It seems that CF5 was able to connect even more than previous versions. Now I'm
starting to get the feeling that CFMX
can only connect to datasources that Java can connect to.
Can anybody clear this up for me?
I was all excited abo
You weren't too far off...
Sorry for the wrap...
> I need to replace all single quotes with double single
> quotes in all of the
> fields of a query. I know that I could do it in a query
> but in this case I
> am opting not to.
> I have come up with this idea of but I am having a
I haven't tried it, so take this with a grain or three of salt, but 2 things
stand out:
1) Start x at 1, not 0, and
2) You probably have to use the Evaluate() function around the i[x] bit as
in:
replace(Evaluate("getreg.#i#[#x#]"),"'", "''","all")
Again, untested.
--
Mosh Teitelbaum
evoc
I backed up all of my data files, deleted Cold Fusion and JRun, and
reinstalled everything from scratch. I first installed JRun 4, then the
JRun 4 service pack 1a updater. Then I installed Cold Fusion, then the
Cold Fusion MX Updater 3. All of the installations seemed to work fine,
with no e
can always add a hidden field to the form with a specified value
and then on the processing page add something like:
Geezo have some patients, you already submitted the form!
but then again, i know jack squat about cf
- Original Message -
From: "Charlie Griefer" <[EMAIL PROTECTED]
One word - CFSCRIPT
Also, when you refer to a cell in a query with square brackets it's
Query[Field][Row]
So it'd be GetReg[i][x]
> From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
>
> I need to replace all single quotes with double single quotes
> in all of the fields of a query. I know that I
Excel DSNs are notoriouly horrible
Make an Access Link Table and then use Access as the datasource - it
also means that it's easier to replace the Excel spreadsheet
> From: Tyagi, Badal [mailto:[EMAIL PROTECTED]
>
> I'm unable to make dsn in CFMX of Microsoft Excel sheet. If I
> do it through ODB
Is this all of your logic? If so, I'd look into streamlining your CFIF's
You're doing a CFIF NOT NewRecord, then doing exactly the same CFIF
straight after...
What I normally do is use the same SELECT for both, but have an empty
string for the new records
> From: Venable, John [mailto:[EMAIL PRO
>
> Two follow up questions. You can't directly use the var key
> word in the tag; .
Correct. You also can't do after any line of real code.
So, your first N lines of a method will be cfargument tags, then cfset
var tags, then 'real' code.
So, that's why you saw me do:
> Also, when
I assign a UUID to the form in both a persistent var (session or client) and a hidden
form var (as a backup). Then test for that in the db upon an insert attempt. Any
user who hits refresh gets a nice note saying "I don't THINK so". The same mechanism
and a cfif or two also prevents a user fr
Hi,
I'm trying to do some XMLTransform operations and am getting the
following error:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: "with-param" attribute is not
allowed on the xsl:call-template eleme
I need to replace all single quotes with double single quotes in all of the
fields of a query. I know that I could do it in a query but in this case I
am opting not to.
I have come up with this idea of but I am having a problem with the "i[x]"
part. Any ideas?
Two follow up questions. You can't directly use the var key word in the
tag; . Also, when exactly does this
data get garbage collected? Since it is in a method, does a query get
created and destroyed every time that method is used? I does it persist for
the life of the entire component?
-
These are current issues not fixed in updater 3. There was a known database issue that
was fixed in updater 3 that prevented the installer for my cms from functioning on
cfmx until updater 3 was released. ( Some queries which didn't produce a recordset,
such as create or alter table statements w
Thanks for clarifying that Charlie. :) I just realized my explanation was a little
fuzzy.
> I agree with just about everything Isaac said, but wanted
> to chime in and
> say that the easiest solution would be the on
> the form's action
> page. This is generally how I prevent the duplicate
> sub
In the debug window,there are a number of items available for inspection.
each of the items can be expanded/closed by clicking on the + (-) sign.
Each click is saves the item in the application cookie. If more than 10
items are expanded/closed the cookie written by the debugger JS, will
eventually
I agree with just about everything Isaac said, but wanted to chime in and
say that the easiest solution would be the on the form's action
page. This is generally how I prevent the duplicate submissions.
The form's action page contains no HTML, just the insert query. After the
query successfully
>
> So this example was meant to show how to protect variables
> inside the method? If I follow correctly, you created a
> variable scoped to the 'var' scope (named "myQuery"), then
> set the variable equal to the value of the Query? Does this
> mean that, if I follow what you say below...
>
Aren't there issues with disabled in some fairly common versions of NS and Mozilla?
> Something else you can do is disable the submit button
> onClick
> onClick="this.disabled=true;">
> I think thats the right value to assign to disabled.
> Stephen
> - Original Message -
> From: "Shahz
> What is best way of preventing multiple entries in DB
> through form
> submission when user clicks on REFRESH or BACK button of
> browser?
> Thanks
> Shaz
I usually use cflocation to move the browser to a confirmation template which informs
the user that the record has been updated.
In my ca
on 6/10/03 2:55 PM, Raymond Camden at [EMAIL PROTECTED] wrote:
> By the way, there is one more scope you should be convered with - and
> that is 'var' scoped method variables. Whenever you use a value in a
> method, a value that is NOT meant to exist in the CFC whole, you should
> use the var scop
Thanks, this is actually beginning to make some sense. As to the
variables.A throwing an error, I figured out that I wasn't being consistent
in my naming. I set it as variables.A, but then I called it in the
calculation as just A. When I changed that call to variables.A everything
worked/didn't
You are asking all the right quesitons to learn... keep asking. :-)
to keep variables protected within functions, use:
to keep variables protected to the cfc and functions within the cfc, use:
your own structure or use no scope.
to allow variables to be exposed to the cfc (including the funct
1 - 100 of 239 matches
Mail list logo