blob: dad2fd2bb045345bfe1a6022c91042038fe9a5e9 [file] [log] [blame]
<!--
Copyright (c) 2009, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<!-- appServer/token.jsf -->
<!initPage
setResourceBundle(key="i18n" bundle="org.glassfish.web.admingui.Strings");
setResourceBundle(key="i18nc" bundle="org.glassfish.common.admingui.Strings")
setResourceBundle(key="help_common" bundle="org.glassfish.common.admingui.Helplinks");
/>
<!composition template="/templates/default.layout" guiTitle="$resource{i18n.appServer.tokenTitle}" >
<!define name="content">
<event>
<!beforeCreate
setSessionAttribute(key="serverInstTabs" value="token");
setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/common/appServer/token.jsf?name=#{pageSession.Name}&configName=#{pageSession.configName}");
getRequestValue(key="configName" value=>$page{configName} default="server-config");
setPageSessionAttribute(key="childType" value="system-property");
setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/servers/server/server");
setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/system-properties");
gf.restRequest(endpoint="#{pageSession.parentUrl}/property", method="GET", result="#{requestScope.propTable}");
setPageSessionAttribute(key="tableList", value="#{requestScope.propTable.data.extraProperties.properties}");
/>
</event>
<sun:form id="form1">
#include "/common/appServer/serverInstTabs.inc"
#include "/common/shared/alertMsg.inc"
<sun:title id="propertyContentPage" title="$resource{i18n.appServer.tokenTitle}" helpText="$resource{i18n.appServer.tokenTitleHelp}">
<!facet pageButtonsTop>
<sun:panelGroup id="topButtons">
#include "/common/configuration/systemPropertiesButtons.jsf"
</sun:panelGroup>
</facet>
</sun:title>
#include "/common/configuration/systemProperties.jsf"
<sun:title>
<!facet pageButtonsTop>
<sun:panelGroup id="topButtons">
#include "/common/configuration/systemPropertiesButtons.jsf"
</sun:panelGroup>
</facet>
</sun:title>
<sun:hidden id="helpKey" value="$resource{help_common.appServerToken}" />
</sun:form>
#include "/common/shared/changeButtonsJS.inc"
</define>
</composition>