AJAX decoration: using jQuery Metadata for portlet AJAX
I recently examined a JSR 168 portlet which tackled the thorny area of AJAX in a Portlet ( incidentally the portlet I was looking at is the Jasig Calendar Portlet ). The technique used makes all AJAX requests into POSTs which are then passed via the ...
DisplayTag: Producing Decorators for Lists of Maps
I have been using the Display tag library (hereafter referred to as displaytag) heavily on a big in-house web application project. Displaytag helped me make relatively short work of pagination and data export, the resulting pages look very profession...
Spring Web Flow 2 Web Development: Book Review
I have been keeping the good people of PACKT Publishing waiting some time for this short review; they were kind and prompt in sending me their book - in my defence I have been very busy lately. I had hoped to include some example code but as I am sti...
Coming soon: Spring Web Flow 2 Web Development: Book Review PACKT Publishing very kindly sent me a copy of Spring Web Flow 2 Web Development to review. I have been very busy with work so I have not yet gotten around to reviewing it but I plan to publish something in the not too distant future. So watch this s...
jQuery UI ThemeRollerReady IFRAME in a dialog box
Whilst making preparations for upgrading to uPortal 3.1.x from uPortal 2.5.x I came into contact with jQuery UI themes.
In our previous portal the help screens were displayed using Cody Lindley's ThickBox. At the time I first introduced Thickbox to...
Fetching Servlet Filter init parameters from a properties file with Spring
A while ago I wrote some code and thought it a neat trick but totally forgot about it until recently. I am writing this blog entry, firstly to share the idea and secondly to see if somebody can give an alternative using only Spring classes (which wou...
What would Hibernate do? Avoidance of hbm2ddl.auto=update in production
For the past 9 months I have been using Hibernate Annotations (along with the Spring Framework) to build my development database. Although I have a reasonably strong grasp of SQL I would still not consider myself fluent. Hibernate does all the hard ...
An alternative to req:isUserInRole
For me, HttpServletRequest's getRemoteUser() and isUserInRole(role) have always felt like the right place to obtain user information in a web application. My experience with JASIG CAS filter and SecurityFilter has taught me that it is easy to create ...
Re-inventing ORM, annotations re-invented for databases!
I am working on a web application where one of the requirements is that I use an in-house Java database access framework. Personally I would prefer to use something that complements Spring and that makes my life easier such as Hibernate Annotations, ...