f24da2cfb604985013e48033addae67baaa21332Brian Bailey<!--
f24da2cfb604985013e48033addae67baaa21332Brian Bailey
f24da2cfb604985013e48033addae67baaa21332Brian Bailey DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
f24da2cfb604985013e48033addae67baaa21332Brian Bailey
f24da2cfb604985013e48033addae67baaa21332Brian Bailey Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
f24da2cfb604985013e48033addae67baaa21332Brian Bailey
f24da2cfb604985013e48033addae67baaa21332Brian Bailey The contents of this file are subject to the terms of either the GNU
f24da2cfb604985013e48033addae67baaa21332Brian Bailey General Public License Version 2 only ("GPL") or the Common Development
f24da2cfb604985013e48033addae67baaa21332Brian Bailey and Distribution License("CDDL") (collectively, the "License"). You
f24da2cfb604985013e48033addae67baaa21332Brian Bailey may not use this file except in compliance with the License. You can
f24da2cfb604985013e48033addae67baaa21332Brian Bailey obtain a copy of the License at
f24da2cfb604985013e48033addae67baaa21332Brian Bailey https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
f24da2cfb604985013e48033addae67baaa21332Brian Bailey or packager/legal/LICENSE.txt. See the License for the specific
f24da2cfb604985013e48033addae67baaa21332Brian Bailey language governing permissions and limitations under the License.
f24da2cfb604985013e48033addae67baaa21332Brian Bailey
f24da2cfb604985013e48033addae67baaa21332Brian Bailey When distributing the software, include this License Header Notice in each
f24da2cfb604985013e48033addae67baaa21332Brian Bailey file and include the License file at packager/legal/LICENSE.txt.
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste GPL Classpath Exception:
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste Oracle designates this particular file as subject to the "Classpath"
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste exception as provided by Oracle in the GPL Version 2 section of the License
f24da2cfb604985013e48033addae67baaa21332Brian Bailey file that accompanied this code.
e48954f1089b8ccd49f80fd2d4fa2bc8f90127deBrian
f24da2cfb604985013e48033addae67baaa21332Brian Bailey Modifications:
5c8f2fa635f48536aebfd433fad538c7438688edBrian If applicable, add the following below the License Header, with the fields
abc4f5bb84e702f2f6572fa40130fffb0a9e919dBrian enclosed by brackets [] replaced by your own identifying information:
abc4f5bb84e702f2f6572fa40130fffb0a9e919dBrian "Portions Copyright [year] [name of copyright owner]"
abc4f5bb84e702f2f6572fa40130fffb0a9e919dBrian
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts Contributor(s):
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts If you wish your version of this file to be governed by only the CDDL or
f24da2cfb604985013e48033addae67baaa21332Brian Bailey only the GPL Version 2, indicate your decision by adding "[Contributor]
5e9ad46f3d243caf363648263b73f2d18632cc70Brian elects to include this software in this distribution under the [CDDL or GPL
5e9ad46f3d243caf363648263b73f2d18632cc70Brian Version 2] license." If you don't indicate a single choice of license, a
5e9ad46f3d243caf363648263b73f2d18632cc70Brian recipient has the option to distribute your version of this file under
f24da2cfb604985013e48033addae67baaa21332Brian Bailey either the CDDL, the GPL Version 2 or to extend the choice of license to
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts its licensees as provided above. However, if you add GPL Version 2 code
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts and therefore, elected the GPL Version 2 license, then the option applies
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts only if the new code is made subject to such option by the copyright
f24da2cfb604985013e48033addae67baaa21332Brian Bailey holder.
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts
5e9ad46f3d243caf363648263b73f2d18632cc70Brian-->
5e9ad46f3d243caf363648263b73f2d18632cc70Brian
5e9ad46f3d243caf363648263b73f2d18632cc70Brian<!-- resourceNode/resources.jsf -->
5e9ad46f3d243caf363648263b73f2d18632cc70Brian
abc4f5bb84e702f2f6572fa40130fffb0a9e919dBrian<!initPage
5e9ad46f3d243caf363648263b73f2d18632cc70Brian setResourceBundle(key="i18n" bundle="org.glassfish.admingui.core.Strings")
5e9ad46f3d243caf363648263b73f2d18632cc70Brian setResourceBundle(key="i18nc" bundle="org.glassfish.common.admingui.Strings")
5e9ad46f3d243caf363648263b73f2d18632cc70Brian setResourceBundle(key="help_common" bundle="org.glassfish.common.admingui.Helplinks");
5e9ad46f3d243caf363648263b73f2d18632cc70Brian/>
5e9ad46f3d243caf363648263b73f2d18632cc70Brian<!composition template="/templates/default.layout" guiTitle="$resource{i18n.resourcesPageTitle}" >
5e9ad46f3d243caf363648263b73f2d18632cc70Brian<!define name="content">
e48954f1089b8ccd49f80fd2d4fa2bc8f90127deBrian <sun:form id="resourcesForm">
5c8f2fa635f48536aebfd433fad538c7438688edBrian <sun:title
5c8f2fa635f48536aebfd433fad538c7438688edBrian id="resourcesPageTitle"
5c8f2fa635f48536aebfd433fad538c7438688edBrian title="$resource{i18n.resourcesPageTitle}"
5c8f2fa635f48536aebfd433fad538c7438688edBrian helpText="$resource{i18n.resourcesPageTitleHelp}"
5c8f2fa635f48536aebfd433fad538c7438688edBrian />
5e9ad46f3d243caf363648263b73f2d18632cc70Brian#include "/common/shared/alertMsg.inc"
5e9ad46f3d243caf363648263b73f2d18632cc70Brian "<br />
abc4f5bb84e702f2f6572fa40130fffb0a9e919dBrian <sun:panelGroup id="topButtons">
5e9ad46f3d243caf363648263b73f2d18632cc70Brian <sun:button id="addResources" text="$resource{i18nc.resources.addResources}">
5e9ad46f3d243caf363648263b73f2d18632cc70Brian <!command
5e9ad46f3d243caf363648263b73f2d18632cc70Brian gf.redirect(page="#{requestScope.contextPath}/common/resourceNode/addResources.jsf");
e48954f1089b8ccd49f80fd2d4fa2bc8f90127deBrian />
b8c2fbf32c72b30d223fe72ac90ffc27e41edc5bBrian </sun:button>
5e9ad46f3d243caf363648263b73f2d18632cc70Brian </sun:panelGroup>
5e9ad46f3d243caf363648263b73f2d18632cc70Brian <sun:propertySheet>
e48954f1089b8ccd49f80fd2d4fa2bc8f90127deBrian <sun:propertySheetSection id="propSheetSection">
563b922249eadd0562ddea89c52ed308c2d31c0aJaco Jooste <!afterCreate
563b922249eadd0562ddea89c52ed308c2d31c0aJaco Jooste getClientId(component="$this{component}" clientId=>$attribute{sheetId});
b8c2fbf32c72b30d223fe72ac90ffc27e41edc5bBrian />
5e9ad46f3d243caf363648263b73f2d18632cc70Brian </sun:propertySheetSection>
5e9ad46f3d243caf363648263b73f2d18632cc70Brian <event>
bbf71cc7341c448425ed52aa3e1b4433fc2e3b81Brian <!afterCreate
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts getUIComponent(clientId="#{sheetId}" component=>$attribute{component})
5e9ad46f3d243caf363648263b73f2d18632cc70Brian includeIntegrations(type="org.glassfish.admingui:resources" root="#{component}");
5e9ad46f3d243caf363648263b73f2d18632cc70Brian />
5e9ad46f3d243caf363648263b73f2d18632cc70Brian </event>
5e9ad46f3d243caf363648263b73f2d18632cc70Brian </sun:propertySheet>
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste
73db2ddb960cafd7ffb6daf89eb697910d36c56dJames Phillpotts <sun:hidden id="helpKey" value="$resource{help_common.resources}" />
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste </sun:form>
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste</define>
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste</composition>
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste
e22f018fb300ac07d697d7e17ecaa0e450efe083Jaco Jooste