PageRenderTime 36ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): Apache-2.0, CPL-1.0
  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>