<cfargument ...........................default="#queryNew()#/>
insead of
<cfargument ...........................default="#queryNew("")#/>

<rant>
You need to close your quotes!
In both cases, you have odd numbers of quotes: one and three
This means that you have opened your quotes, but not closed them.
If you do not close your quotes, everything that follows is interpreted as a
string, not coldfusion!
Try this: default="#queryNew('')#"
Or this: default="#queryNew("")#"
Or this: default='#queryNew("")#'
See how in each example, there are even amounts of quotes?
The quotes are opened and then closed.
A decent IDE would make this obvious. Even the free ones. get crimson editor
or something.
Stop sending your code to various mailing lists for simple debugging!
</rant>

Sorry all. have not had nicotine in 3 days.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Salvatore Fusto
Sent: 31 March 2006 15:35
To: [email protected]
Subject: Re: [CFCDev] max number of argument to init method


Excuse me, sirs
in my bean i model some compositions as structs and a query, but  in an
argument i wrote:
<cfargument ...........................default="#queryNew()#/>
insead of
<cfargument ...........................default="#queryNew("")#/>
receiving a very strange error about closin<cffunction> tag
excuse me if you can
regards
salvatore

----- Original Message -----
From: "RADEMAKERS Tanguy" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 31, 2006 1:39 PM
Subject: RE: [CFCDev] max number of argument to init method


+1 on this, it *just* happened to me this morning: i had hit a keyboard
shortcut in the wrong place w/out noticing it and mangled one of the
arguments. Not the most intuitive error message...

/t

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Jim
>Sent: Friday, March 31, 2006 12:50 PM
>To: [email protected]
>Subject: RE: [CFCDev] max number of argument to init method
>
>CFMX 6.1:
>I've just tried it with 50 arguments, no problems.
>I guess one of your cfargument tags is malformed?
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Behalf Of Salvatore Fusto
>Sent: 31 March 2006 11:34
>To: [email protected]
>Subject: [CFCDev] max number of argument to init method
>
>
>Hi all,
>in am modeling a bean with about 40 properties, then i write a
>cfc with an
>init() method containing 40 <cfarguments..> tags; when i
>instanziate the
>cfc, i receive an error:
>
>Context validation error for tag cffunction.
>The start tag must have a matching end tag. An explicit end tag can be
>provided by adding </cffunction>. If the body of the tag is
>empty you can
>use the shortcut <cffunction .../>.
>
>if i reduce the arguments to 20 all is ok: is this a limit to function
>arguments?
>regards
>salvatore
>
>
>
>----------------------------------------------------------
>You are subscribed to cfcdev. To unsubscribe, send an email to
>[email protected] with the words 'unsubscribe cfcdev' as the
>subject of the
>email.
>
>CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
>(www.cfxhosting.com).
>
>An archive of the CFCDev list is available at
>www.mail-archive.com/[email protected]
>
>
>
>
>
>----------------------------------------------------------
>You are subscribed to cfcdev. To unsubscribe, send an email to
>[email protected] with the words 'unsubscribe cfcdev' as the
>subject of the email.
>
>CFCDev is run by CFCZone (www.cfczone.org) and supported by
>CFXHosting (www.cfxhosting.com).
>
>An archive of the CFCDev list is available at
>www.mail-archive.com/[email protected]
>
>
>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]



__________ Informazione NOD32 1.1464 (20060331) __________

Questo messaggio  รจ stato controllato dal Sistema Antivirus NOD32
http://www.nod32.it




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to