Liferay Control Panel Create folder process analysis

Source: Internet
Author: User

Summarize:

When we add a folder to the control Panel, we actually insert a row of records in the Dlfolder table of the database: The record information contains the information entered by the user and the user's Id,repositoryid. The most subtle thing about it is that it doesn't create a folder on a server node that we give a name to.

The following specific analysis:

When we log on as an administrator and then select "Documents and Media"-> add-> "folder" in Control Panel, the following illustration shows:

At this point, the corresponding request action URL is:

As you can see from here, the requested struts_action is/document_library/edit_folder

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.