Tab Extension
Posted: Tue Aug 07, 2012 11:48 am
by Valdus
I followed all of the available documentation for setting up an extension of the tab in the demo site, but it seems to just not work. What places are required to register an extension so that it shows up within the admin panel instead of the default manager that comes with the panel?
Re: Tab Extension
Posted: Fri Aug 10, 2012 12:14 pm
by phillipuniverse
Hey Valdus, I'm working on writing a full tutorial for this soon which will help a lot.
In the mean time, the essential overrides are:
- Create a new module class that extends AbstractModule
- Register the module class in the .gwt.xml file (you can see how this is done in the out-of-the-box implementation of this file)
- Call the setSection() method from within your new module where you should pass fully-qualified names of your View and Presenter, any permissions associated with the module and what the module title should be (look at existing BLC modules like MerchandisingModule for some examples)
Re: Tab Extension
Posted: Fri Aug 10, 2012 12:15 pm
by Valdus
I actually figured it out by rereading your guys file structure. I must say this code is really well written and I'm very impressed by it. It wasn't that I did not understand it, more that I was looking in the wrong place. Thanks for the help
