基本自訂 > User Interface Customization > Customizing HTML Clients Using the Windchill JSP Framework > Attribute Panels > Solutions > Solution – Create a Simple or Advanced Attribute Panel Using a Configuration Created in a Java Builder Class
Solution – Create a Simple or Advanced Attribute Panel Using a Configuration Created in a Java Builder Class
Overview
Create a simple or advanced attribute panel using a configuration defined in a Java builder class. Attributes may be editable, view-only, or a combination of editable and view-only. This approach is applicable for object types that are not TypeManaged. It may also be used for TypeManaged objects, but we recommend you use layout-based panels for those types whenever possible, for ease of customization and other reasons cited earlier.
1. The attributes of the object type and their display properties are defined in the Java object class file or in the Type and Attribute Management utility.
2. A MVC Java builder class creates the panel configuration and retrieves/creates the datum object for the panel.
3. GUI components for the attributes are created by data utilities.
4. The attributes and their data are rendered in a view JSP by the rendering framework using the configuration and data model created by the builder and the data utilities.
Examples of this solution are given in:
這是否有幫助?