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 > > > > > > > > > > > > Here is the SecuredPage class: > > public abstract class SecuredPage extends BasePage { > public abstract Visit getVisitObject(); > > public void validate(IRequestCycle iRequestCycle) { > Visit v = getVisitObject(); > if (!v.isAuthenticated()) { > throw new > PageRedirectException("Logon"); > } > super.validate(iRequestCycle); > } > > public void detach() { > super.detach(); > } > } > > > and here is the SecuredPage.page: > > > > > > > > Configuration Management Tool > > > > > > 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]
