I'm not sure it's worth me replying because you probably sent your reply
long ago and my ADSL will take another hour for you to see this.
Anyway, I'm not sure what you are getting at, or maybe my original email was
not making sense.
I have fixed the problem and I can now run nested CFSWITCH provided the nest
is on an include. The only drawback is that errors on the nested switch seem
be more difficult to trace.
e.g.
CFSWITCH
CFCASE
INCLUDE
/CFCASE
/CFSWITCH
included page has
CFSWITCH
CFCASE
some output
/CFCASE
/CFSWITCH
Paolo
-----Original Message-----
From: Snake Hollywood [mailto:[EMAIL PROTECTED]]
Sent: 08 January 2003 14:59
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] CFMX No nesting CFSWITCH even in includes
Even if the tag is in an included file, it would still be invalid inside
a cfswitch, because only cfcase and cfdefaultcase tags can run inside a
cfswitch, so including a template outside of this would be pointless as
the code wouldn't run anyway.
<snake>
-----Original Message-----
From: Paolo Piponi [mailto:[EMAIL PROTECTED]]
Sent: 08 January 2003 14:48
To: '[EMAIL PROTECTED]'
Subject: [ cf-dev ] CFMX No nesting CFSWITCH even in includes
I got the following error message:
Only <CFCASE> or <CFDEFAULTCASE> tags may be nested within a <CFSWITCH>
tag.
I agree with it for a single template, but CFMX seems to prohibit
nesting even when the nested tag is actually on a different template and
is CFINCLUDEd. We have code that works fine with this in CF5.5.
Anyone had an experience?
Paolo
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]