The SegmentedOption type is not a framework object, since it does not extend the FrameworkObject base class. The SegmentedOption type defines a segmented option with a unique value per application-defined profile group. The SegmentedOption type is described with the framework objects, because framework objects can map segmented options to a local key. Any framework object can reference segmented options by key. The following is a code example that tests a segmented option value assigned to a panel object:

<c:if test="${myPanel.options.isShowContent.value}">
<%-- Show content based on option value--%>
</c:if>

Since any segmented option defined in the repository can be mapped to any framework objects by key, segmented options provide a powerful extensibility mechanism for the Service framework.

 
loading table of contents...