Re: CSS and Javascript Problems

2008-03-05 Thread Andy Czerwonka
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]



Re: CSS and Javascript Problems

2008-03-05 Thread Andy Czerwonka
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]



Re: CSS and Javascript Problems

2008-03-05 Thread Maurice Marrink
We too, have images / css in a folder located at the root of the
webapp, this works just fine as long as you only reference them in
your html, it gets a bit trickier if you try to use the Image
component. So we don't use it (much) ;)
The html is however located besides the java just like wicket prefers.

Maurice

On Wed, Mar 5, 2008 at 3:36 PM, Andy Czerwonka
[EMAIL PROTECTED] wrote:
 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]



RE: Re: CSS and Javascript Problems

2008-03-05 Thread Hoover, William
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]



Re: Re: CSS and Javascript Problems

2008-03-05 Thread Maurice Marrink
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]



Re: Re: CSS and Javascript Problems

2008-03-05 Thread Andy Czerwonka

Thanks.. all good now.

On 2008-03-05 07:50:06 -0700, Hoover, William  [EMAIL PROTECTED] said:


According to the
http://maven.apache.org/guides/introduction/introduction-to-the-standard-
directory-layout.html they should reside in src/main/webapp

[snip]




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



RE: Re: CSS and Javascript Problems

2008-03-05 Thread Hoover, William
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]