Apache Tomcat & CSS

2009-05-12 Thread Tomáš Mihok
Hi there, has anyone ever encountered problem with these two? I have a simple application and I wanted to add a css file with but after deploying nothing happens. So I copied the CSS in index.html between

Re: Apache Tomcat & CSS

2009-05-12 Thread rmattler
Try entering the the css like this: background-image: url(../images/buttons/buttonBackground.gif); It works for me I don't know why but it works :sleep: TradeMark wrote: > > Hi there, > > has anyone ever encountered problem with these two? I have a simple > application and I wanted to add a

Re: Apache Tomcat & CSS

2009-05-12 Thread Anantha Kumaran
hi Tomáš Mihok i guess you are keeping your image and css file in the source package folder if this is the case then put your images and css file in the web folder. i will work

Re: Apache Tomcat & CSS

2009-05-12 Thread Sean W
Hi Tm, Figuring out all the paths in wicket with added CSS and javascript always seems to be a challenge. For the HTML files in your "source" folders, " " tags seem to automatically adjusted to the context's root. The same goes for CSS links in your , which will cause the paths of your link attr

Re: Apache Tomcat & CSS

2009-05-12 Thread Sean W
ope this helps a bit! -Sean p.s. Sorry - last message got parsed strangely. -- View this message in context: http://www.nabble.com/Apache-Tomcat---CSS-tp23503600p23505003.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: Apache Tomcat & CSS

2009-05-12 Thread John Krasnay
The problem is likely that you've specified a relative URL to the CSS file like this... You need to get wicket to rewrite that href so it knows how to serve up the CSS file. The easiest way to do this is to wrap your link in wicket:link tags: The reference from your stylesheet to

Re: Apache Tomcat & CSS

2009-05-13 Thread Erik van Oosten
I always get this for a new app when I run/build it from Eclipse or IntelliJ. Both default to exclude resources from the java packages. Build with Maven (change the pom or use quickstart to start with a correct pom) and the file should be there. Regards, Erik. Tomáš Mihok wrote: Hi there

Re: Apache Tomcat & CSS

2009-05-13 Thread James Carman
You can set up IntelliJ to not exclude them. Just go to the compiler properties for your project and set the exclude to something like !?*.java. 2009/5/13 Erik van Oosten : > I always get this for a new app when I run/build it from Eclipse or > IntelliJ. Both default to exclude resources from the

Re: Apache Tomcat & CSS

2009-05-14 Thread Erik van Oosten
Nice, I didn't know you could use negatives there. Erik. James Carman wrote: You can set up IntelliJ to not exclude them. Just go to the compiler properties for your project and set the exclude to something like !?*.java. 2009/5/13 Erik van Oosten : I always get this for a new app whe

Re: Apache Tomcat & CSS

2009-05-14 Thread James Carman
On Thu, May 14, 2009 at 9:55 AM, Erik van Oosten wrote: > Nice, I didn't know you could use negatives there. Yeah, I figured that out a while back (no idea how) and it was a big help. I just have to remember to do it for each new Wicket project (or figure out how to set default project propertie