To create different page views within your portlet you can configure the render parameters such as renderURL. 
For example, to set the renderURL parameter:

  1. Create a renderURLparameter

<cfset params = StructNew()> 
<cfset = "somepage"> 
<cfoutput><a href="#createRenderURL(params)#">Link to somepage</a>
  1. Check for parameter in the page and render conditionally:

<cfparam name="" default=""> 
<cfif IS "somepage"> 
<cfinclude template="somepage.cfm"> 
<!--- put step 1 here ---> 

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