In Wicket when you want to require user login for some pages, you typically inherit the pages from a superclass called say ProtectedPage and then use a wicket SimplePageAuthorizationStrategy to… Read more »
I recently used embedded Jetty for a small REST server project and it was a revelation. It took exactly no time to get it running and now I can deploy… Read more »
Christoph has spent the last couple of weeks refactoring a web project to use IBATIS instead of Hibernate. I also refactored a smaller project to use IBATIS instead of JDBC…. Read more »
Here’s something I had to piece together myself from various code fragments. Its a class to authenticate a user in Windows Active Directory environment using LDAP. It first locates the… Read more »
Sometimes its useful in an application to have a list of users who are currently logged onto an application on a server. To do this, you first need a SessionAttributeListener… Read more »
For someone starting out with Wicket, it can be tricky to figure out basic things like how to display images. Here are basic three scenarios: 1. Simple fixed image –… Read more »
About four years ago, we switched our office phone system from a proprietary ISDN PBX to Asterisk with Cisco 7940 handsets. It was an instant success and has been running… Read more »
Our first approach was to create a DefaultFocusBehavior (as described by Julian Sinai) and attach it to the component which should receive the focus. The problem with this is that… Read more »
Wicket components have a convenient getString method to load a (translatable string from a properties file associated with the component (or any component in its hierarchy). It also allows you… Read more »
A common issue which Wicket developers face is the need for an AJAX update of the HTML output of a repeater (such as a ListView) which is part of a… Read more »