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.
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
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.
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
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
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
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
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
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
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
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.
>
>
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
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
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
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
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
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
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
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
19 matches
Mail list logo