Comprehensive management software New menu interface steps

Source: Internet
Author: User

With the expansion of the integrated management software business, it is often necessary to add new interfaces to showcase the business data. This article describes how to create an interface quickly based on the original software framework.

I. Description of requirements

Add a Menu "Test module" under "System Administration", JSP name testmodel.jsp.

Second, menu configuration

1. Menu parameter setting

--Test Module menu configuration replace into Sys_category VALUES (' 56 ', ' Test module ', ' 2 ', ' 2018-10-06 16:05:04 ', ' 6 ', ' A ', ' fa-list ', ' Views/system /testmodel.jsp ', ' 001 ', NULL); REPLACE into sys_mapping VALUES (' sys_category ', ' en_US ', ' XXX ', ' Test module '); REPLACE into sys_mapping VALUES (' sys_category ', ' zh_cn ', ' Test module ', ' Test module '); REPLACE into sys_mapping VALUES (' sys_category ', ' zh_tw ', ' Test modules ', ' testing module ');--Menu authorization adminreplace into Sys_permission VA Lues (56, ' Test module ', ' 1:56:* ', ' ehome ', ' Test module ', ' * ', ' 001 ', NULL); INSERT IGNORE into ' sys_role_permission ' (' Roleid ', ' permis ' Sionid ') VALUES (' 1 ', ' 56 ');

  

2. Interface Configuration

(1) Under the System folder, create a new file testmodel.jsp and copy the contents of the aboutleelen.jsp to testmodel.jsp. Restart the service-side program.

(2) Login with Admin account, and under "System Management", you can see the "Test Module" menu. The content of this interface is identical to the "about" interface.

At this point, the menu configuration is complete. However, for the new interface, the controller layer code used, the service layer code, the DAO layer code, and the mapper code need to be created accordingly, not directly using the code of other modules, otherwise violate the decoupling design principle.

Comprehensive management software New menu interface steps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.