BEA Logo BEA WebLogic Portal Release 4.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   WebLogic Portal Documentation   |   Release Notes   |   Previous Topic   |   Next Topic   |   Contents

Service Pack 3 Text File Changes

 

This section lists the text files that have changed from SP2 to SP3 and the changes that have been made. The information is given in standard diff format. If you are upgrading from SP2 you will need to make the changes in the section "Service Pack 2 Text File Changes" before applying the changes listed here.

bin/loadads.bat/sh

17c17
< %JDK_HOME%\bin\java -classpath %CLASSPATH% -Dcloudscape.system.home=%WL_COMMERCE_HOME%\db\data -Dcommerce.properties=%WL_COMMERCE_HOME%\weblogiccommerce.properties com.bea.p13n.content.document.ref.loader.BulkLoader -verbose -ignore "doc-schemas" -properties %WL_COMMERCE_HOME%\bin\win32\loaddocs.properties -conPool commercePool -schema %WL_COMMERCE_HOME%\dmsBase\doc-schemas\ad-schema.xml -schemaName Ads -d %WL_COMMERCE_HOME%\dmsBase Ads %1 %2 %3 %4 %5 %6
---
> %JDK_HOME%\bin\java -classpath %CLASSPATH% -Dcloudscape.system.home=%WL_COMMERCE_HOME%\db\data -Dcommerce.properties=%WL_COMMERCE_HOME%\weblogiccommerce.properties com.bea.p13n.content.document.ref.loader.BulkLoader -verbose -ignore "doc-schemas" -properties %WL_COMMERCE_HOME%\bin\win32\loaddocs.properties -conPool commercePool -server portalServer -application portal -schema %WL_COMMERCE_HOME%\dmsBase\doc-schemas\ad-schema.xml -schemaName Ads -d %WL_COMMERCE_HOME%\dmsBase Ads %1 %2 %3 %4 %5 %6

bin/loaddocs.bat/sh

17c17
< %JDK_HOME%\bin\java -classpath %CLASSPATH% -Dcloudscape.system.home=%WL_COMMERCE_HOME%\db\data -Dcommerce.properties=%WL_COMMERCE_HOME%\weblogiccommerce.properties com.bea.p13n.content.document.ref.loader.BulkLoader -verbose -ignore "doc-schemas" -ignore "Ads" -properties %WL_COMMERCE_HOME%\bin\win32\loaddocs.properties -conPool commercePool -schema %WL_COMMERCE_HOME%\dmsBase\doc-schemas\doc-schema.xml -d %WL_COMMERCE_HOME%\dmsBase %1 %2 %3 %4 %5 %6 %7 %8 %9
---
> %JDK_HOME%\bin\java -classpath %CLASSPATH% -Dcloudscape.system.home=%WL_COMMERCE_HOME%\db\data -Dcommerce.properties=%WL_COMMERCE_HOME%\weblogiccommerce.properties com.bea.p13n.content.document.ref.loader.BulkLoader -verbose -ignore "doc-schemas" -ignore "Ads" -properties %WL_COMMERCE_HOME%\bin\win32\loaddocs.properties -conPool commercePool -server portalServer -application portal -schema %WL_COMMERCE_HOME%\dmsBase\doc-schemas\doc-schema.xml -d %WL_COMMERCE_HOME%\dmsBase %1 %2 %3 %4 %5 %6 %7 %8 %9

bin/loaddocs.properties

7a8,12
>
> context.initial.context.factory=weblogic.jndi.WLInitialContextFactory
> context.provider.url=t3://localhost:7501
> context.security.principal=system
> context.security.credentials=weblogic

bin/set-environment.bat/sh

44c44
< SET PATH=%PATH%;%WEBLOGIC_HOME%\bin
---
> SET PATH=%WEBLOGIC_HOME%\bin;%PATH%

93c93
< SET PATH=%PATH%;%ORACLE_OCI_LIBPATH%;%WLCS_ORACLE_HOME%\bin
---
> SET PATH=%ORACLE_OCI_LIBPATH%;%WLCS_ORACLE_HOME%\bin;%PATH%

103c103
< SET PATH=%PATH%;%WLCS_ORACLE_HOME%\bin
---
> SET PATH=%WLCS_ORACLE_HOME%\bin;%PATH%

141c141
< SET PATH=%PATH%;%DB2_HOME%\bin
---
> SET PATH=%DB2_HOME%\bin;%PATH%

