You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Newcomb, Michael P." <MN...@tacintel.com> on 2005/02/10 20:21:38 UTC
setting visit-class property
I have specified:
<property name="org.apache.tapestry.visit-class" value="mypackage.MyVisit"/>
In the application file. However, getVisit().getClass() is still a HashMap.
What am I doing wrong?
Thanks,
Michael
Re: setting visit-class property
Posted by Jamie Orchard-Hays <ja...@dang.com>.
Cast it!
(MyVisit) visit = (MyVisit)getVisit().getClass()
----- Original Message -----
From: "Newcomb, Michael P." <MN...@tacintel.com>
To: <ta...@jakarta.apache.org>
Sent: Thursday, February 10, 2005 2:21 PM
Subject: setting visit-class property
>I have specified:
>
> <property name="org.apache.tapestry.visit-class"
> value="mypackage.MyVisit"/>
>
> In the application file. However, getVisit().getClass() is still a
> HashMap.
>
> What am I doing wrong?
>
> Thanks,
> Michael
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org