Links may not function; however, this content may be relevant to outdated versions of the product.
Referencing HTML Property Rules in Harnesses and Sections
This presentation is part of the Advanced UI Techniques Self-Study Course.
Transcript
The use of Rule-HTML-Property rules allows for the consistent display of properties wherever they are referenced, for example in HTML forms or Correspondence templates.
The following rule types have forms that allow Rule-HTML-Property rules to be referenced directly:
- Rule-Obj-Property, with the HTML input in the presentation part of the form
- Rule-HTML-Section, where you can override the default presentation for a particular property
- Rule-Obj-FlowAction, where again you are allowed to override the default presentation for a particular property
- Rule-Obj-ListView
- Rule-Obj-SummaryView
All other HTML rules allow for the manual inclusion of Rule-HTML-Property references via the Reference JSP tags or HTML directives (which is deprecated).
When defining custom Rule-HTML-Property rules, it is important to include two out of the box rules:
- Validation Messages: to ensure the full functionality of validation display
- Client Side Validation: to ensure client side events handling is maintained
If the Validation Messages is not used, when that property is validated, for example in a flow action post activity, the error message regarding that validation is seen in an errors element at the top of the HTML. While this serves a purpose and displays messages back to the user, it is not the most user-friendly way of alerting the user.
By including the messages Rule-HTML-Property rule, when validating property values for flow action validate rules or post activities, the user sees the out of the box red cross and the desired validation message upon hover over.
The more complex the Rule-HTML-Property becomes, the longer the forms that references the related property will take to load. This becomes even more important when considering reporting type rules such as list view and summary view rules.