You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Timothy McKnight <ta...@yahoo.com> on 2004/10/24 00:47:44 UTC
Tapestry visit object Ques
Hello All,
Newbie question here: In the Tapestry Users Guide
(outdated i know) it says to define the Visit class
like so:
<property name="org.apache.tapestry.visit-class"
value="mypackage.Visit" />
But when i do so i get the follwoing error:
Element 'property' is not allowed here. Expected
'((page | component-type | service | library |
extension)*)' instead.
Any ideas how i need to format the Visit property?
Thanks,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Tapestry visit object Ques
Posted by John Reynolds <jo...@austin.rr.com>.
Note: this is in your .application NOT in a .page.
<application name="TapestryTables"
engine-class="org.apache.tapestry.engine.BaseEngine" >
<description><![CDATA[ This application demonstrates the Tapestry
Table components ]]></description>
<property
name="org.apache.tapestry.visit-class">tapestrytables.TapestryTablesVisi
t</property>
<library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
<page name="Home" specification-path="Home.page"/>
</application>
-----Original Message-----
From: Timothy McKnight [mailto:tamcknight@yahoo.com]
Sent: Saturday, October 23, 2004 5:48 PM
To: Tapestry users
Subject: Tapestry visit object Ques
Hello All,
Newbie question here: In the Tapestry Users Guide
(outdated i know) it says to define the Visit class
like so:
<property name="org.apache.tapestry.visit-class"
value="mypackage.Visit" />
But when i do so i get the follwoing error:
Element 'property' is not allowed here. Expected
'((page | component-type | service | library |
extension)*)' instead.
Any ideas how i need to format the Visit property?
Thanks,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry visit object Ques
Posted by Timothy McKnight <ta...@yahoo.com>.
Please Disregard. Figured this out!
~Tim
--- Timothy McKnight <ta...@yahoo.com> wrote:
> Hello All,
>
> Newbie question here: In the Tapestry Users Guide
> (outdated i know) it says to define the Visit class
> like so:
> <property name="org.apache.tapestry.visit-class"
> value="mypackage.Visit" />
>
> But when i do so i get the follwoing error:
> Element 'property' is not allowed here. Expected
> '((page | component-type | service | library |
> extension)*)' instead.
>
> Any ideas how i need to format the Visit property?
>
> Thanks,
> Tim
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org