Re: Page Validation

2007-02-26 Thread James Sherwood
Still testing atm, will keep advised. --James - Original Message - From: "Mark Stang" <[EMAIL PROTECTED]> To: "Tapestry users" ; "Tapestry users" Sent: Monday, February 26, 2007 3:29 PM Subject: RE: Page Validation James, You said, "I tried im

RE: Page Validation

2007-02-26 Thread Mark Stang
rom: James Sherwood [mailto:[EMAIL PROTECTED] Sent: Mon 2/26/2007 12:21 PM To: Tapestry users Subject: Re: Page Validation Hello, I tried implementing it exactly as you suggested but I still get to see the first page. Once I refresh or try to go somewhere it sends me to the login page. The funn

Re: Page Validation

2007-02-26 Thread James Sherwood
- Original Message - From: "Nikla Ratinen" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Friday, February 23, 2007 1:02 PM Subject: Re: Page Validation Hi, As an alternate approach you may override the default page source with an implementation that checks

Re: Page Validation

2007-02-23 Thread Nikla Ratinen
Hi, As an alternate approach you may override the default page source with an implementation that checks security constraints just before giving out the page instance - this basically has the added benefit that secured page instances may not be obtained even through (accidental) malicious cod

RE: Page Validation

2007-02-23 Thread Mark Stang
Hi, This seems to work for us. public class ValidatePage extends BasePage implements PageValidateListener { public void pageValidate(PageEvent event) { Mediator mediator = MgmtFactory.getMediator(); if (!mediator.isConsole()) { IPage messagePage