Links may not function; however, this content may be relevant to outdated versions of the product.
Defining Custom Buttons
This presentation is part of the Advanced UI Techniques Self-Study Course.
Custom Radio Buttons
List Views can be used to format results sets. Inherently, List View rules allow for the single and multiple selections of results for further processing. However, there are situations where this functionality cannot be used, such as displaying Page-List elements embedded within another object.
In PRPC 5.3 there is a comprehensive set of radio button definitions that allow you to select results from a list view. If you have version 5.3 or later, investigate the out of the box offering before using the solution detailed above.
Using standard Rule-HTML-Section functionality, it is possible to include a button on a screen that calls an activity to perform an action and ultimately repaint the screen. However, there are situations where it is more practical to include the button within a Rule-HTML-
Property definition so that each time the property is displayed a defined activity can also be invoked.
For example, for each display where you intend to capture an address, a button has been included to call an activity to perform an address lookup. This button has been defined within the Rule-HTML-Property. Within the Address Lookup Rule-HTML-Property rule, there is the defined logic and a display of the entered value, as well as the simple script to invoke an activity.
Our activity has set simple values on the page and repaints the screen. When the Address Lookup button is clicked, the activity is invoked, properties are populated, and the screen is redisplayed.