Parameterizing Rule-HTML-Properties
This presentation is part of the Advanced UI Techniques Self-Study Course.
Transcript
Parameterization of Rule-HTML-Property rules allows you to build one rule to fulfill a requirement in multiple areas, which results in lower development and maintenance costs. An ideal use of parameterization is with dynamic selects.
An out of the box example exists that allows you to quickly define dynamic select presentations. This has a large number of parameters enabling you to rapidly deploy dynamic select functionality throughout the application.
Parameters can only be passed directly using the out of the box form with the following rule types:
- Rule-Obj-Property (from v5.3)
- Rule-HTML-Section
- Rule-Obj-FlowAction
Parameters can be passed to Rule-HTML-Property rules within non-auto generated Stream rules using the Pega Param JSP tags.
Early versions of PRPC (pre 5.3) did not allow parameters to be passed to a Rule-HTML-Property directly from the Property definition. This limitation still exists in version 5.3 when referenced from List View and Summary View rules.