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
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
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
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
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.
---
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
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
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
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
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
10 matches
Mail list logo