On Wed, 18 Jan 2012 21:17:27 -0200, yazdog8 <j...@paulsenweb.com> wrote:

In the layout template tml, I have this:
<body id="${bodyid}" class="${bodyClass}"></body>
What I'm seeing on runtime is that if there is no ID set, the id attribute on the html body tag isn't rendered. Likewise, for the class attribute. Is this the expected behavior? Something along the lines that if an attribute that is being rendered by a variable that is null/doesn't exist is removed from the DOM?

No.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to