You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Christian Huber <hu...@butterbrot.org> on 2011/08/10 23:11:22 UTC

Include Tag Resolver

Hi all,

maybe someone might find this useful. I created a tag resolver to allow 
include components to be used in the same way as label components with 
the wicket:message tag. With this resolver you can use a tag like e.g. 
<wicket:include file="path/to/file"/> to include a file into a page. It 
is also able to look up the file name with a property value and to 
interpolate variables in the included file.

The complete source can be found here 
<http://sanityresort.blogspot.com/2011/08/creating-custom-wicket-tag-resolver.html>. 
Any comments or suggestions would be very welcome.

Cheers, Chris

-- 
The Sanity Resort <http://sanityresort.blogspot.com/>