the jetty setup is nothing fancy :
org.mortbay.jetty
maven-jetty-plugin
6.1.9
/
src/main/resources/webdefault.xml
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 runn
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..
did you try putting the css within the src/main/java/. directory?
kace wrote:
Hi, how can I get the jetty server to pick up the css changes I make
I've added this
src/main/resources/webdefault.xml to the
jetty plugin in the pom. Right now I need to run mvn clean then restart
jetty:run for
Hi, how can I get the jetty server to pick up the css changes I make
I've added this
src/main/resources/webdefault.xml to the
jetty plugin in the pom. Right now I need to run mvn clean then restart
jetty:run for it to pick up the changes. The css file is located in
/resources/org/example/myapp
Ok, moved files around and it now picks up the Layout.tml component.
Thanks
..kace
kace wrote:
>
> Thanks guys,
>
> I added ?*.tml and I see the same error page then changed the line to
> !?*.java only and I get the same error page.
>
> Under target/org/example/myapp/components there is
Thanks guys,
I added ?*.tml and I see the same error page then changed the line to
!?*.java only and I get the same error page.
Under target/org/example/myapp/components there is the Layout.tml file
and under
target/org/example/myapp/pages there is Index.class and Layout.class files
Am I mis
I am passing in a Select component to a custom component as a parameter.
In the custom component, I would like to retrieve the model parameter from the
passed in Select.
In Tapestry 4,
I would do something like the following.
IBinding bind = PropertySelection.getBinding("model");