RE: T5: "No root element has been defined."

2008-06-17 Thread Brendan McNichols
I fixed the problem. For the record, to help someone else making the same upgrade, I needed to update the package name for the TapestryFilter in the web.xml -Original Message- From: Brendan McNichols [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 6:45 PM To: users@tapestry.apache.

Re: t5: no root element has been defined

2007-10-06 Thread Christian Gruber
Ok. Thanks, Imants. Several people have offered a similar answer, and I appreciate it, but I have tried this. I have tried *.tml in / src/main/resources/.../pages I have tried *.html in the same. I have tried *.tml in /src/main/webapp, and *.html in /src/main/webapp/WEB- INF/ (per the old

Re: t5: no root element has been defined

2007-10-06 Thread Imants Firsts
After the change from .html to .tml in the SVN, my page templates in WEB-INF were not found any more. Moving them to the corresponding package under main/resources like component templates solved the problem. Imants Quoting Christian Gruber <[EMAIL PROTECTED]>: > I did. It's not a version thing.

Re: t5: no root element has been defined

2007-10-06 Thread Christian Gruber
I did. It's not a version thing. I built 5.0.6-SNAPSHOT from trunk (as of yesterday), and the pom file pulls in that version. (In fact, m2eclipse plugin in eclipse shows the t5-core project as the dep). I have tried each combination of old and new template location, and filename. I und

Re: t5: no root element has been defined

2007-10-06 Thread Nick Westgate
The exception means your Java class was found, but not the template. Carefully check your project details against Marcus's notes below. Check your pom.xml for the tapestry version etc. Cheers, Nick. Christian Gruber wrote: Actually, I'm getting it from the tutorial as well. That is, I'm gett

Re: t5: no root element has been defined

2007-10-05 Thread Christian Gruber
Actually, I'm getting it from the tutorial as well. That is, I'm getting [ERROR] Tapestry 5 Tutorial #1 /: java.lang.IllegalStateException: No root element has been defined. at org.apache.tapestry.dom.Document.toMarkup(Document.java:89) at org .apache .tapestry .internal.services

Re: t5: no root element has been defined

2007-10-05 Thread Christian Gruber
I'm still gettin g the no root element thing, and that's on a quickstart project (with my patch to put Start.tml in the right place), with a build from trunk. Problem is I can't get Start.tml to work in any of the new or old locations, in resources or src/main/webapp. No matter what, I get

Re: t5: no root element has been defined

2007-10-05 Thread Marcus
Hi Bob, T505 - templates .htmlin src/main/webapp/WEB-INF/ or src/main/resources//pages/ T506 - templates .tmlin src/main/webapp/or src/main/resources//pages/ http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469 Marcus

Re: t5: no root element has been defined

2007-10-05 Thread Howard Lewis Ship
Sorry that you got caught in the lurch. Starting with 5.0.6, we have a much better system ... the main web site represents the most recent formal release, and the nightly build site contains the latest documentation. So you SHOULD be able to got to http://tapestry.apache.org/tapestry5 to get the

Re: t5: no root element has been defined

2007-10-05 Thread Robin Helgelin
On 10/5/07, Heck, Bob <[EMAIL PROTECTED]> wrote: > Ok, renamed, rebuilt, redeployed. Made sure old .tml were not there and > pages were .html. > > Same error with html files - No root element has been defined. In 5.0.5, page html files should be located in WEB-INF, they didn't move to webroot unti

RE: t5: no root element has been defined

2007-10-05 Thread Heck, Bob
From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: Friday, October 05, 2007 04:10 To: Tapestry users Subject: Re: t5: no root element has been defined 5.0.5 uses *.html 5.0.6 uses *.tml Cheers, Nick. Heck, Bob wrote: > Am I really this dense? I just can't get this to work. > >

Re: t5: no root element has been defined

2007-10-05 Thread Nick Westgate
5.0.5 uses *.html 5.0.6 uses *.tml Cheers, Nick. Heck, Bob wrote: Am I really this dense? I just can't get this to work. Simple hello world Start.tml Start.java in package described in web.xml Using Tapestry 5.0.5 Try my local:8080/Start and get this java.lang.IllegalStateException No r

re: t5: no root element has been defined

2007-10-05 Thread Kristian Marinkovic
5.0.5 templates have a .html suffix 5.0.6 needs templates with .tml suffix "Heck, Bob" <[EMAIL PROTECTED]> 05.10.2007 11:03 Bitte antworten an "Tapestry users" An Kopie Thema t5: no root element has been defined Am I really this dense? I just can't get this to work. Simple hell

Re: T5: No root element has been defined

2007-04-25 Thread Howard Lewis Ship
That's the expected, documented behavior (though it is a change from Tapestry 4). Templates go in the WEB-INF folder. On 4/25/07, Tim Sawyer <[EMAIL PROTECTED]> wrote: Sorted - works now. With Start.html inside WEB-INF it works, with it outside it didn't. Thanks, Tim. On Wednesday 25 April

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Sorted - works now. With Start.html inside WEB-INF it works, with it outside it didn't. Thanks, Tim. On Wednesday 25 April 2007 21:47, Tim Sawyer wrote: > Sorry, my bad - the Start.java and CopyOfStart1.java exist, not the HTML > files. > > Apologies, > > Tim. > > On Wednesday 25 April 2007 21

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Sorry, my bad - the Start.java and CopyOfStart1.java exist, not the HTML files. Apologies, Tim. On Wednesday 25 April 2007 21:43, Tim Sawyer wrote: > Not progress, but a clarification. > > I get the "no root element has been defined" error whenever I navigate to a > URL that contains a page tha

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Not progress, but a clarification. I get the "no root element has been defined" error whenever I navigate to a URL that contains a page that exists as an HTML template. For example, I have Start.html and CopyOfStart1.html files in the root of my WAR file. If I go to: http://localhost:8080/warf

Re: T5: No root element has been defined

2007-04-21 Thread Howard Lewis Ship
There's an existing bug: https://issues.apache.org/jira/browse/TAPESTRY-1345 On 4/21/07, DigitLiao <[EMAIL PROTECTED]> wrote: I test it. Your html template has no problem. But where did you put this template? When I delete test.html, It shows the same error as yours. The template should be put

Re: T5: No root element has been defined

2007-04-21 Thread DigitLiao
I test it. Your html template has no problem. But where did you put this template? When I delete test.html, It shows the same error as yours. The template should be put in the same package as Java file or in WEB-INF/ that match java package from tapestry app root package. On 4/21/07, Tim Sawyer