SpringBoot (13) Let's start (1/10). Introduction to defining menu items.
0. Introduction Four menu item types are used: Menu/submenu : Can have children. They are the parent of a tree. You can go to children. No actions can be performed. No URL can redirect ActionForm : Execute the method of a class and can have parameters. The parameters can be displayed in a form to change any value. A URL is needed CRUD Form : To insert/update/delete objects from a class. A URL is needed. Grid : For displaying database elements in a grid. The file "src/main/resources/config/menus/menus.yml" contains the menu configuration an definition The most important common fields are: id: must be supplied and must be únique. Typical values "1","1-1","1-2","1-2-1", you can use any id, but it should be easy to name: Is the description in the menu item accessLevel : Is the minimum access level required for the user to be executed or displayed. By default its value is 1 (0=No permissions required, 1: see, 2: list, 3: edit,4:insert, ...
Comentarios
Publicar un comentario