GetPageContext

"-->
 GetPageContext () 

Description

This 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  graphics/ccc.giflanguage 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>>.   


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net