Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
To set the portlet title, add a method to the CFC called getTitle as follows:
<cffunction name="getTitle" returntype="string" output="false" access="public"> <cfargument name="renderRequest" type="any" required="true" hint="A javax.portlet.RenderRequest java object"> <cfreturn "My ColdFusion Portlet"> </cffunction>