- <property-specification> was renamed to <property>
- attribute "type" was removed
Check out
http://jakarta.apache.org/tapestry/UsersGuide/spec.html#spec.property .
So try:
<page-specification class="com.sandcast.examples.tapestry.pages.Home">
<property name="dvd" />
</page-specification>
Regards,
Norbi
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <tapestry-user@jakarta.apache.org>
Sent: Wednesday, March 01, 2006 6:26 PM
Subject: property-specification error in 4.0
I am trying to convert an old example from tapestry 3 to 4.
When I try and access the page I get an error:
Could not parse specification context:/WEB-INF/Home.page.
The offending line is
<property-specification name="DVD"
type="com.sandcast.examples.tapestry.crud.bo.DVD"/>
The Home.page is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<page-specification class="com.sandcast.examples.tapestry.pages.Home">
<property-specification name="dvd"
type="com.sandcast.examples.tapestry.crud.bo.DVD"/>
</page-specification>
What am I missing.
Thanks
Calvin
--
--
"There is no psychiatrist in the
world like a puppy licking your
face."
Ben Williams
Please visit:
http://mywebpages.comcast.net/tnczo
o/
http://mywebpages.comcast.net/cedma
il/backpacking/index.html
http://groups.yahoo.com/group/Backp
ack_PA/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2006. 02.
24.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]