Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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.

Topics

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

0 Replies