 		};
 		return local.rv;
 	}
-</cfscript>  +</cfscript>

		return local.rv;
	}

	public string function $returnStatusText(numeric status=200) { 
		local.status      = arguments.status;
		local.statusCodes = $getStatusCodes();
		local.rv          =  "";		 
		if(structKeyExists(local.statuscodes, local.status)){
			local.rv = local.statuscodes[local.status];
		} else {
			$throw(type="Wheels.RenderingError", message="An invalid http response code #local.status# was passed in.");
		} 
		return local.rv;
	}

	public string function $returnStatusCode(any status=200) {
		local.status      = arguments.status;
		local.statusCodes = $getStatusCodes();
		local.rv          =  "";	 
		local.lookup=StructFindValue(local.statuscodes, local.status);
		if(arrayLen(local.lookup)){
      		local.rv = local.lookup[1]["key"];
      	} else {
			$throw(type="Wheels.RenderingError", message="An invalid http response text #local.status# was passed in.");
		} 
		return local.rv;
	}


		local.rv = "";
		if (!Len(arguments.template))
		{
			local.rv = "/" & ListChangeDelims(arguments.controller, '/', '.') & "/" & arguments.action;
		}
		else
		{
