This is a very simple extension to Tapestry. It adds a new binding prefix, "plain:".
Plain works just like "message:", except that any HTML elements are scrubbed, and XML entities are replaced with the corresponding characters. For example, let's say you have the following properties file: banner=Welcome, <em>honored guest</em>! and page template: <dl> <dt>normal</dt> <dd>${message:banner}</dd> <dt>raw</dt> <dd><t:outputraw value="message:banner"/></dd> <dt>plain</dt> <dd>${plain:banner}</dd> </dl> Rendered output would be: <dl> <dt>normal</dt> <dd>Welcome, <em>honored guest</em>!</dd> <dt>raw</dt> <dd>Welcome, <em>honored guest</em>!</dd> <dt>plain</dt> <dd>Welcome, honored guest!</dd> </dl> See http://tapestry.formos.com/nightly/tapx/ for more details. -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org