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 params.page = "somepage"> 
<cfoutput><a href="#createRenderURL(params)#">Link to somepage</a>
  1. Check for parameter in the page and render conditionally:

<cfparam name="request.portlet.parameters.page" default=""> 
<cfif request.portlet.parameters.page IS "somepage"> 
<cfinclude template="somepage.cfm"> 
<cfelse> 
<!--- put step 1 here ---> 
</cfif>

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