config/p13nDomain/config.xml

3a4,9
> <StartupClass
> ClassName="com.bea.p13n.util.PortalVersioningStartup"
> FailureIsFatal="false"
> Name="PortalVersioning"
> Targets="p13nServer"
> />

config/petflowDomain/config.xml

4a5,11
> <StartupClass
> ClassName="com.bea.p13n.util.PortalVersioningStartup"
> FailureIsFatal="false"
> Name="PortalVersioning"
> Targets="petflowServer"
> />
>

121a129,133
> <ApplicationConfiguration
> Name="petflow"
> Targets="petflowServer"
> URI="META-INF/application-config.xml"
> />

config/portalDomain/config.xml

155a156,162
> <StartupClass
> ClassName="com.bea.p13n.util.PortalVersioningStartup"
> FailureIsFatal="false"
> Name="PortalVersioning"
> Targets="portalServer"
> />
>

config/wlcsDomain/config.xml

4c4,9
<
---
> <StartupClass
> ClassName="com.bea.p13n.util.PortalVersioningStartup"
> FailureIsFatal="false"
> Name="PortalVersioning"
> Targets="wlcsServer"
> />

portal/tools/tools/portal/select_portlets.jsp

7a8
> <%@ page import="com.bea.portal.model.PortalIdentifier"%>

47a49,51
> // get PortalIdentifier
> PortalIdentifier portalIdentifier = currentGroupPortal.getPortalIdentifier();
>

56a61,63
> <!-- Get the web app context name -->
> <res:getWebAppName portalIdentifier="<%=portalIdentifier%>" id="webappName" />
>

59c66
< String layoutURL = "/"+portalName+"/framework/layouts/" + layoutName + "/template.jsp";
---
> String layoutURL = webappName+"/framework/layouts/" + layoutName + "/template.jsp";

portal/tools/tools/portal/select_skins.jsp

22a23
> <%@ page import="com.bea.p13n.management.ApplicationHelper"%>

72a74
> PortalIdentifier portalIdentifier = currentGroupPortal.getPortalIdentifier();

77d78
< String webappName = ((PortalIdentifier)currentGroupPortal.getPortalIdentifier()).getWebAppName();

84a86,88
> <!-- Get the web app context name -->
> <res:getWebAppName portalIdentifier="<%=portalIdentifier%>" id="webappName"/>
>

94,96c98,100
< String selectedSkinIds = req.getParameter("selectedSkinIds");
< String selectedDefaultSkin = req.getParameter("skinId");
< String destination = req.getParameter("submitMode");
---
> String selectedSkinIds = req.getParameter("selectedSkinIds");
> String selectedDefaultSkin = req.getParameter("skinId");
> String destination = req.getParameter("submitMode");
142c146
< var src = "/<%=webappName %>/framework/skins/" + val + "/images/preview.gif";
---
> var src = "<%=webappName %>/framework/skins/" + val + "/images/preview.gif";

194c198
< var src = "/<%=webappName %>/framework/skins/" + val + "/images/preview.gif";
---
> var src = "<%=webappName %>/framework/skins/" + val + "/images/preview.gif";

265c269
< var src = "/<%=webappName %>/framework/skins/" + skinId + "/images/preview.gif";
---
> var src = "<%=webappName %>/framework/skins/" + skinId + "/images/preview.gif";

portal/tools/tools/portal/set_page_attributes.jsp

105,106c105,114
< <!-- Note: this isn't really the selected pages. I'm not sure why the tag is called getSelectedPages -->
< <res:getSelectedPages id="allPages" groupId="<%=currentGroupPortal%>"/>
---
>
> <res:getAllPages id="allDefaultPages" groupId="<%=currentGroupPortal%>"/
>
> <%
> String[] defaultPageArray = new String[allDefaultPages.size()];
> for(int i = 0; i < allDefaultPages.size(); i++)
> {
> defaultPageArray[i] = ((Page)allDefaultPages.get(i)).getIdentifier().getName();
> }
> %>
> <res:getPersonalizedPages id="allPages" pageNames = "<%=defaultPageArray%>" groupId = "<%=currentGroupPortal%>"/>

portal/tools/tools/portal/set_portlet_attributes.jsp

63a64,65
> boolean portletDefinedFloatable = false;
>

