1 Reply Latest reply on Mar 4, 2006 3:12 AM by al_kiev

    UserModule always be null !!

    ericmacau

      Hello,

      I tried to get the UserModule from the portlet by using :

      UserModule um = (UserModule)getPortletContext().getAttribute("UserModule");
      


      But it always return null, do I need to setup something to using that ?



        • 1. Re: UserModule always be null !!

          In portal 2.4 modules (ant other services) injected into portlet using
          jboss-portlet.xml descriptor.

          Take a look at it in core/src/resources/portal-core-war/WEB-INF

          make sure you've deployed your portlets with appropriate services injected.