Thank you very much, Nick. This was what I was looking for.
Nick Westgate wrote: > > Access validation should be done in onActivate(): > http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html > > Cheers, > Nick. > > > dtrebbien wrote: >> I have two pages: ListRepositories and ViewRepository. ListRepositories >> is >> supposed to give ViewRepository an id number by calling ViewRepository's >> init() method. ViewRepository tracks whether it has been inited via a >> boolean value. The problem is, I want to redirect back to >> ListRepositories >> if a devious user just types in the URL for ViewRepository which would >> bypass ListRepositories's call to ViewRepository's init(). >> >> Currently I just return false, but this causes Tapestry to complain with >> something like "root component not defined". >> >> Does anyone know how to redirect to another page in the setupRender() >> method? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5%3A-Can-I-redirect-to-another-page-in-setupRender%28%29--tf4091039.html#a11678130 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]