68,73c70,90
< if (selectedPortlets == null) {%>
< <wf:getProperty property="selectedPortlets" id="selPortlets" type="String[]"/>
< <% selectedPortlets = selPortlets;
< } else { %>
< <wf:setProperty property="selectedPortlets" value="<%= selectedPortlets %>"/>
< <% } %>
---
> if (selectedPortlets == null)
> {
> %>
> <wf:getProperty property="selectedPortlets" id="selPortlets" type="String[]"/>
> <%
> selectedPortlets = selPortlets;
> }
> else
> {
> %>
> <wf:setProperty property="selectedPortlets" value="<%= selectedPortlets %>"/>
> <%
> }
>
> boolean singlePortletEdit = false;
> if( selectedPortlets.length == 1)
> {
> singlePortletEdit = true;
> }
>
> %>

80c97
< for (int i=0; i<6; i++)
---
> for (int i=0; i<7; i++)

99a117
> mportlet.setFloatable(new Boolean(attrs[6]));

101c119
< if (selectedPortlets.length == 1) {
---
> if (singlePortletEdit) {

159c177,178
< for ( int i = 0; i < pp13n.size(); i++ ){
---
> for ( int i = 0; i < pp13n.size(); i++ )
> {

164c183
< <wf:setProperty property="displayNames" value='<%=displayNames%>'/>
---
> <wf:setProperty property="displayNames" value='<%=displayNames%>'/>

166c185,186
<
---
> PortletPersonalization pp = (PortletPersonalization)(pp13n.get(0));
> displayName = pp.getDisplayName();

168,169c188,194
< PortletPersonalization pp = (PortletPersonalization)(pp13n.get(0));
< displayName = pp.getDisplayName();
---
> attrs[0] = pp.isAvailable().booleanValue();
> attrs[1] = pp.isVisible().booleanValue();
> attrs[2] = pp.isMinimizable().booleanValue();
> attrs[3] = pp.isMaximizable().booleanValue();
> attrs[4] = pp.isMinimized().booleanValue();
> attrs[5] = pp.isMandatory().booleanValue();
> attrs[6] = pp.isFloatable().booleanValue();

171,177c196,203
< attrs[0] = pp.isAvailable().booleanValue();
< attrs[1] = pp.isVisible().booleanValue();
< attrs[2] = pp.isMinimizable().booleanValue();
< attrs[3] = pp.isMaximizable().booleanValue();
< attrs[4] = pp.isMinimized().booleanValue();
< attrs[5] = pp.isMandatory().booleanValue();
< }
---
> if(singlePortletEdit)
> {
> %>
> <res:isPortletDefinedFloatable id="portletFloatable" groupPortal="<%=c
urrentGroupPortal%>" portletId="<%=pp.getPortletIdentifier()%>"/>
> <%
> portletDefinedFloatable = portletFloatable.booleanValue();
> }
> }

208c234
< if(<%=selectedPortlets.length%> == 1 && document.forms[0].displayName.value == "")
---
> if(<%=singlePortletEdit%> && document.forms[0].displayName.value == "")

345,349c371,381
< <% if (selectedPortlets.length == 1) { %>
< <TR>
< <TD><i18n:getMessage messageName='displayName'/></TD>
< <TD><input type="text" name="displayName" value="<%= displayName %>" maxlength="254"></TD>
< </TR>
---
> <% if (singlePortletEdit && portletDefinedFloatable) { %>
> <TR>
> <TD><i18n:getMessage messageName='floatable'/></TD>
> <TD><input type="checkbox" name="attr6" value="1" <%= checked[6] %>></TD>
> </TR>
> <% } %>
> <% if (singlePortletEdit) { %>
> <TR>
> <TD><i18n:getMessage messageName='displayName'/></TD>
> <TD><input type="text" name="displayName" value="<%= displayName %>" maxlength="254"></TD>
> </TR>

portal/tools/tools/portal/set_portlet_ent_segments.jsp

331c331
< <A HREF="" onclick="doFormSubmit(); return false;"><IMG src="<wf:createResourceURL resource='<%=imagesPath + "save.gif"%>'/>" border="0" align="bottom" onclick="doFormSubmit()"></A>
---
> <A HREF="javascript:doFormSubmit();"><IMG src="<wf:createResourceURL resource='<%=imagesPath + "save.gif"%>'/>" border="0" align="bottom" >

 

back to top previous page