providerNew.jsf revision ada1678a4262b208a7b87391f520a7767d25287c
609N/A<!--
609N/A
609N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
609N/A
609N/A Copyright (c) 2009-2010 Oracle and/or its affiliates. All rights reserved.
609N/A
609N/A The contents of this file are subject to the terms of either the GNU
609N/A General Public License Version 2 only ("GPL") or the Common Development
609N/A and Distribution License("CDDL") (collectively, the "License"). You
609N/A may not use this file except in compliance with the License. You can
609N/A obtain a copy of the License at
609N/A https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
609N/A or packager/legal/LICENSE.txt. See the License for the specific
609N/A language governing permissions and limitations under the License.
609N/A
609N/A When distributing the software, include this License Header Notice in each
609N/A file and include the License file at packager/legal/LICENSE.txt.
609N/A
609N/A GPL Classpath Exception:
609N/A Oracle designates this particular file as subject to the "Classpath"
609N/A exception as provided by Oracle in the GPL Version 2 section of the License
609N/A file that accompanied this code.
609N/A
609N/A Modifications:
609N/A If applicable, add the following below the License Header, with the fields
609N/A enclosed by brackets [] replaced by your own identifying information:
609N/A "Portions Copyright [year] [name of copyright owner]"
609N/A
609N/A Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!-- security/msgSecurity/msgSecurityNew.jsf -->
<!initPage
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{i18nc.msgSecProvider.NewPageTitle}" >
<!define name="content">
<event>
<!beforeCreate
getRequestValue(key="configName" value="#{pageSession.configName}" default="server-config");
getRequestValue(key="msgSecurityName" value="#{pageSession.msgSecurityName}");
createMap(result="#{pageSession.valueMap}")
createList(size="0", result="#{pageSession.tableList}");
mapPut(map="#{pageSession.valueMap}" key="msgSecurityName" value="#{pageSession.msgSecurityName}");
mapPut(map="#{pageSession.valueMap}" key="configName" value="#{pageSession.configName}");
setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/common/security/msgSecurity/providers.jsf?name=#{pageSession.msgSecurityName}&configName=#{pageSession.configName}");
setPageSessionAttribute(key="cancelPage" value="#{pageSession.parentPage}" )
setPageSessionAttribute(key="edit" value="#{false}" );
/>
</event>
<sun:form id="propertyForm">
#include "/common/shared/alertMsg.inc"
<!-- Page Title -->
<sun:title id="propertyContentPage" title="$resource{i18nc.msgSecProvider.NewPageTitle}" helpText="$resource{i18nc.msgSecProvider.NewPageTitleHelp}">
#include "providerButtons.inc"
</sun:title>
<sun:propertySheet id="propertySheet">
#include "/common/shared/configNameSection.inc"
#include "providerAttr.inc"
#include "providerAttr_2.inc"
</sun:propertySheet>
"<br/><br/>
#include "/common/shared/propertyDescTable.inc"
<sun:title id="bottom" >
#include "providerButtons.inc"
</sun:title>
<sun:hidden id="helpKey" value="$resource{help_common.msgProviderNew}" />
</sun:form>
#include "/common/shared/changeButtonsJS.inc"
</define>
</composition>