<t:if test="loggedIn">
Welcome back, ${user.firstName}
<p:else>
<t:pagelink name="login">Login</t:pagelink> /
<t:pagelink name="register">Register</t:pagelink>
</p:else>
</t:if>
I got the followng exception:
Failure parsing template classpath... Undeclared namespace prefix "p" at....
on the
The problem? I didn't add xmlns:p="tapestry:parameter" to the html tag in the template file (look at the example).
No comments:
Post a Comment