Solution Elements
Element
Type
Description
Type and Attribute Management utility
Application
The application where you can:
Define attributes on a type
Define attribute layouts
Configure the display properties of an attribute
See Type and Attribute Management for more information about this utility.
MVC Builder
Java class
Creates the configuration and datum object for the panel. Also can be used to specify the view (JSP) for the panel if a custom view is desired.
AttributePanelConfig
Java class
The object that contains theGroupConfig(s) for an attribute panel. Also has several properties that can be used to configure the panel.
GroupConfig
Java class
The object that contains the AttributeConfig(s) for an attribute panel. Also has several properties that can be used to configure the group.
AttributeConfig
Java class
Contains information about one attribute to be displayed in the panel, including its name and properties that control how the attribute should be displayed.
ComponentConfigFactory
Java class
A factory that generates AttributePanelConfigs, GroupConfigs, and AttributeConfigs
TypedAttrLayOutFactory
Java class
A factory capable of generating an attribute panel configuration from a Type Management layout for a given object type and screen type
ScreenDefinitionName
Java enum
Identifiers for the screen types shown in the Type and Attribute Management utility Layouts tab. For a given object type each screen type maps to one layout. However, a layout may map to more than one screen type.
ComponentId
Java class
Contains constants for some widely used component builder ids.
ComponentMode
Java enum
Determines whether view-only or input fields are displayed for attributes.
ComponentType
Java enum
Indicates how the attribute panel is being used. The ComponentType can affect such things as whether or not an attribute is visible or hidden, how an attribute is displayed (e.g., link vs text), and the HTML name given to an input field.
If the ComponentType is WIZARD_ATTRIBUTES_TABLE the system will give attribute input fields HTML names that the system can use to set the attribute values on the object for you. If you want to set all the attribute values yourself in a form processor, you should use the component type WIZARD_TABLE.
<WT_HOME>/codebase/WEB-INF/jsp/components/attributePanel.jsp.
JSP
Default view JSP for an advanced attribute panel. Occasionally, you may need to use a custom JSP for the view if you want to display additional components on the page or include additional javascript.
<WT_HOME>/codebase/WEB-INF/jsp/components/simpleAttributePanel.jsp
JSP
Default view JSP for a simple attribute panel. Occasionally, you may need to use a custom JSP for the view if you want to display additional components on the page or include additional javascript.
這是否有幫助?