HTL Expression Language | AEM Community Discussion | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
April 19, 2021

HTL Expression Language | AEM Community Discussion

  • April 19, 2021
  • 0 replies
  • 577 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.