About this sample

This sample shows how to set and retrieve a Public Render Parameter (PRP). The parameter that's used is the pre-defined "CUSTOM_CONTEXT" parameter defined by the WCM Rendering Portlet. The top portlet shows a list of customer names that are defined in a JS variable and used to populate a SELECT list. When the form is submitted it sets the PRP value. The bottom portlet then retrieves the PRP value and uses it to select the customer from the list. This code retrieves the PRP.
  

Retrieve Public Render Parameter

Please select a customer above