Expand my Community achievements bar.

HTL Expression Language | AEM Community Discussion

Avatar

Administrator

BlogImage.jpg

HTL Expression Language by Adobe Docs

Abstract

The HTML Template Language uses an expression language to access the data structures that provide the dynamic elements of the HTML output. These expressions are delimited by characters ${ and }. To avoid malformed HTML, expressions can only be used in attribute values, in element content, or in comments.

${properties.jcr:title}

Expressions can be escaped by prepending a \ character, for instance \${test} will render ${test}.

Variables
Variables are containers that store data values or objects. The names of variables are called identifiers.

Without having to specify anything, HTL provides access to all objects that were commonly available in JSP after including global.jsp. The Global Objects page provides the list of all objects provided access to by HTL.

Read Full Blog

HTL Expression Language

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies