[jboss-user] [JBoss Portal] - sendRedirect and setRenderParameter

pedrosacosta do-not-reply at jboss.com
Tue Aug 8 10:07:54 EDT 2006


In the javadoc of the Portal the folowwing methods say:

"sendRedirect

The sendRedirect method can not be invoked after any of the following methods of the ActionResponse interface has been called:

    * setPortletMode
    * setWindowState
    * setRenderParameter
    * setRenderParameters "

"setRenderParameter

Throws:

java.lang.IllegalStateException - if the method is invoked after sendRedirect has been called."


So, how can i use the setRenderParameter and sendRedirect methods at the same time?

Thanks,
Pedro

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963808#3963808

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963808



More information about the jboss-user mailing list