yes that would work but not with using includes with the tabs or source. the
issue is that when you do it with an include it does not work due to CF
thinking you dont have a completed form
Sorry I meant wrapping the whole set of tabs in 'form tags' ... I
didn't mean to confuse you :)
www.necfug.com
-Original Message-
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk]
Sent: Friday, August 28, 2009 5:16 AM
To: cf-talk
Subject: Re: submit one big form post of all tabs
yes that would work but not with using includes with the tabs or source. the
issue is that when you do
I see, never mind back to the drawing board. thanks.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
I can't see why you wouldn't be able to. The tabs are an implementation
of ExtJs 1.1, and I've done it with that. As long as the tab container
is wrapped in your opening and closing form tags, and you aren't
remotely populating the tab contents (via an ajax load) then it should
be possible.
When you are using tabs with source it treats it as a page on its own so even
if you include the form around the whole cflayout if you dont include the start
and end cffrom tags again you will get a CF error, its the same with any thing
you include in a tab layout using source or a bind
i.e.
someone must have done this before? using tab layout in CF8 had tabs with just
one form post submitting all data in all tabs at once?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the
[mailto:glyn.jack...@newebia.co.uk]
Sent: Tuesday, August 25, 2009 11:48 AM
To: cf-talk
Subject: Re: submit one big form post of all tabs
someone must have done this before? using tab layout in CF8 had tabs with
just one form post submitting all data in all tabs at once
]
Sent: Tuesday, August 25, 2009 11:56 AM
To: cf-talk
Subject: RE: submit one big form post of all tabs
Glyn,
I have done this using cflayout and wrapping the whole set of tabs in from
tabs. What problems are you experiencing?
-mark
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
Thanks for the solution Dave...
In the form I am creating, sometimes the user would be presented
with a link to enroll themselves
(This would happen before the actual form submission). So, when they
click that which takes them
to another form, those form fields should get prepoulated
I am faced with a peculiar situation. I have a form, which has a save link at
the end of finishing the form.
In the form, I have used Javascript to show/display some other hyperlink, and
it has its own href attibute
and am passing variables with it as URL scope. But now, I need to include
In the form I am creating, sometimes the user would be presented with a link to
enroll themselves (This would happen before the actual form submission). So,
when they click that which takes them to another form, those form fields should
get prepoulated with the form fields that I need to pass
In the form I am creating, sometimes the user would be presented with a link
to enroll themselves
(This would happen before the actual form submission). So, when they click
that which takes them
to another form, those form fields should get prepoulated with the form
fields that I need to
fun and learning wrote:
As I said I was using URL, but due to security concerns, I have to use form
variables to post data.
Thanks
Dave have you pretty good advice an how to accomplish your goal.
I would like to point out the red flag of any statement that indicates
post (form as you
Ian Skinner wrote:
Dave have you ...
*gave*
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Thanks.
-Original Message-
From: C. Hatton Humphrey [mailto:chumph...@gmail.com]
Sent: Thursday, January 01, 2009 4:49 PM
To: cf-talk
Subject: Re: Appending one file to another
Can I use cffile to append one file to another?
cffile action=append output=File2.txt file=File1.txt
Thanks.
-Original Message-
From: Brad Wood [mailto:b...@bradwood.com]
Sent: Thursday, January 01, 2009 4:57 PM
To: cf-talk
Subject: Re: Appending one file to another
This isn't a direct answer to your question, but if your process involves
creating or concatenating a very large amount
Thanks.
-Original Message-
From: Ryan Stille [mailto:r...@cfwebtools.com]
Sent: Thursday, January 01, 2009 5:09 PM
To: cf-talk
Subject: Re: Appending one file to another
Stephens, Larry V wrote:
Can I use cffile to append one file to another?
cffile action=append output=File2.txt
Can I use cffile to append one file to another?
cffile action=append output=File2.txt file=File1.txt
Doesn't seem to work. (This is assuming File2.txt is too large to store in a
variable.)
My problem is running data through a loop to convert HTML to rtf. The process
times out after
This isn't a direct answer to your question, but if your process involves
creating or concatenating a very large amount of strings you should look
into Java's StringBuffer class (or StringBuilder depending on your JVM).
They can dramatically help a ton of string manipulations. Also, using
Stephens, Larry V wrote:
Can I use cffile to append one file to another?
cffile action=append output=File2.txt file=File1.txt
Doesn't seem to work. (This is assuming File2.txt is too large to store in a
variable.)
Since you didn't mention a version, I assume you are on the latest?
Mod_rewrite is your friend!
If you are on apache then mod_rewrite. If not then there are a couple
of solutions using ISAPI on IIS.
http://letmegooglethatforyou.com/?q=mod_rewrite+IIS
-J.J
On Mon, Dec 22, 2008 at 10:32 AM, Les Mizzell lesm...@bellsouth.net wrote:
While I have no problem
Les Mizzell wrote:
While I have no problem writing/decoding URLS like:
mysite.com/staff.cfm/mary_smith
I need a way to take it one step further. I don't want to see the .cfm
extension at all:
mysite.com/staff/mary_smith
This can be done using several methods. My personal favorite is to
I use cfobject to instantiate my components in my
Application.cfm file.
cfobject name=test1obj component=cfc/test1 cfobject
name=test2obj component=cfc/test2
Can I use test1.cfc to call a method from test2.cfc?
In a typical .cfm page I would invoke the component like
this, cfinvoke
cfoutput#valueList(getProd.specs_partnum)#/cfoutput
-Joe
On Tue, May 13, 2008 at 11:26 AM, morchella
[EMAIL PROTECTED] wrote:
ok. i am having a serious brain fart...
i know there is a beter way to ooutput a list the is comma seperated then
this..
cfloop query=getProd
cfset
ValueList(getProd.specs_partnum, ,)
G
On Tue, May 13, 2008 at 11:26 AM, morchella [EMAIL PROTECTED]
wrote:
ok. i am having a serious brain fart...
i know there is a beter way to ooutput a list the is comma seperated then
this..
cfloop query=getProd
cfset columns =
morchella wrote:
ok. i am having a serious brain fart...
i know there is a beter way to ooutput a list the is comma seperated then
this..
cfloop query=getProd
cfset columns = columns#specs_partnum#,
/cfloop
!--- remove the last comma ---
cfset columns =
awsome...
thank you!
now.. =]
how would i remove doubles?
!--- List of Accessory's that are assigned to this product ---
cfquery name=getAccessory datasource=listit
SELECT DISTINCT ascList
FROM dbo.list
WHERE (specs_partnum IN (#columns#)) AND (ascList IS NOT NULL)
/cfquery
gives me...
also why is it not listed in my wack books under functions?
also where did functions go in the 8 series of wack books..
i know its there in 4.5-7...
On Tue, May 13, 2008 at 11:46 AM, morchella [EMAIL PROTECTED]
wrote:
awsome...
thank you!
now.. =]
how would i remove doubles?
!--- List of
If you're doing a distinct in your query, or a group by, then you shouldn't
have any dupes.
-Original Message-
From: morchella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:47 AM
To: CF-Talk
Subject: Re: easy one! : comma separated list from cfoutput
awsome...
thank you
You can do it using a QoQ and Select DISTINCT
OR
I wrote a couple of functions to do this. One day I will post them to
CFLib.
/**
* Case-sensitive function for removing duplicate entries in a list.
* @param list The list to be modified.
* @return Returns a list.
*/
function
Wait... I cant remember if I wrote those or not. I have a library of list
functions... Some I wrote, some I got offa CFlib. Don;t want to take credit
for someone else's work.
G
On Tue, May 13, 2008 at 12:04 PM, Gerald Guido [EMAIL PROTECTED]
wrote:
You can do it using a QoQ and Select
PROTECTED]
wrote:
If you're doing a distinct in your query, or a group by, then you
shouldn't
have any dupes.
-Original Message-
From: morchella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:47 AM
To: CF-Talk
Subject: Re: easy one! : comma separated list from cfoutput
Try this:
http://www.bennadel.com/blog/432-Using-ColdFusion-Structures-To-Remove-D
uplicate-List-Values.htm
m!ke
-Original Message-
From: morchella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 11:08 AM
To: CF-Talk
Subject: Re: easy one! : comma separated list from cfoutput
Order by ascList... that should get DISTINCT to work.
cfquery name=getAccessory datasource=listit
SELECT DISTINCT ascList
FROM dbo.list
WHERE (specs_partnum IN (#columns#)) AND (ascList IS NOT NULL)
ORDER BY ascList
/cfquery
Robert B. Harrison
Director of Interactive services
Austin
ORDER BY ascList
that still gives me
ascList
132
135
135,132
On Tue, May 13, 2008 at 12:37 PM, Robert Harrison
[EMAIL PROTECTED] wrote:
Order by ascList... that should get DISTINCT to work.
cfquery name=getAccessory datasource=listit
SELECT DISTINCT ascList
FROM dbo.list
WHERE
ian, that is exactly what i am doing.
but i am storing a list inside a column to refer to user created groupings
of items.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
In that case you would probably either have to move the values to a look up
table (normalize) or uses a function to tease out the dupes.
G
On Tue, May 13, 2008 at 1:11 PM, Paul Ihrig [EMAIL PROTECTED] wrote:
ian, that is exactly what i am doing.
but i am storing a list inside a column to
If that's what you're doing then why not have a user_groupings
relational table that holds the user_id and group_id?
On Tue, May 13, 2008 at 12:11 PM, Paul Ihrig [EMAIL PROTECTED] wrote:
ian, that is exactly what i am doing.
but i am storing a list inside a column to refer to user created
Paul Ihrig wrote:
ian, that is exactly what i am doing.
but i am storing a list inside a column to refer to user created groupings
of items.
Ok, this would be fairly easy to normalize with a join table.
user_grouping
--
userID
groupID
Then you would have records something like
Paul Ihrig wrote:
ORDER BY ascList
that still gives me
ascList
132
135
135,132
It looks to me like you have a de-normalized database scheme there that
stores a list of values in a column. If that case then that is the
result you are going to get. '132', '135' and '135,132' are three
lets try this
productTable
pId, acList
1.3,5,7
2.2,3
accessoryTable
aID, Products
2.1,2,3
3.3,4
5.2
7.12,15, et..
the user basically selects aa aid from the accessories table
in the form of a check box.
and ascociates as
Paul Ihrig wrote:
lets try this
productTable
pId, acList
1.3,5,7
2.2,3
accessoryTable
aID, Products
2.1,2,3
3.3,4
5.2
7.12,15, et..
the user basically selects aa aid from the accessories table
in the form of
Ian, Thank You!
http://63.144.103.199/products/index.cfm?n1ID=5n2ID=46n3ID=148
cant really even to attempt to explain the db structure...
never worked with arrays or structures.
i do appreciate it..
On Tue, May 13, 2008 at 2:12 PM, Ian Skinner [EMAIL PROTECTED] wrote:
Paul Ihrig wrote:
lets
Sonny Savage wrote:
Ouch... doing conversions in the where clause is gonna' kill your
performance.
Yeah, the good thing is that this only has to run once. This was not a
web application requirement. It is a one time only, public data request
that we get $50 for but costs us a couple hundred
With much blood, sweat and tears and finally finding a source of help.
I know of this:
SELECT
pur.epa_registration_num,
prod.mfg_firmno,
prod.label_seq_no,
prod.revision_no,
prod.reg_firmno
FROM
pur89raw pur,
product prod
WHERE
(pur.chemical_code LIKE '%185'
Ouch... doing conversions in the where clause is gonna' kill your
performance.
I'm not sure concatenations work in the where clause, but something like
this might have better performance:
WHERE ( pur.chemical_code LIKE '%185' OR pur.chemical_code LIKE '%573' )
AND ( pur.epa_registration_num =
Yep...my final domain was transferred today...good riddance to bad rubbish!
eric
-Original Message-
From: Casey Dougall [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 7:29 PM
To: CF-Talk
Subject: RegisterFly - one of my domains was transfered to GoDaddy
Well, Looks like things
How about if you listLast the Rightmost, say 100, characters?
That was the idea. I'd be curious to know if there is a significant
difference in performance.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
On 4/11/07, Claude Schneegans [EMAIL PROTECTED] wrote:
How about if you listLast the Rightmost, say 100, characters?
That was the idea. I'd be curious to know if there is a significant
difference in performance.
That's super easy to determine.
The following code shows that the listLast()
I also tried this:
cfset foo = right(tempvar,100)
cfif foo contains eof lines WXYZ
cfset foo2 = 1
/cfif
versus this:
cfset foo = reFind(eof lines WXYZ$,tempvar)
and found that the regex is really really slow...even slower than the
listLast()
Thanks Rick.
So, in the case for my file with 8500 lines... If I get the last 100 chars
and then do a find on them, I should be good to go?
Che
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 11, 2007 8:58 AM
To: CF-Talk
Subject: Re: Finding one line
the listLast method completed in around 5.5
seconds. The rightmost chars method completed in 80 MILLIseconds.
Ok, so this confirm that the listLast function is not optimised.
H... poor programing :-/
--
___
REUSE CODE! Use custom tags;
See
If I get the last 100 chars
and then do a find on them, I should be good to go?
It should not only be good, it should be much better ;-)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to
While I have your attention... What would be the *best* way to delete the
last line of a 8500 line file? Can it be done in one statement? Thanks...
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 11, 2007 9:59 AM
To: CF-Talk
Subject: Re
What would be the *best* way to delete the
last line of a 8500 line file? Can it be done in one statement?
Well, this should do it: (not tested)
cfset foo = right(tempvar,100)
CFSET lastLineLen = len(listLast(foo,chr(10)))
CFSET tempvar = left(tempvar, len(tempvar) - lastLineLen)
Of course,
Only if you are SURE that the EOF lines: is ALWAYS in the last logical
line and within the last 100 chars.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 11, 2007 8:36 AM
To: CF-Talk
Subject: RE: Finding one line of text in a large text file
listDeleteAt(ListLen(list,delim))
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 11, 2007 9:01 AM
To: CF-Talk
Subject: RE: Finding one line of text in a large text file.
While I have your attention... What would be the *best* way to delete
listDeleteAt(ListLen(list,delim))
Definitely not *the best*, according to the discussion in this thread.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL
Subject: Re: Finding one line of text in a large text file.
listDeleteAt(ListLen(list,delim))
Definitely not *the best*, according to the discussion in this thread.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags
You might want to look into the Java string-handling functions. There's
probably something there that will serve and should be plenty fast.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 1:01 PM
To: CF-Talk
Subject: Finding one line of text
On 4/11/07, Everett, Al (NIH/NIGMS) [C] [EMAIL PROTECTED] wrote:
You might want to look into the Java string-handling functions. There's
probably something there that will serve and should be plenty fast.
Well, we've come up with things that can do 10,000 iterations in 80
milliseconds, I don't
cfif trim(listLast(fileContents,chr(10))) contains eof lines WXYZ
...
/cfif
Rick
Or something equivalent...
On 4/10/07, Che Vilnonis [EMAIL PROTECTED] wrote:
Hello all. I am reading the contents of a tab delimited text file using
cffile and the new line character. It may have up to 8500
See, I knew there had to be a list function that I forget about! Thanks
Rick.
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 1:13 PM
To: CF-Talk
Subject: Re: Finding one line of text in a large text file.
cfif trim(listLast(fileContents,chr
I knew there had to be a list function that I forget about!
I may be wrong, but I'd be surprised if the listLast function was smart
enough to parse the string backward in order to find the first
occurrence of the delimiter and extract the last item in the list.
If It does, then fine, you've
How about if you listLast the Rightmost, say 100, characters? ie
trim(listLast(right(fileContents,100),chr(10))) contains eof lines WXYZ
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 6:54 PM
To: CF-Talk
Subject: Re: Finding one line
Since you are only doing ONE grouping, that is all you will get in
return:
Try this:
cfoutput query=gettrial group=email1
#name# -- cfoutput#email1#/cfoutput br
/cfoutput
-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 12:49 PM
]
cc_test2 -- [EMAIL PROTECTED]
-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 12:55 PM
To: CF-Talk
Subject:RE: Only one record
Since you are only doing ONE grouping, that is all you will get in
return:
Try this:
cfoutput query
The simple cringe method would be to add maxrows=1 to your query or
your output code.
Chris
-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 1:24 PM
To: CF-Talk
Subject: RE: Only one record
Thanks Randy, however, same result. It only
Validate your query using CFDUMP VAR=#gettrial#
You may only be getting the single result set.
-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 1:24 PM
To: CF-Talk
Subject: RE: Only one record
Thanks Randy, however, same result
the dateAdd(now()) do for you?
-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 1:24 PM
To: CF-Talk
Subject: RE: Only one record
Thanks Randy, however, same result. It only displays the one record
(table) and its emails.
cc_test -- [EMAIL
At 15k or 1.5k a QoQ is pretty small for overhead, even a shared hosting
environment should handle this fine. The problem with Query caching on a
shared environment the # cached queries is controlled by the host and who
knows what other systems are on that box that might eat that # away. The
By the way, why exactly does cfqueryparam prevent caching?
The query still looks the same in the end using some custom
cf check or cfqueryparam check. Why didn't MM work around
whatever the problem is?
There's no inherent reason, beyond that's how they made it. I seem to
recall someone at
The problem with Query caching on a shared environment the #
cached queries is controlled by the host and who knows what
other systems are on that box that might eat that # away.
The application scope approach bypasses that issue.
While you can bypass the fixed number of cached queries
Actually only 1.5k records, not 15k. Not a big/popular site.
Just setting up mysql.
How do people cache queries when using cfqueryparam?
~|
Macromedia ColdFusion MX7
Upgrade to MX7 experience time-saving features, more
How do people cache queries when using cfqueryparam?
Store the query and creation time in the Application scope?
eg, something along the lines of...
cfif NOT StructKeyExists(Application.CachedTime,'Whatever')
OR DateDiff(h, Application.CachedTime.Whatever, Now()) GTE 4
cfquery
Store the query and creation time in the Application scope?
Is that a memory problem, or does it work the same as caching queries normally?
I would think the latter has some automatic management while the former can
lead to problems?
Is the mysql cache another option? I'm just changing from an
How much traffic? What DB? And what datatypes?
In most cases individual query cache should be enough as 15K records is not
that much, I think a QoQ could be pretty mem intensive in this case.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN,
I've never tried separating my one big query into little queries. I'm not
doing traditional query caching...
our mainframe application stores all of it's code descriptions in a single
table... ie, pretty much every dropdown list in the entire database... from
degrees to alumni activities to high
(positive / (positive + negative)) * 100
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 11:09 AM
To: CF-Talk
Subject: Easy one
My math skills seems to suck!!
I have a table where I am holding feedback left for sellers.
[feedback]
id
Should be the total number of positives / total number of reviews * 100
I would think, but perhaps my math skills are lacking as well.
On 1/4/07, Doug Brown [EMAIL PROTECTED] wrote:
My math skills seems to suck!!
I have a table where I am holding feedback left for sellers.
[feedback]
id
= positive feedback / (positive feedback + negative feedback)
On 1/4/07, Doug Brown [EMAIL PROTECTED] wrote:
My math skills seems to suck!!
I have a table where I am holding feedback left for sellers.
[feedback]
id (int)
positive (bit)
negative (bit)
rating (int) 1-5
I want to get
Thanks!! Perfect.
Doug B.
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Yes, you may call function of other cfc's. But, like working with class
files in java or C++, if the file has no reference to instantiate that
object (conferences) then it won't find the function. You will need to
create an object instance [variables.conferences =
-Talk cf-talk@houseoffusion.com
Sent: Thursday, July 06, 2006 10:47 AM
Subject: Re: calling one function inside another
Yes, you may call function of other cfc's. But, like working with class
files in java or C++, if the file has no reference to instantiate that
object (conferences
Actually, all the CFC's are loaded into the application scope, which is
why the whole thing is confusing me. In application.cfm, here is one
example of the code:
!--- get conference CFC ---
cfset application.conference =
Did you try this?
cfset myVar = application.conference.GetConferences() /
On 7/6/06, Crow T. Robot [EMAIL PROTECTED] wrote:
Actually, all the CFC's are loaded into the application scope, which is
why the whole thing is confusing me. In application.cfm, here is one
example of the code:
Yea, I was just about to write in that using it that way works.
Thanks, everyone.
Matt Williams wrote:
Did you try this?
cfset myVar = application.conference.GetConferences() /
On 7/6/06, Crow T. Robot [EMAIL PROTECTED] wrote:
Actually, all the CFC's are loaded into the application
Even though all the CFCs exist in the app scope, when you are _inside_
another CFC you shouldn't address the other CFCs that way. If you want
an instance of Conference CFC, you shouldmake a new instance of it.
This would be best inside the init() function so it's only made once.
On 7/6/06, Crow
I agree 100% here. This kind of object composition save so many
headaches and makes the main component stand alone as it should.
On 7/7/06, Raymond Camden [EMAIL PROTECTED] wrote:
Even though all the CFCs exist in the app scope, when you are _inside_
another CFC you shouldn't address the other
I need to be able to hit a submit button have it submit
one form (that it is
not in) then after that submit has been processed submit a
second form (form
the submit button is in). They have to be in order because
processing in the
first form is needed for the second one. I'm thinking I
My PERSONAL preferences is that if the method being calling has 0 or 1
argument, then use a function call such as othermethod(). If it has 1 or more
arguments, then use a cfinvoke method=othermethod. DO NOT USE a component
argument in an internal CFINVOKE as it will invoke a new instance of the
Pete,
As an alternative, we never use CFINVOKE. (But if we did use
CFINVOKE, we'd only use CFINVOKE).
In order to keep code consistent we always call the functions in the
same manner wether it has 0 or 10 arguments. If we have more than 2
or 3 arguments start using whitespace to your
Pete's example of a multi-argument function call syntax is a clean one but one
that few people use. Most of the time they do something like this:
var isValidEmail = checkEmail([EMAIL PROTECTED],secondArg,more than 2
args);
which is perfectly legal, but far from informative. If you are going to
So you can name your args ina function styled call? I never knew that and
don't use the function style call because the function arg order could
change and then you'd be passes args in the wrong orderbut if they are
named that would be great!!
I thought you could only use this:
Yep, you can certainly do that. You can also do
myFunction(argumentCollection = myArgStruct), with similar effect.
cheers,
barneyb
On 8/23/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
So you can name your args ina function styled call? I never knew that and
don't use the function style call
You can do with CFSCRIPT-declared functions too.
On 8/23/05, Deanna Schneider [EMAIL PROTECTED] wrote:
You can certainly do it if you're using cffunction... to create your
function. I don't think it's the case when you're using cfscript.
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
Thanks BarneyI've learned my new thing for the day...I can go home now
;-)
Cheers
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web:
You can certainly do it if you're using cffunction... to create your
function. I don't think it's the case when you're using cfscript.
On 8/23/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
So you can name your args ina function styled call? I never knew that and
don't use the function style
-0700
To: cf-talk@houseoffusion.com
Subject: Re: Calling one CFC method from another?
Thanks BarneyI've learned my new thing for the day...I can go home now
;-)
Cheers
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax
Finding the img tags should be easy. Replacing them with inline tags
is, unfortunately, something I'm not familiar with.
To find an img tag, you would look for something like this:
img [^]*src=[^]+[^]*
Hopefully, someone can help with the other half (9/10ths?) of the problem.
--Ben
Patric
1 - 100 of 260 matches
Mail list logo