Archive for November, 2008

Adding a hint to indicate links are external

Thursday, November 27th, 2008

Good tip from -- > $(document).ready(function() {   $('#extlinks a').filter(function() {     return this.hostname && this.hostname !== location.hostname;   }).after(' <img src="/images/external.png" alt="external link">'); });

Struts2 needs better Sitemesh Support

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 ...