Liferay diaries: Help! My validation errors are not showing!

While still battling form submissions in my Liferay/Spring MVC Form controller/Multi-portlet beast, I noticed that the Spring form tags would not display errors. As this post [1] explains, the reason is that the form backing object must be named exactly as the class consituting the backing object, but with the first letter in lowercase. Thus … Continue reading Liferay diaries: Help! My validation errors are not showing! →

Liferay diaries: Help! My form post parameters are empty!

While hacking a Spring & Liferay prototype, I'm suddenly wondering about why during a form submission there are no parameters (not even empty or null) submitted by the form. Turns out that I got bitten once more by the two phases of the portlet lifecycle [1] and naivly were handling form submission in the handleRenderRequest … Continue reading Liferay diaries: Help! My form post parameters are empty! →

Adding foreign language dictionaries to Eclipse text editors and mylyn

This article [1] says it all, but here again for greek and linux: sudo apt-get install aspell aspell-el gawk aspell dump master el | awk -F/ '{print $1}' > dictionary_el.txt And then in Eclipse : Window -> Preferences -> General -> Editors -> Text Editors ->Spelling Add dictionary_el.txt as a User Defined Dictionary Update 28.12.2011 … Continue reading Adding foreign language dictionaries to Eclipse text editors and mylyn →

Cache collision and ehcache spring annotations module

If you are looking for a way to implement declarative caching with Spring, there is no way around Ehcache Spring Annotations [1]. This superimposes a transparent aspect on methods of any proxied bean, taking the method arguments as a key. Little known but easy to stumble upon [2] is an implementation (design?) quirk which expects … Continue reading Cache collision and ehcache spring annotations module →