Thanks, so much, Steve.
I'm off and running.
Maybe I'll drop you a note some time to let you know how I'm getting along.
More likely, you will see me show up on here with another "issue". LOL.
Thanks again -
Best.
Phil
Steve Eynon wrote:
>
> There's no initial /org/apache/tapestry5/pag
Thanks, so much, Steve.
I'm off and running.
Maybe I'll drop you a note some time to let you know how I'm getting along.
More likely, you will see me show up on here with another "issue". LOL.
Thanks again -
Best.
Phil
Steve Eynon wrote:
>
> There's no initial /org/apache/tapestry5/pag
There's no initial /org/apache/tapestry5/pages resources directory
because the (old fashioned) alternative was to place the .tml files in
the webapp (aka context) directory. That's where they appear in the
tutorial.
However that technique is no longer recommended and the .tml files
should be place
Hey Steve,
Very interesting.
I started over from scratch.
Still did not work, however,
when I copy (manually) my .tml files down into
../target/classes/org/apache/tapestry5/tutorial/pages along with my .class
files, the damn thing worked right away.
I don't even have a /src/main/resources/or
Steve,
You're the best. I'll give it another go from the top with your directions
below and let you know...
Thanks!
Phil
Steve Eynon-2 wrote:
>
> Hi Phil,
>
> Now you've made me do the tutorial... (D'Oh) and yeah, it's not quite
> as accurate as I expect it once was. But fundamentally, t
Hi Phil,
Now you've made me do the tutorial... (D'Oh) and yeah, it's not quite
as accurate as I expect it once was. But fundamentally, the principles
are sound.
So again, starting from scratch, I generate the archetype.
For the record, I'm using Maven 2.2.1 (as given by mvn -version) and
by defa
Steve. thanks, for hangin in there, man.
I have had that "ta da" moment each time I have started over from scratch.
Each time I re-create my project, I follow the tutorial and actually use the
exact command you specified. (Discovered the "create" error in the tutorial
(deprecated function) afte
Scary that the exception talks about components when it should be
looking for a page.
What does your web.xml look like? What is your app package set to? It should be:
tapestry.app-package
org.apache.tapestry5.tutorial
See http://tapestry.apache.org/tapestry5.1/guide/conf.html
Act
On Tue, 11 May 2010 17:11:10 -0300, aibkwik
wrote:
Not sure what the current T5 deal is with putting .tml files in the
WEB-INF, but I'm certain it's not recommended.
Tapestry never looked for template files inside WEB-INF. Instead, it looks
in the application root and in the classpath. An
Not sure what the current T5 deal is with putting .tml files in the
WEB-INF, but I'm certain it's not recommended.
Again, as Sergey and I have suggested, place your .tml files in the
same package as your java / class files.
With your current maven setup, that would be:
src/main/resources/org/
Not sure what the current T5 deal is with putting .tml files in the
WEB-INF, but I'm certain it's not recommended.
Again, as Sergey and I have suggested, place your .tml files in the
same package as your java / class files.
With your current maven setup, that would be:
src/main/resources/org/apa
Thanks, guys. Still no joy - Here is the entire 'shootin match'...
Here is the error I get when I click on the "start guessing" link...
http://old.nabble.com/file/p28528400/Application%2BException.jpeg
Here is the project file tree:
http://old.nabble.com/file/p28528400/Java%2B-%2Btutorial1
The XML namespace in your .tml files is fine. The templates have
rarely changed but some new features were introduced from 5.0.x.x to
5.1.x.x. It's all backwards compatible though and mentioned here:
http://tapestry.apache.org/tapestry5.1/guide/templates.html
in Tapestry Namespace.
Steve.
On 1
Hi Phil,
how did you setup your project?
Try moving your .tml files into the same folder where the corresponding
.java files are.
Also make sure that first line of java files - "package
org.apache.tapestry5.tutorial.pages" corresponds to their location -
something/org/apache/tapestry5/tutorial/p
Thank you, Steve!
Well that's somewhat disconcerting that the tutorial is wrong ouch.
So I'm unclear on how to check which "package" my .tml files are in since
none of the source files in the tutorial have a "package <>" statement in
them. My two .class files are both in the same director
1. It seems the tutorial is out of date, the class should be called
Index.java. ("Start" is a hangover from older days).
2. Make sure your compiled class file and your .tml file are in the
same package on the classpath. It's how Tapestry matches the two up
(same name in the same package). And as t
16 matches
Mail list logo