Rendering less common coverages
As PolicyCenter renders a page containing the additional or less common coverages, the following occurs:
- Iterator
AddedCovIteratoriterates across all the coverage categories. CoverageInputSetiterates across each coverage category and renders its coverages in the PolicyCenter interface.
While rendering the interface, PolicyCenter passes
the categories for the less common categories to the Additional Coverages panel set.
PolicyCenter uses a method on BOPLineEnhancement
to determine which coverages to add. The def property on the BOP line PanelRef illustrates how additional
coverages are added.
AdditionalCoveragesPanelSet(policyPeriod.BOPLine,
policyPeriod.BOPLine.getAdditionalCoverageCategories(), true)
Note: To change which additional coverages PolicyCenter
renders on the screen, modify the list of returned coverages in
BOPLineEnhancement.getAdditionalCoverageCategories().In Studio, BOPScreen.pcf provides an example of configuring additional
coverages. In this PCF file, select the Additional Coverages tab.
Select the highest level Panel Ref in this tab. The
def property shows the logic for displaying additional
coverages.
