I'm adding a custom section in the admin panel broadleaf commerce that reference this tutorial This is my controller class
@Controller // @RequestMapping ( "/" + NewAdminSection.SECTION_KEY) @ safe ( "PERMISSION_OTHER_DEFAULT") public class NewAdminSection AdminAbstractController {secure permanent string preserves SECTION_KEY = "test"; @RequestMapping (value = "/ test" method = RequestMethodkGET) public string Test (Actiteepiarwlet request, Actiteepisrvet response response model) throws an exception {// This is required by the modules / units Contaneyr template, it is a custom / Custom is the template which gets involved in the body model. AddAttribute ("Custom View", "View / Test"); // Make sure navigation will be set correctlyModel Properties (Model, SECTION_KEY); / / "Set to display template custom / modules / units Container" Up / customView characterized scaffolding is installed; I} "applicationContext-servlet-admin.xml is entered in the" File I also entries in the database according to the instructions in the tutorial are also When I press the URL I get a blank page, call status 200 (OK) I code are also going to debug but did not call you reach your administrator, I logged in I could see that mapping mapped. Can a friend help me where I am going wrong?
No comments:
Post a Comment