So what would be the best way to prevent a page to be accessed without some
context? 

I have a onActivate(Long id) method but I want to prevent users from simply
accessing the page by typing the name of the page. I have tried to return
false in onActiavate() method but no luck.

Is the only choice to return some other page if they try to access this way?

Also I want to know what is the best way to save cotext. Using onPasivate
maybe? I have a form on that page and once it gets triggered it loses all
the data (@Persist annotation save my selected choice but I still want to
see stuff in the url) So what should I use for that.

Thanks




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Best-way-to-prevent-page-to-be-accessed-without-context-tp5718737.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to