The upcoming Wicket 1.3 and 2.0 versions intercept their requests using a servlet filter to provide more flexible resource mapping and nicer URLs. Your Wicket pages no longer need to live at foo.com/app/PageName and can instead be rooted properly at foo.com/PageName. This is now working well. I did, however, come up against a small issue, [...]
Archive for the Java Category
More on boilerplate and IoC - Posted December 6, 2006
Java has lately been seriously annoying me in this regard. Why do I have to write getters/setters for beans? Why can’t we just have a property keyword instead that does it automatically? Why does everyone insist on using getters/setters in the first place rather than public fields anyway? What’s the point? Ah, yes, we need [...]
Java boilerplate - Posted December 5, 2006
I fixed a Wicket bug today for compressing whitespace in HTML. The wrinkle is that you need to avoid doing that inside <pre> tags, otherwise your code formatting goes all wrong. You should probably just gzip your responses instead, as it’ll be much more efficient than this, but apparently, someone cares enough to raise a [...]