Hello Guys,
I’m facing a serious problem. I need to change some appearance in my vaadin application with CSS.
I’m trying to follow the steps shown here:
https://vaadin.com/book/-/page/themes.creating.html
https://vaadin.com/forum/-/message_boards/view_message/47990
But I am encountering a weird situation.
Is it normal that I had neither a “themes” folder nor a “reindeer” folder?
As I entered some icon-graphics for my application I had to create this empty folders for showing them in my application. Still I think the reindeer theme is working (although I cannot understand why, since my theme folder is empty???), because until now I had no problem in working with my application layout.
I have now created a new folder: “WebContent\VAADIN\themes\mytheme” and a “style.css” in it with simple
@import "../reindeer/styles.css";
which should, as far as I understand it at the moment, simple import the reindeer style.css, (although I didnt even have this folder a while ago and it worked … )
But okay, this isn’t working. When I now start my application every layout/design/theme-thing is gone and on my console is written:
Mrz 02, 2012 10:20:16 PM com.vaadin.terminal.gwt.server.AbstractApplicationServlet serveStaticResourcesInVAADIN
Information: Requested resource [VAADIN/themes/mytheme/styles.css]
not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
Mrz 02, 2012 10:20:21 PM com.vaadin.terminal.gwt.server.AbstractApplicationServlet serveStaticResourcesInVAADIN
Information: Requested resource [VAADIN/themes/mytheme/logo.png]
not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
Mrz 02, 2012 10:20:21 PM com.vaadin.terminal.gwt.server.AbstractApplicationServlet serveStaticResourcesInVAADIN
Information: Requested resource [VAADIN/themes/mytheme/styles.css]
not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
I tried adding the reindeer style.css into my self-made reindeer folder (from here: http://dev.vaadin.com/browser/svn/versions/6.0/WebContent/VAADIN/themes/reindeer/styles.css?rev=8442) but it doesnt work. The same error message appears again.
Can you please help me? I guess this is of course a beginner question and I’m sorry about asking it, but I dont understand anymore what to do. Maybe a simple guide line (step by step) what I should do now would help me a lot.
Thanks a lot for your help (Having a deadline on thursday, i need this badly)![