Customization Procedure
The follow procedure outlines the steps required to perform the customization:
1. Create a table view class extending the existing table view class and add the new attribute to one or more views. Define the attribute(s) as a special column to allow it to be used in the View Manager. The column does not need to be rendered in all (or any views). But to add it to views it needs to be defined as a special column (since the table is against changeables and knows nothing about links)
See Custom Table Views (Step 1) for more information.
2. Create an MVC Table Builder extending the one registered for the table. Annotate the builder with @OverrideComponentBuilder and override any of the following:
buildConfigurableTable() to return the custom view class.
buildComponentData() if there is custom data acquisition logic.
buildComponentConfig() to define other custom configurations (models, help files)
3. Define a custom Data Utility to render the attribute in Create, Edit and View modes. See Create a Data Utility (Step 3) for more information.
4. (Optional) Provide a Javascript or pop-up editors needed to support multi-object edits. See Add Support for Multi-Edit Actions (Step 4) for more information.
5. Define a custom form delegate to process the attributes (The change task affected/resulting objects step requires a second form delegate to be created) See Create a Form Delegate (Step 5) for more information.
6. Define a custom actions.xml referring to the custom form delegate for the wizard step. See Register Form Delegate with Step (Step 6) for more information.
這是否有幫助?