Create Page And Create Subspace Is Not Working From Action Icon (Gear Icon) (Doc ID 1455089.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

Using custom .jspx and .xml for a template and after assigning the template to a Space, the gear icon's Create Page or Create Subspace do not perform any actions.
It seems to just refresh the page.

How to Reproduce:

1. Log into Spaces and click on the Administration link.
2. Click on the resources tab and make sure Page Templates is selected.
3. Click on Create to create a new template (JPtemplate). Does not matter which value is chosen for 'Copy From'.
4. Highlight the template (JPtemplate) and click edit > Edit Source.
5. In Edit Source on the template tab, replace the existing code with this code (jspx):

<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:wcshell="http://xmlns.oracle.com/webcenter/shell"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:tag="http://xmlns.oracle.com/webcenter/services/tagging"
xmlns:rel="http://xmlns.oracle.com/webcenter/services/relationship"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:rh="http://xmlns.oracle.com/webcenter/resourcehandler"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:wcdc="http://xmlns.oracle.com/webcenter/spaces/taglib"
xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
xmlns:trh="http://myfaces.apache.org/trinidad/html"
xmlns:rtc="http://xmlns.oracle.com/webcenter/collab/rtc">
<af:pageTemplateDef var="attrs">
<af:xmlContent>
<component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
<display-name>SNIFixed1024MiddleTemplate</display-name>
<facet>
<facet-name>content</facet-name>
</facet>
</component>
</af:xmlContent>
<af:panelGroupLayout id="pt_pgl13" layout="horizontal" halign="center">
<af:panelStretchLayout startWidth="0" endWidth="0" topHeight="0"
bottomHeight="0"
inlineStyle="width:1000px; height:612.0px;"
id="pt_psl1">
<f:facet name="start"/>
<f:facet name="center">
<af:panelStretchLayout topHeight="27" bottomHeight="0"
startWidth="0" endWidth="0" id="pt_psl4">
<f:facet name="top">
<trh:tableLayout inlineStyle="width:100%" id="pt_tl4">
<trh:rowLayout id="pt_rl4">
<trh:cellFormat id="pt_cf1" halign="left">
<af:panelGroupLayout id="pt_pgl5" halign="left">
add here => <wcdc:siteTemplateMetadata type="start"/>
<af:goLink destination="#{boilerBean.homeURL}"
id="gtbpgl1">
<af:switcher facetName="#{(WCAppContext.application.applicationConfig.logo != null ? 'wcLogo' : 'defaultIcon')}"
id="gtbps1">
<f:facet name="wcLogo">
<af:image source="#{WCAppContext.spacesResourcesPath}/#{WCAppContext.application.applicationConfig.logo}"
shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGO_DESC}"
inlineStyle="width:auto;background-image:none"
id="gtbpi1"/>
</f:facet>
<f:facet name="defaultIcon">
<af:spacer shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGO_DESC}"
styleClass="AFBrandingBarLogo"
id="gtbps2"/>
</f:facet>
</af:switcher>
</af:goLink>
</af:panelGroupLayout>
</trh:cellFormat>
<trh:cellFormat id="pt_cf7">
<af:panelGroupLayout layout="horizontal"
halign="end" valign="middle"
id="pt_pgl6">
<f:facet name="separator">
<af:spacer styleClass="WCGlobalNavSeparator"
id="gtbps3"/>
</f:facet>
<af:region value="#{bindings.localToolbarSearch.regionModel}"
id="sniSearch"/>
<af:outputText value="sniSecurityBean.firstName sniSecurityBean.lastName"
id="profileName"
inlineStyle="white-space:nowrap"
rendered="#{security.authenticated}"/>
<af:panelGroupLayout layout="horizontal"
halign="end"
valign="middle"
rendered="#{security.authenticated and (security.webCenterAdministrator or security.webCenterConfigAllowed)}"
id="pt_pgl3">
<f:facet name="separator">
<af:spacer styleClass="WCGlobalNavSeparator"
id="pt_s1"/>
</f:facet>
<af:panelGroupLayout layout="horizontal"
id="gtbppgl7"
rendered="#{security.webCenterAdministrator and security.authenticated}">
<wcdc:spacesAction id="wcAdminLink"
type="administration"
immediate="false"
inlineStyle="white-space:nowrap;"
text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_ADMINISTRATION}"
shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_ADMINISTRATION_DESC}"/>
<wcdc:userPreferences id="wcPreferLink"
__taskFlowId="preferenceRegion"
inlineStyle="white-space:nowrap;"
text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_PREFERENCES}"
shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_PREFERENCES_DESC}"/>
<f:facet name="separator">
<af:spacer width="10" height="10"
id="pt_s5"/>
</f:facet>
</af:panelGroupLayout>
</af:panelGroupLayout>
<af:panelGroupLayout id="pt_pgl12"
layout="horizontal"
rendered="#{backing_ChangePasswordBean.showChangePasswordLink}">
<f:facet name="separator">
<af:spacer width="10" height="10"
id="pt_s12"/>
</f:facet>
<af:commandLink text="Change Password"
id="pt_gl1">
<af:showPopupBehavior popupId="::cpPopup"
align="startAfter"/>
</af:commandLink>
</af:panelGroupLayout>
<af:panelGroupLayout layout="horizontal"
id="pt_pgl2">
<f:facet name="separator">
<af:spacer styleClass="WCGlobalNavSeparator"
id="pt_s7"/>
</f:facet>
<af:goLink text="Contact Us" id="pt_gl2"
inlineStyle="white-space:nowrap"
destination="sniEnvironment.lookup['sni.site.test.baseurl']/contactus/portal/index.htm"
targetFrame="_blank"/>
<af:commandLink text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGOUT}"
id="logoutLink"
partialSubmit="true"
inlineStyle="white-space:nowrap"
rendered="#{security.authenticated}"
immediate="true"
clientComponent="true"
actionListener="#{o_w_wa__i_v_w_Login.doLogout}"
shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGOUT_DESC}">
<!--af:clientListener type="click"
method="callServicesLogout"/-->
</af:commandLink>
<wcdc:spacesAction id="statusIndiWcLink"
type="statusIndicator"/>
</af:panelGroupLayout>
</af:panelGroupLayout>
</trh:cellFormat>
</trh:rowLayout>
</trh:tableLayout>
</f:facet>
<f:facet name="center">
<af:panelStretchLayout topHeight="23" bottomHeight="0"
startWidth="0" endWidth="0"
id="pt_psl2">
<f:facet name="top">
<af:panelGroupLayout id="pt_pgl9" layout="vertical">
<af:panelStretchLayout startWidth="0px"
id="localBplt"
endWidth="70px"
topHeight="0px"
bottomHeight="0px"
inlineStyle="height:23px; width:100.0%;"
styleClass="WCStretchedRegion">
<f:facet name="center">
<af:panelGroupLayout id="pt_pgl41"
layout="vertical"
styleClass="WCSiteTemplateTopNavPanel">
<panelCustomizable id="pcustnav"
layout="vertical"
inlineStyle="padding:0px;">
<showDetailFrame id="sdf_for_oc_1272039820region1"
text="#{uib_o_w_s_r_DefaultGroupSpaceCatalog['NAVIGATION_MENU.TITLE']}"
contentStyle="background-color:transparent;"
displayHeader="false"
stretchContent="auto"
background="light"
showResizer="never"
xmlns="http://xmlns.oracle.com/adf/faces/customizable">
<af:region xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
id="oc_1272039820region1"
value="#{bindings.rbyfFXLZf1a1.regionModel}"/>
</showDetailFrame>
</panelCustomizable>
</af:panelGroupLayout>
</f:facet>
<f:facet name="start"/>
<f:facet name="end">
<af:panelGroupLayout id="pt_pgl10"
rendered="#{(securityContext.userInRole['PortalPAWS'] or security.webCenterAdministrator or security.communityModerator) and security.authenticated}"
layout="horizontal"
halign="start">
<!-- ============================================ -->
<!-- == TOP MENU ACTIONS == -->
<!-- ============================================ -->
<af:panelGroupLayout id="dc_pgl6"
layout="horizontal"
halign="end"
valign="middle">
<af:spacer width="10" id="pt_s101"/>
<af:commandImageLink icon="#{requestContext.rightToLeft ? '/adf/webcenter/agentdropdown_rtl_sm_ena.png' : '/adf/webcenter/agentdropdown_sm_ena.png'}"
hoverIcon="#{requestContext.rightToLeft ? '/adf/webcenter/agentdropdown_rtl_sm_ovr.png' : '/adf/webcenter/agentdropdown_sm_ovr.png'}"
depressedIcon="#{requestContext.rightToLeft ? '/adf/webcenter/agentdropdown_rtl_sm_dwn.png' : '/adf/webcenter/agentdropdown_sm_dwn.png'}"
id="actionsMenuLink"
shortDesc="#{uib_o_w_w_r_WebCenter['NAV_TOOLS_ACTIONS_FOLDER.DESCRIPTION']}"
clientComponent="true"
rendered="#{!serviceCtx.scope.spaceTemplate}">
<af:showPopupBehavior popupId="actnRegion:actionsDropdownPopup"
alignId="actionsMenuLink"
align="afterStart"/>
</af:commandImageLink>
<af:region value="#{bindings.spacesActionSubmenu.regionModel}"
id="actnRegion"
rendered="#{!serviceCtx.scope.spaceTemplate}"/>
</af:panelGroupLayout>
<af:panelGroupLayout id="pt_pgl11"
layout="horizontal"
rendered="#{(securityContext.userInRole['PortalPAWS'] or security.webCenterAdministrator or security.communityModerator) and security.authenticated}">
<af:region value="#{bindings.secondaryTabBarTaggingPopupTaskFlow.regionModel}"
id="taging"/>
<tag:taggingButton id="secTagBtn"
resourceId="#{o_w_w_i_v_s_tabManager.menuModel.focusRowData.pathInfo}#{pageDocBean.pageDef != null and pageDocBean.pageDef.customAttributeValueMap != null and pageDocBean.pageDef.customAttributeValueMap['WEBCENTER_SERVICE_ID'] != null ? boilerBean.persistableRequestParams : boilerBean.persistableRequestParamsForTagging}"
resourceName="#{not empty o_w_w_i_v_b_resourceViewerBean.peopleConnDocTitle ? o_w_w_i_v_b_resourceViewerBean.peopleConnDocTitle : pageDocBean.title != null ? pageDocBean.title : pageFlowScope.o_w_w_i_v_b_currRequestParamMap['wc.tabLabel']}#{pageDocBean.wikiBlogName}"
serviceId="#{'oracle.webcenter.page'}"
showLabel="false"/>
<af:region value="#{bindings.linksDetailPopupTaskFlow.regionModel}"
rendered="#{false and security.authenticated and (pageFlowScope.showTagsAndLinks or not empty o_w_w_i_v_s_tabManager.menuModel.focusRowData.allowedOperations and o_w_w_i_v_s_tabManager.menuModel.focusRowData.allowedOperations['VIEWLINKS'] == true) and o_w_w_i_v_s_tabManager.menuModel.focusDepth gt 0}"
id="links"/>
<rel:linksDetailButton id="secondaryTabBarLinksDetailButton"
objectDescription="#{not empty o_w_w_i_v_b_resourceViewerBean.peopleConnDocTitle ? o_w_w_i_v_b_resourceViewerBean.peopleConnDocTitle : pageDocBean.title != null ? pageDocBean.title : pageFlowScope.o_w_w_i_v_b_currRequestParamMap['wc.tabLabel']}#{pageDocBean.wikiBlogName}"
objectId="#{o_w_w_i_v_s_tabManager.menuModel.focusRowData.pathInfo}#{boilerBean.persistableRequestParams}"
objectName="#{not empty o_w_w_i_v_b_resourceViewerBean.peopleConnDocTitle ? o_w_w_i_v_b_resourceViewerBean.peopleConnDocTitle : pageDocBean.title != null ? pageDocBean.title : pageFlowScope.o_w_w_i_v_b_currRequestParamMap['wc.tabLabel']}#{pageDocBean.wikiBlogName}"
serviceId="oracle.webcenter.page"
rendered="#{false and security.authenticated and (pageFlowScope.showTagsAndLinks or not empty o_w_w_i_v_s_tabManager.menuModel.focusRowData.allowedOperations and o_w_w_i_v_s_tabManager.menuModel.focusRowData.allowedOperations['VIEWLINKS'] == true) and o_w_w_i_v_s_tabManager.menuModel.focusDepth gt 0}"
smallIcon="false"
binding="#{requestScope.secondaryTabBarLinksDetailButton}"
partialTarget="#{requestScope.secondaryTabBarLinksDetailButton}"
showLabel="false"/>
</af:panelGroupLayout>
<f:facet name="separator">
<af:spacer width="5" id="pt_s10"/>
</f:facet>
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
</af:panelGroupLayout>
</f:facet>
<f:facet name="bottom">
<af:spacer id="pt_s6"/>
</f:facet>
<f:facet name="center">
<af:decorativeBox theme="contentBody" topHeight="0px"
id="pt_db1">
<f:facet name="center">
<af:panelStretchLayout topHeight="0"
startWidth="0"
endWidth="0"
bottomHeight="12"
id="pt_psl3">
<f:facet name="end"/>
<f:facet name="center">
<af:decorativeBox theme="light"
id="pt_db2">
<f:facet name="center">
<af:panelStretchLayout id="wcCont"
styleClass="WCContent">
<f:facet name="center">
<af:skipLinkTarget/>
<af:facetRef facetName="content"/>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:decorativeBox>
</f:facet>
<f:facet name="bottom">
<trh:tableLayout cellSpacing="0"
cellPadding="0"
inlineStyle="width:100%"
id="pt_tl1">
<trh:rowLayout id="pt_rl1">
<trh:cellFormat width="70%"
id="pt_cf8">
<af:panelGroupLayout layout="horizontal"
halign="start"
valign="middle"
id="pt_pgl7">
<af:outputFormatted value="#{boilerBean.copyrightMessage}"
inlineStyle="font-size:smaller;font-weight:bold;white-space:nowrap;color:Black;"
id="appftof1"/>
</af:panelGroupLayout>
</trh:cellFormat>
<trh:cellFormat id="pt_cf9"
width="30%">
<af:panelGroupLayout layout="horizontal"
halign="end"
valign="middle"
id="pt_pgl4">
<f:facet name="separator">
<af:spacer styleClass="WCGlobalNavSeparator"
id="gtbps345"/>
</f:facet>
<af:goLink text="About Test"
id="pt_gl3"
inlineStyle="font-size:smaller;font-weight:bold;white-space:nowrap;color:Black;"
destination="sniEnvironment.lookup['sni.site.schneider.baseurl']/About_Schneider/index.htm"
targetFrame="_blank"/>
<af:goLink text="#{uib_o_w_w_r_WebCenter.PRIVACY_STMT}"
destination="#{boilerBean.privacyURL}"
rendered="#{not empty boilerBean.privacyURL}"
shortDesc="#{uib_o_w_w_r_WebCenter.PRIVACY_STMT_DESC}"
targetFrame="_blank"
inlineStyle="font-size:smaller;font-weight:bold;white-space:nowrap;color:Black;"
id="appftgl1"/>
</af:panelGroupLayout>
</trh:cellFormat>
</trh:rowLayout>
</trh:tableLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:decorativeBox>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:facet name="top"/>
</af:panelStretchLayout>
</af:panelGroupLayout>
</af:pageTemplateDef>
</jsp:root>

