You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by ce...@comcast.net on 2006/03/01 18:26:49 UTC

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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: property-specification error in 4.0

Posted by Norbert Sándor <de...@erinors.com>.
- <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: <ce...@comcast.net>
To: <ta...@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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
>
> -- 
> 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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org