Try this:
http://www.mkyong.com/wicket/how-do-change-the-html-file-location-wicket/
On Tue, Sep 28, 2010 at 12:45 PM, elesi jsar...@gmail.com wrote:
Could i change html resource folder, even if my project don't have a maven
folder structure?
I mean no resources folder, etc.?
--
View this
Could i change html resource folder, even if my project don't have a maven
folder structure?
I mean no resources folder, etc.?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Offline-Applications-tp1883788p2716953.html
Sent from the Users forum mailing list
On 05/05/2009, at 1:28 AM, Alan Garfield wrote:
The hack I have with maven
at the moment properly constructs the war by copying all the .html
files
into the classes folder for Wicket to find...
What 'hack' do you need for Maven to include the HTML in the classes
directory?
Separates the code from the templates so the designers don't have to
checkout the whole project, also keeps all the content in one directory.
Even though they are dynamic template files for wicket there is a
certain amount of static stuff that would be nice to be in one place.
If you simply
On Tue, 2009-05-05 at 03:03 -0500, Luther Baker wrote:
Separates the code from the templates so the designers don't have to
checkout the whole project, also keeps all the content in one directory.
Even though they are dynamic template files for wicket there is a
certain amount of static
Ok, if you really want to do this and you don't want to use
src/main/resources, have you checked out:
http://wicketstuff.org/wicket13/customresourceloading/
That has some code examples on how to load html templates from the
document root. That might help you.
On Mon, May 4, 2009 at 9:31 PM,
Alan,
The fragment of XML from the pom that I posted IS in the Wicket
Quickstart generated via mvn archetype:generate. It's also in the
pom when you use the helper code available here: http://wicket.apache.org/quickstart.html
Hence why it's not a hack, it's standard Maven stuff. You don't
On Tue, 2009-05-05 at 07:23 -0400, James Carman wrote:
Ok, if you really want to do this and you don't want to use
src/main/resources, have you checked out:
http://wicketstuff.org/wicket13/customresourceloading/
That has some code examples on how to load html templates from the
document
To make Luther's point more explicit:
Wicket allows you to bundle everything a Wicket component needs (Java code,
HTML, CSS, images, etc.) into a single JAR and drop that JAR into the
WEB-INF/lib directory of any WAR, thereby making the JAR essentially
self-contained and reusable. The benefit
On Tue, 2009-05-05 at 12:33 +0100, Steve Swinsburg wrote:
Alan,
The fragment of XML from the pom that I posted IS in the Wicket
Quickstart generated via mvn archetype:generate. It's also in the
pom when you use the helper code available here:
http://wicket.apache.org/quickstart.html
On Tue, 2009-05-05 at 08:26 -0400, Richard Allen wrote:
To make Luther's point more explicit:
Wicket allows you to bundle everything a Wicket component needs (Java code,
HTML, CSS, images, etc.) into a single JAR and drop that JAR into the
WEB-INF/lib directory of any WAR, thereby making the
Ok glad you got it sorted.
For reference, you can adjust the excludes/includes in the build
section of the POM to exclude the HTML files from being added. Then
use the maven-war-plugin to take control of what goes where.
cheers,
Steve
On 5 May 2009, at 13:52, Alan Garfield wrote:
If you are using packagingwar/packaging, then the maven-war-plugin will
automatically pick up the resources in src/main/webapp, which means you do
not have to configure that directory as a resource. Additionally, the
maven-resources-plugin automatically picks up resources in
src/main/resources, so
On Mon, 2009-05-04 at 08:55 -0400, Richard Allen wrote:
If you are using packagingwar/packaging, then the maven-war-plugin will
automatically pick up the resources in src/main/webapp, which means you do
not have to configure that directory as a resource. Additionally, the
What's the justification of having them in src/main/webapp again?
On Mon, May 4, 2009 at 8:28 PM, Alan Garfield a...@fromorbit.com wrote:
On Mon, 2009-05-04 at 08:55 -0400, Richard Allen wrote:
If you are using packagingwar/packaging, then the maven-war-plugin will
automatically pick up the
On Mon, 2009-05-04 at 21:07 -0400, James Carman wrote:
What's the justification of having them in src/main/webapp again?
Separates the code from the templates so the designers don't have to
checkout the whole project, also keeps all the content in one directory.
Even though they are dynamic
16 matches
Mail list logo