Class PrimaryAttributesBuilder

All Implemented Interfaces:
ComponentConfigBuilder, com.ptc.mvc.components.ComponentConfigFactoryAware, ComponentDataBuilder, TypedAttrLayOutFactoryAware
Direct Known Subclasses:
VisualizationAttributesBuilder

@ComponentBuilder("primaryAttributes") @TypeBased("wt.type.TypeManaged") public class PrimaryAttributesBuilder extends AbstractComponentBuilder implements TypedAttrLayOutFactoryAware
This builder is used to display the primary attributes panel on information pages for TypeManaged objects. It is invoked by the "primaryAttributes" action defined for the object type "object." This action displays the panel titled "Attributes" on the information pages of object types that have no visualization component. It is also invoked to create the attribute panel piece of the Visualization and Attributes component displayed on the information pages of object types that do have a visualization component.
This builder uses the layout defined in the Type and Attribute Manager for the "Information Page - Primary Attributes" screen type (ScreenDefinitionName.INFO) to configure the panel. The panel has the following properties:
  • ComponentMode is ComponentMode.VIEW
  • ComponentType is ComponentType.PRIMARY_ATTRIBUTES
  • The view JSP is codebase/WEB-INF/jsp/components/attributePanel.jsp


The non typed objects should implement wt.type.TypeManaged tagging interface in order to retrieve attributes from type load files.
Supported API: true

Extendable: true