Category Archives: Web

About Esri ArcGIS and how to turn an ArcGIS map into a JPG

I recently studied the Esri ArcGIS JavaScipt API and after hours of trying and failing, I managed to find out how to use the Printer API to create (and also be able to download) pictures of my existing ArcGIS maps. Here, I will share the code as I’m very sure that there might be someone looking for the same. In this post, I will also show why I had to use ArcGIS and not Google Maps.

Also posted in Javascript | Tagged , , | Leave a comment

Generating PDF from XHTML and CSS2 template with Flying Saucer 9.0.4

In this post, I will share a small utility for creating PDF files from a template file written in XHTML and CSS 2.1. The template file is set up with a stylesheet that handles margins, page breaks and running top content. This is a complete example showing how to use the Flying Saucer 9.0.4 framework (based […]

Also posted in Java | Tagged , | Leave a comment

How-to: Using Tiles 2.2.2 with Spring MVC 3.x

In this short tutorial, I’ll explain you how to use the Tiles 2.2.2 templating along with Spring MVC 3.x.

Also posted in Java, Spring | Tagged , | Leave a comment

What to do when SyntaxHighlighter doesnt work on Ajax loaded pages

Recently when working on a feature for syntax highligting using SyntaxHighlighter library, I noticed that pages loaded through Ajax was not higlighted. Here’s how I solved it.

Also posted in Java | Tagged , , | Leave a comment

JQuery UI (Dialog) & IE issues solved

Do you wonder why IE doesnt render JQuery UI widgets properly? You might have forgotten this.

Posted in Web | Leave a comment

Installing and running Apache MyFaces 1.2 with RichFaces 3.3

In an attemt at learning Java Server Faces, I thought that testing out an example application would be a good starting point. After reading about pros and cons related to the many different implementations of JSF, I ended up with the following ingredients:

Also posted in Java | Tagged , | Leave a comment

Extending the Thematic Theme Framework for my WordPress blog

The power of social media can’t be underestimated. So in order to do something about it, I decided to give my site a complete makeover. Having spent hours and hours on testing hundreds of templates and opensource CMS frameworks, my choice fell on the simplest and most powerfull of them all; WordPress. Then later, I found two opensource projects that […]

Posted in Web | Tagged , | Leave a comment