Found myself a partial response at

http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html#ControlwhereHTMLfilesareloadedfrom-InWicket1.3

But this only work on my deve environment. When packaged as a war, I'd like
the ResourceStreamLocator to lookup the HTML templates in web application
context root.

Nico.

2008/3/3, nicolas de loof <[EMAIL PROTECTED]>:
>
> Hello,
>
> I'm just evaluating wicket and am very impressed by clean design.
>
> One killer benefict of separation of concerns is the pure HTML files that
> designer can edit without any knowledge of the underlying java code.
> I only have an issue as my static content (css, images) is in
> src/main/webapp and html templates in src/main/java. When launching a
> browser to look at the template, I get no css/imgage decorations.
>
> How can I setup wicket to get html templates from servlet context root and
> not from classpath ?
>
> or
>
> What are the best-practices to allow HTML display / design without any
> server running ?
>
> Nico.
>

Reply via email to