validate() is invoked by services, not by 
IRequestCycle.getPage().

The assumption is that the application provides security 
checks at this level.  I don't think the application 
should have to second-guess what you do in code.

--
[EMAIL PROTECTED]

http://tapestry.sf.net
> I just said that the Visit object was sometimes null and othertimes not,
> I was incorrect. It is actually that validate on the page is not always
> being called where I would have expected it to be.
> I have a Login page which calls cycle.setPage to change to the main menu
> if the password is correct.
> Why is validate not called before displaying this page?
>  
> (Also, my previous question about getting the Visit from the validate
> method is still valid.. but it is consistently not working, not
> intermittent as I had thought).
>  
> Luke Galea 
> Software Development
> BlueCat <http://www.bluecatnetworks.com/>  Networks
> 905-762-5225
>  
> 


-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to