I need to add a new module to control my payment types in broadleaf Admin.
I did the way down, but I noticed that in this way are the new settings module to version 2.2. Can you help me, we already have some documentation in version 3.0
public void onModuleLoad() {
addConstants(GWT.<i18nConstants>create(PaymentMessages.class));
setModuleKey("BLCMerchandising");
List<String> paymentPermissions = new ArrayList<String>();
paymentPermissions.add("PERMISSION_CREATE_PAYMENT_CONFIG");
paymentPermissions.add("PERMISSION_UPDATE_PAYMENT_CONFIG");
paymentPermissions.add("PERMISSION_DELETE_PAYMENT_CONFIG");
paymentPermissions.add("PERMISSION_READ_PAYMENT_CONFIG");
setSection(
BLCMain.getMessageManager().getString("paymentMainTitle"),
"paymentLocations",
"org.broadleafcommerce.inventory.admin.client.view.PaymentView",
"paymentLocationPresenter",
"org.broadleafcommerce.inventory.admin.client.view.PaymentPresenter",
paymentPermissions
);
registerModule();
}
Thak you
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.