3 Replies Latest reply on Sep 4, 2006 5:51 AM by julien1

    standardjboss-portlet.xml and Bridge Interceptor

      I found there is
      standardjboss-portlet.xml file in the jbossportal-2.2.1 distribution.

      Now, what is the function of this file?

      How to use it?

      I want to configure the Bridge Inteceptor for a portlet, how to do ?

      yang

        • 1. Re: standardjboss-portlet.xml and Bridge Interceptor

          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

            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 the
            public 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

              it's only available at runtime actually during processAction or render.