There is another issue with that same code block (also related to portlets)
see https://issues.apache.org/jira/browse/WICKET-1426, maybe it's the same problem
Martijn Dashorst wrote:
http://www.nabble.com/forum/ViewPost.jtp?post=18527715&framed=y not sure if this is already fixed or not, or even a valid complaint. Just came across it. Martijn
