Skip to Content
author's profile photo Former Member
Former Member

Meaning of "Content Phase"

Dear all,

I wanna do a page redirection by using the method "redirct" of object "IPortalComponentRequest". From the javadoc, it mentioned that "To be effective this method must be called before the content phase."

Do anyone know how to make use of it? What is "<b>before the content phase</b>"?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 23, 2005 at 01:31 PM

    Hi Sam,

    if you want to use an AbstractPortalComponent for redirection (which is a good choice), there is the method doContent, which is called "too late" (it belongs to the content phase, headers have been set). If you overwrite doOnNodeReady, you're fine. Then implement the doContent just as an empty method (open braces, close braces).

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.