Thursday, November 27th, 2008
Good tip from -- >http://www.learningjquery.com/2008/08/quick-tip-dynamically-add-an-icon-for-external-links#more-103
$(document).ready(function() {
$('#extlinks a').filter(function() {
return this.hostname && this.hostname !== location.hostname;
}).after(' <img src="/images/external.png" alt="external link">');
});
Posted in Uncategorized | No Comments »
Tuesday, November 11th, 2008
If one looks at the sitemesh 2.3 example application, an application can have both Freemarker and JSP decorators.
In addition, one has very flexible usage of sitemesh tag libs from with a decorator.
For instance one can reference freemarker's taglib within freemarker via.
<#assign page=JspTaglibs["/WEB-INF/sitemesh-page.tld"]>
This allows one to include decorated external content from ...
Posted in java | No Comments »