I'm developing a project in portlet mode and I have a problem with page redirect: - I have 3 pages named A, B, C. - In page named A, I have a page link to page B, then I want B auto redirect to page C
The problem is that in B class I don't know how to redirect to C. I try to call ---------- B class ------------- @InjectPage private C c;//page C Object onActivate() { return c; } ------------------------------------ i don't know in B class which phase (which method) can redirect to other page. I did try add a action link to B, then when A call B, in B I click to the action link, then I have C. But I don't want to click page B again. I want to click page A then it call to B and in B it auto redirect to C.