Hi there,
I am building my own tapestry component (TabSet) which I want to give a
certain style. The problem is that the CSS is somehow not applied, even
though it looks like it finds it (if I change the path in the code where
I include the stylesheet, it complains it can't find the file, so if I
don't get the error I asume the file is available).
When I check the css file with Firebug, it says "There are no rules in
this stylesheet."
I am using Tapestry Version: 5.0.19 and I am including my own component
within a jar in my original page. Please find the code below.
Anybody any idea what I am missing?
Thanks a lot!
Elisabeth
Code:
**** css ****
DIV.tabSet { background-color: #efefef; }
**** tml ****
<div id="${clientId}" class="tabSet"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<p>testing it</p>
</div>
**** java ****
@IncludeJavaScriptLibrary(value = {"TabSet.js"})
@IncludeStylesheet(value = {"TabSet.css"})
public class TabSet implements ClientElement
{
//parameters and more defined here
}
**** using the component in another tml****
<t:mytest.tabset/>
**** File Locations ****
tml, js and css in: src/main/resources/my/test/common/components
java in: src/main/java/my/test/common/components
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org