We keep all files under the /java/ directory.. *.java, *.tml, *.css,
*.js etc, etc. Just posing that as an option, because I'm not sure how
you have your jetty setup.. the resources directory usually has to be
copied over to the final location for things to work properly... but
maybe it's running directly off of the main/webapp directory and/or the
classpath is hot-loaded from target/classes ( hence anything under java
directory can be hot-loaded )...
But I don't have a silver bullet for you, sorry.
How are you asking tapestry to bring in the css? Through annotation?
@IncludeStylesheet( "context:/styles/main.css" )
kace wrote:
no I haven't, I moved everthing out of /resources and now have the following
layout:
/java/../components/
Layout.tml
Layout.java
/java/../pages/
Index.java
/webapp/styles/
main.css
/webapp/
Index.tml
find the contents of Index.tml below...
running the app now only shows me [<t:pagelink
t:page="Index">refreshsss</t:pagelink>] - the other text is missing and
there is no css applied? Any ideas...It worked when I had it under
/resources/org/example/myapp/
thanks
..kace
<t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"
t:title="literal:My first use of layout component" >
<p> This is the start page for this application, a good place to
start your modifications.
Just to prove this is liv4e: </p>
<p> The current time is: ${currentTime}. ${kace}</p>
<p>
[<t:pagelink t:page="Index">refreshsss</t:pagelink>]
</p>
</t:layout>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]