[ADMIN] Adding button in field list
Posted: Tue Jul 15, 2014 8:29 am
by newone123.1991
Hi all from BLC support I want to add new button in admin Panel I searched in forum and I found something called EntityFormAction I simply add this in form but this button is showed in top of panel. Here is simple image that show what I want to do:

What more how to get working EntityFormAction buttons ? Is there other method than add in JS onclick method ?
Re: [ADMIN] Adding button in field list
Posted: Sat Sep 13, 2014 11:00 pm
by Abhishek
Firstly you need to add a Entity form like
EntityForm form = (EntityForm) model.asMap().get("entityForm");
then you need to EntityFormAction like
EntityFormAction efa = new EntityFormAction(EntityFormAction.ADD).withDisplayText("Invoice").withIconClass("icon-print").withButtonClass("invoice-button").withUrlPostfix("/invoice");
then write
form.addAction(efa);
Re: [ADMIN] Adding button in field list
Posted: Mon Sep 29, 2014 1:42 am
by watson45
Hi all from BLC support I want to add new button in admin Panel I searched in forum and I found something called EntityFormAction I simply add this in form but this button is showed in top of panel
