PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/wheels/tests/_assets/views/test/_custom.cfm

http://cfwheels.googlecode.com/
ColdFusion | 14 lines | 14 code | 0 blank | 0 comment | 0 complexity | b5e8c97ca5c52a23fa40decf741986de MD5 | raw file
 1<cfif StructKeyExists(arguments, "customQuery")>
 2	<cfoutput>#arguments.customQuery['firstName'][3]#</cfoutput>
 3<cfelse>
 4	<cfinclude template="_user.cfm">
 5	<cfif StructKeyExists(arguments, "query")>
 6		<cfset request.partialTests.noQueryArg = false>
 7	</cfif>
 8	<cfif StructKeyExists(arguments, "objects")>
 9		<cfset request.partialTests.noObjectsArg = false>
10	</cfif>
11	<cfif arguments.current IS 3 AND StructKeyExists(arguments, "user") AND IsObject(arguments.user) AND arguments.user.firstName IS "Per">
12		<cfset request.partialTests.thirdObjectExists = true>
13	</cfif>
14</cfif>