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 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 message in co
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 arc
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:
On
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
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.
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 this
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
> docu
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
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, Al
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 st
On Tue, 2009-05-05 at 08:32 +0100, Steve Swinsburg wrote:
>
> 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'
> 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 sim
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? Presumably,
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 temp
What's the justification of having them in src/main/webapp again?
On Mon, May 4, 2009 at 8:28 PM, Alan Garfield wrote:
> On Mon, 2009-05-04 at 08:55 -0400, Richard Allen wrote:
>> If you are using war, then the maven-war-plugin will
>> automatically pick up the resources in src/main/webapp, which
On Mon, 2009-05-04 at 08:55 -0400, Richard Allen wrote:
> If you are using war, 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
If you are using war, 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 you don't have to e
Hi all,
Just a quick question, I'd like to move all the .html files so my
directory layout will be :-
.
|-- pom.xml
\-- src
|-- main
||-- java
||\-- com
||\-- foo
|||-- WicketApplication.java
||\-- bar.java
||
18 matches
Mail list logo