3 Replies Latest reply on Jan 14, 2010 10:56 AM by prabhat.jha

    Gatein set default portal from UI

    mvanco

      Hi,

       

      is it possible to set a default portal somewhere in UI?

      I haven't found it anywhere, even at User Guide.

       

      Thanks

      Michal Vanco

        • 1. Re: Gatein set default portal from UI
          sorenschmidt

          Michal,

           

          in the file

          .../webapps/portal/index.jsp

           

          there is a redirect to public/classic/ :

           

          <%response.sendRedirect(request.getContextPath() + "/public/classic/");%>

           

          is it that what you are looking for?

           

           

          cu

          Soren

          • 2. Re: Gatein set default portal from UI
            mvanco

            Hi,

             

            thanks for reply, but it's not exactly what I'm looking for.

             

            I found a configuration in Reference Guide (2.2. Default Portal Configuration), there is a property in /WEB-INF/conf/portal/portal-configuration.xml:

            ...

            <value-param>
            <name>default.portal</name>
            <description>The default portal for checking db is empty or not</description>
            <value>classic</value>
            </value-param>

            ...

             

            And index.jsp than uses this param:

            <% response.sendRedirect(request.getContextPath() + "/public/"+userPortalConfigService.getDefaultPortal()+"/" %>

             

            But my question is if it is possible from GUI, not in configuration?

             

            Thanks

            Michal Vanco

            • 3. Re: Gatein set default portal from UI
              prabhat.jha

              There does not exist a way to do this through UI. You would have to modify xml itself.