This content has been marked as final.
Show 3 replies
-
1. Re: standardjboss-portlet.xml and Bridge Interceptor
julien1 Sep 3, 2006 5:34 PM (in response to yxyang)By default normally all portlets uses the bridge interceptor.
The file standardjboss-portlet.xml configures the default behavior for the specific jboss portal settings of a portlet. If an option at runtime is not specified then it is taken from the default file. -
2. Re: standardjboss-portlet.xml and Bridge Interceptor
yxyang Sep 3, 2006 9:31 PM (in response to yxyang)Hi Julien
THanks for your useful indication:By default normally all portlets uses the bridge interceptor.
However, when i use the following code to access the servlet context:new JBossServletContextProvider().getServletContext(this)
within thepublic void init(PortletConfig config2) throws PortletException{....}
method, i got the following exception:java.lang.IllegalStateException: No bridge set
Why? Please help. I am using jboss portal 2.2.1.
Any example for using the bridge interceptor to get the servlet context?
thanks
yang -
3. Re: standardjboss-portlet.xml and Bridge Interceptor
julien1 Sep 4, 2006 5:51 AM (in response to yxyang)it's only available at runtime actually during processAction or render.