Extending AbstractComponentBuilder
You will need to implement two methods in your builder:
• ComponentConfig buildComponentConfig(ComponentParams params)
• Object buildComponentData(ComponentConfig config, ComponentParams params)
buildComponentConfig()
This can be implemented as described in
Procedure – Creating the Attribute Panel above except that you will also need to set the
ComponentMode and
ComponentType of the panel in this method. You do that by calling the following methods on the
AttributePanelConfig :
setComponentMode(ComponentMode)
setComponentType(ComponentType)
This is also where you should set a custom view JSP, if desired.
buildComponentData()
Parent topic