GetPageContext () DescriptionThis is a wrapper for the Java PageContext object that provides access to page attributes, configuration, and request and response objects. Example<!--- this example shows using the page context to set a page variable and access the language of the current locale ---> <cfset pc = GetPageContext() > <cfset pc.setAttribute("name","John Doe")> <cfoutput>name: #variables.name#</cfoutput> <cfoutput>Language of the current locale is #pc.getRequest().getLocale().getDisplayLanguage()#</cfoutput>>. |