Page 1 of 1

Admin View

Posted: Mon Jun 10, 2013 1:25 am
by sushma
Hi ,

I have just started with broadleaf admin . Can you please tell us where to start from for the view part of admin .
I can get the starting point as AdminBasicEntityController while adding a product but where is the add method mapped to .
/{sectionKey:.+}/add where is this mapping mapped to in view .I can get that the section ket is product so the mapping product:/add should be mapped somewhere .
I am not able to get any view(html pages) for admin module.

Thanks ,
Sushma

Re: Admin View

Posted: Wed Jun 12, 2013 1:23 am
by phillipuniverse
All of the HTML pages and controllers are actually in the framework. Most of them are located in the openadmin project (link to the folder on GH).

The main controller with all of the mappings is in AdminBasicEntityController. To answer your question specifically about /add, that is mapped by the method 'viewAddEntityForm'. This method returns a path to the following template: 'modules/modalContainer', which is a Thymeleaf template file located in the open-admin project (GH link).