Freemarker FTL Common Instructions (3)

Source: Internet
Author: User
3 Types of FTL labels for 1.FreeMarker

① start tag:< #directivename parameter>
② end tag: </#directivename >
③ empty label:< #directivename parameter/>

In Freemarker, using the FTL tag to use the directive, which is exactly like the HTML tag. The previous symbol # may also become @ when using the label, and if the instruction is a user instruction instead of a system built-in instruction, the # symbol should be changed to the @ symbol.

Common directives for 2.FreeMarker

The common directives of freemarker are: ①if instruction, ②list instruction, ③include instruction, ④ custom instruction (macro command ), ⑤assign command, ⑥import command, etc.

Freemarker FTL Common Instructions (3)

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.