The simplest solution (if your company will allow) would be just to place them 
in src/main/webapp/css and src/main/webapp/images ;o)

-----Original Message-----
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 10:02 AM
To: users@wicket.apache.org
Subject: Re: Re: CSS and Javascript Problems


True,
Fortunately the war plugin allows for a warSourceDirectory config
property http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

It is customary in our company to have a src/webapp dir where most of
the images/ css/ web.xml etc are located.

Maurice

On Wed, Mar 5, 2008 at 3:50 PM, Hoover, William <[EMAIL PROTECTED]> wrote:
> According to the 
> http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
>  they should reside in src/main/webapp
>
>
>
>  -----Original Message-----
>  From: news [mailto:[EMAIL PROTECTED] Behalf Of Andy Czerwonka
>  Sent: Wednesday, March 05, 2008 9:43 AM
>  To: users@wicket.apache.org
>  Subject: Re: CSS and Javascript Problems
>
>
>  oh ya... and all the css and javascript is static, meaning that it
>  doesn't have to be referenced in code, but either way....
>
>  On 2008-03-05 07:36:43 -0700, Andy Czerwonka <[EMAIL PROTECTED]> said:
>
>  > currently my code is in src/main/java and my css, images and scripts
>  > are all in src/main/resources/css, src/main/resources/images and
>  > src/main/resources/script respectively.  The maven build put all the
>  > resources at the root, which is of course the issue.  What's standard
>  > practice for wicket applications to follow?
>  >
>  > On 2008-03-05 07:29:14 -0700, Andy Czerwonka <[EMAIL PROTECTED]> said:
>  >
>  >> http://cwiki.apache.org/WICKET/javascript-and-css-support.html
>  >>
>  >> This page does not talk about how this is done in 1.3.1 and I'm having
>  >> trouble getting the HTML pages to find my CSS and Javascript.  Can
>  >> someone point me in the right direction please?
>  >>
>  >
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to