On Wed, 18 Dec 2013 19:54:51 -0200, Chris Mylonas <ch...@opencsta.org>
wrote:
Thanks, but no again.
form.recordError(commonNameField, "The ip address you entered is public
and
in use - please try again or search for it ${" + link.toAbsoluteURI() +
"}"
);
renders this as a string, and without the expansion-y ${} it's just plain
old text.
${http://hplaptop:8080/MetwideSubnetsWeb/search/ipaddress}
The only place Tapestry does expansions is in templates and a couple
annotations involving symbol values. But the expansion above would be
wrong anyway and fail with an exception.
Can the Corelib.Errors component, rather than just being
<t:errors />
be expanded to hold a <t:if> and ${expansion} for use in case of error?
Nope. I vaguely recall a JIRA issue asking for Form.recordError() (which
actually delegates to ValidationTracker.recordError()) to accept HTML and
not encode it.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org