Sounds like the .tml file is not being copied over to the output
directory. Generally, the .tml doesn't go (under src/main/java) with
the .java file, but under a parallel package under src/main/resources.

I don't use NetBeans but that's a start: make sure the resource files
are being copied into the right location to be picked up by the
running application.

On Thu, Sep 9, 2010 at 5:21 PM, Elin <polit...@gmail.com> wrote:
>
> I created a simple project with Maven archetype (the 4.2.0 version from the
> tapestry.apache.org catalog) . I open it on Netbans 6.9.1 as a maven
> project, everything is ok, i create a custom component at the "components"
> package adding the java and the .tml file. After adding this component to my
> Index page I run this project on jetty and the page loads nice but the
> custom component is not displayed.
>
> After looking into the compiled version, i see that the component TML page
> is missing... just the component .class appears. If i manually add the .TML
> file to the compiled folder, then the page displays my custom component
> correctly but this should be done automatically by the compiler....
>
> Any idea? Am i doing something wrong? I was able to work without problems 1
> month ago but after formatting my computer i changed my Netbeans version,
> the tapestry version etc...
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Problem-with-components-TML-files-tp2834319p2834319.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to