Spring mvc integrated easyui menu toptree click top menu question, mvceasyui

Source: Internet
Author: User

Spring mvc integrated easyui menu toptree click top menu question, mvceasyui

After the easyui tree is generated in the background, an error window will pop up when you click the top-level column. The solution is as follows (easyui1.36 is used ):

/Home/cyz/workspace/hb_manager/WebContent/source/easyui_1.36/common

There is an index. js file in the common directory. Use the editor to open the file.



In this way, an error will be reported when you click the parent column.


How to Implement spring mvc Dynamic Tree Structure? When a node is clicked, the specific information of the node can be displayed on the right of the page.

Don't know
 
Springmvc uses ztree for a dynamic tree menu, preferably demo513020042 @ qqcom.

In fact, you only need to let ftl in your spring mvc directly generate the following string:
[
{Id: '01', name: 'n1 ', isParent: true },
{Id: '02', name: 'n2 ', isParent: false },
{Id: '03', name: 'n3 ', isParent: true },
{Id: '04 ', name: 'n4', isParent: false}
]

With the asynchronous loading Demo, you can !! The string in json format is the same as that in html :)

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.