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>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy