Create portlet parameters

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 ---> 
Adobe logo

Sign in to your account