Alignment: Chaotic Java

Sunday, November 20, 2005

Tapestry 4.0 and @Script - I'm stuck!

I'm trying to create a simpe script in Tapestry. To that end, I decided to start by using their example. Too unfortunate for me, it doesn't work. Talks about root specifications when I try to run it. I am using Tapestry 4.0-beta 12, and I can only guess the example was written for Tapestry 3.0 . Or that it's not complete.

The DTD specifications page claims that A fifth type of specification, the Script specification, is described seperately. But where? The @Script page sure doesn't specify.

I'm stuck. Anyone has a clue?

1 Comments:

At 11/20/2005 08:07:00 PM, Blogger Avah said...

Eventually I found something.

Following the source code, I found out that there is a DTD file in org/apache/tapestry/script which described the "script" element as root.

So the example was wrong. Changing "script" to be in the top, and adding the whole DTD header helped this work.

Now to other rants :-)

 

Post a Comment

<< Home