Create MVC Builder Table (Step 2)
1. Create a new MVC table builder extending the existing table builder from the following
Table
View Class
Change Object
Affected Objects
AffectedItemsTableBuilder
AffectedDataTableBuilder
Change Task
Variance, PR and Change Request
Resulting Change
ResultingItemsTableBuilder
Change Task
2. Declare the annotation @OverrideComponentBuilder on the class.
3. Override the method getConfigurableTable() to return a new instance of your table view.
4. If a unique actionModel is needed, help files or custom view you need to override the method getComponentConfig().

@OverrideComponentBuilder
public class DistributingResultingItemsTableBuilder extends
ResultingItemsTableBuilder {

@Override
public ConfigurableTable buildConfigurableTable(String id)
throws WTException {
return new DistributingResultingItemsTableViews();
}
}
¿Fue esto útil?