6. In Edit Source on the Panel Definition tab, replace the existing code with this code (xml):

<?xml version='1.0' encoding='UTF-8'?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="11.1.1.41.0" id="TemplatePageDef"
Package="oracle.webcenter.siteresources.scopedMD.s8bba98ff_4cbb_40b8_beee_296c916a23ed.siteTemplate.gsr27123caa_1637_4577_9d76_94695b830f7c">
<parameters>
<parameter id="persistURI" value="${true}"/>
<parameter id="prepareTabs" value="${true}"/>
<parameter id="showLoginLink" value="${true}"/>
<parameter id="showRegisterLink" value="${true}"/>
<parameter id="pageHelpTopicId" value="${null}"/>
<parameter id="displayHelpInSecTabBar" value="${false}"/>
<parameter id="showTagsAndLinks" value="${false}"/>
</parameters>
<executables>
<taskFlow id="localToolbarSearch"
taskFlowId="/oracle/webcenter/search/controller/taskflows/localToolbarSearch#search-toolbar"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters>
<parameter id="scope" value="${serviceCtx.scope}"
taskFlowId="#{security.authenticated ? '/oracle/webcenter/webcenterapp/view/taskflows/applinks/FavoritesTaskFlow#FavoritesTaskFlow': '/oracle/webcenter/webcenterapp/view/taskflows/emptyContent/EmptyContentRegion#EmptyContentRegion'}"
xmlns="http://xmlns.oracle.com/adf/controller/binding"
Refresh="ifNeeded"/>
<taskFlow id="preferenceRegion"
RefreshCondition="#{requestScope.o_w_wa_refreshPreferencesDialog == true}"
taskFlowId="#{security.authenticated ? '/oracle/webcenter/webcenterapp/view/taskflows/preference/preference-main-dialog-definition#preference-main-dialog': '/oracle/webcenter/webcenterapp/view/taskflows/emptyContent/EmptyContentRegion#EmptyContentRegion'}"
xmlns="http://xmlns.oracle.com/adf/controller/binding"
Refresh="ifNeeded"/>
<taskFlow id="spacesNavigationPanel"
taskFlowId="/oracle/webcenter/webcenterapp/view/taskflows/navigation/SpacesNavigationTopPanel.xml#SpacesNavigationTopPanel"
Refresh="ifNeeded"
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
<taskFlow id="wcdc1840754964"
taskFlowId="/oracle/webcenter/tagging/controller/taskflows/launch-dialog#tagging-launch-dialog"
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
<taskFlow id="pageAccessPanel" Refresh="ifNeeded"
taskFlowId="/oracle/webcenter/page/view/jsf/fragments/page-sec-panel-param-definition#page-sec-panel-param-definition"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters>
<parameter id="oracle_webcenter_page_pagepath"
<taskFlow id="linksDetailPopupTaskFlow"
taskFlowId="/oracle/webcenter/relationship/view/jsf/resources/links-detail-popup#links-detail-popup"
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
<taskFlow id="secondaryTabBarTaggingPopupTaskFlow"
taskFlowId="/oracle/webcenter/tagging/controller/taskflows/launch-dialog#tagging-launch-dialog"
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
<taskFlow id="pageBrowser"
taskFlowId="#{pageFlowScope.managePagesLoaded == true? '/oracle/webcenter/webcenterapp/view/taskflows/page/TableOfPagesRegion#TableOfPagesRegion': '/oracle/webcenter/webcenterapp/view/taskflows/emptyContent/EmptyContentRegion#EmptyContentRegion'}"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters>
<parameter id="layout" value="${'TAB_ORDERED'}"
taskFlowId="/oracle/webcenter/navigationtaskflows/view/pagemenu-definition#pagemenu-definition"
xmlns="http://xmlns.oracle.com/adf/controller/binding"
Refresh="ifNeeded">
<parameters>
<parameter id="showIcons" value="${''}"/>
<parameter id="style" value="${''}"/>
<parameter id="subStyle" value="${''}"/>
<parameter id="startNode" value="${'/'}"/>
<parameter id="navigationFile"
<!-- Task Flow for displaying the "Actions" drop-down -->
<taskFlow id="spacesActionSubmenu"
taskFlowId="/oracle/webcenter/webcenterapp/view/taskflows/navigation/SpacesNavigationComponents.xml#SpacesNavigationComponents"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters/>
</taskFlow>
</executables>
</pageDefinition>

7. Click OK.
8. Highlight the template (JPtemplate) and click edit > Show.
9. Create a new Space (JPSpace). It can be public and based on any template.
10. Navigate to the Space and click on Actions (gear icon) > manage > all settings.
11. In the Page Template, select the template that was created (JPtemplate). Click Apply and Back to the Space.
12. Click on the Gear icon > Create > Page or Subspace.
     Note that neither perform any action. The page just seems to refresh.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms