Mike, I'm reading your forum post via the tapestry-user list and
gmail. In gmail the forum post looks like a whole bunch of  
    unreadable      stuff.

So I have no clue what the problem might be.

Geoff

On 12/15/05, Miker <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just switched from tapestry3 to 4, and have one remaining problem: I'm 
> trying to access my Visit object in the SecuredPage, a subclass of Basepage. 
> The returned Visit object is always null. Am I doing anything wrong?
>
> Here is my hivemind.xml
>
>
>
>
> &nbsp;
> &nbsp; &nbsp;
> &nbsp; &nbsp;
>
>
>
>
> Here is the SecuredPage class:
>
> public abstract class SecuredPage extends BasePage &#123;
> &nbsp; &nbsp;public abstract Visit getVisitObject&#40;&#41;;
> &nbsp; &nbsp;
> &nbsp; &nbsp;public void validate&#40;IRequestCycle iRequestCycle&#41; &#123;
> &nbsp; &nbsp;&nbsp; &nbsp;Visit v = getVisitObject&#40;&#41;;
> &nbsp; &nbsp;&nbsp; &nbsp;if &#40;!v.isAuthenticated&#40;&#41;&#41; &#123;
> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;throw new 
> PageRedirectException&#40;"Logon"&#41;;
> &nbsp; &nbsp;&nbsp; &nbsp;&#125;
> &nbsp; &nbsp;&nbsp; &nbsp;super.validate&#40;iRequestCycle&#41;;
> &nbsp; &nbsp;&#125;
>
> &nbsp; &nbsp;public void detach&#40;&#41; &#123;
> &nbsp; &nbsp;&nbsp; &nbsp;super.detach&#40;&#41;;
> &nbsp; &nbsp;&#125;
> &#125;
>
>
> and here is the SecuredPage.page:
>
>
>
>
>
>
>
> &nbsp; &nbsp; Configuration Management Tool
>
> &nbsp; &nbsp;&nbsp; &nbsp;
>
>
>
> greetings,
> Mike
>
>
> -------------------- m2f --------------------
>
> Sent from www.TapestryForums.com
>
> Read this topic online here: <<topic_link>>
>
> http://www.tapestryforums.com/viewtopic.php?p=12011#12011
>
> -------------------- m2f --------------------
>
>
>
>


--
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates:            http://spindle.sf.net/updates

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to