-
1. Re: Gatein set default portal from UI
sorenschmidt Jan 13, 2010 11:57 AM (in response to mvanco)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 Jan 14, 2010 1:40 AM (in response to sorenschmidt)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 Jan 14, 2010 10:56 AM (in response to mvanco)
There does not exist a way to do this through UI. You would have to modify xml itself.