As mentioned earlier, customization is possible on the server-side by extending
BaseModelResourceListener and adding a
ModelResourceListener annotation which accepts a
customModelName, which are used to match with your
ModelFormContainer subclass. This class should reside in the rest package of the module. Example :
package com.onenetwork.platformtestmodule.rest. The
BaseModelResourceListener class provides several hook points that allow you to pass extra data to the client or write additional models when the user executes an action. Here's a simple example listener whose methods are called for a Model Form page on
com.onenetwork.platform.integ.rest.modelpackage in the Javadocs for more information.