Howdy all.
OK, easy enough to do a simple expression using cfswitch.
<cfswitch expression="#action#">
<cfcase value = "someaction">
Some Code
</cfcase>
<cfcase value = "someotheraction">
Some Other Code
</cfcase>
<cfdefaultcase>
Default Code
</cfdefaultcase>
</cfswitch>
Which is basically if action is "this" do this, if action is "that"
do that. What about doing a more complex expression. Like if action
is "this" and isdefined('that')? Is there a way to use complex
expressions with cfswitch? Examples?
Thanks! :-D
--
Bud Schneehagen - Tropical Web Creations
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists