blob: 7bf896c5cf67885a24e161a4c70e4fd5b39cbef6 [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
-->
<!-- deploymentAppclient.jsf -->
<!-- This is the default property sheet for specify app client deployment -->
<sun:propertySheet id="appClient" visible="#{false}" >
<!beforeCreate
setAttribute(key="fieldMap" value="appClient");
createMap(result="#{pageSession.appClient}")
mapPut(map="#{pageSession.deployMap}", key="appClient", value="#{pageSession.appClient}");
mapPut(map="#{pageSession.appClient}", key="convertToFalseList", value={ "verify", "force" , "PROPERTY-implicitCdiEnabled", "PROPERTY-$constant{org.glassfish.admingui.common.deployment.DFDeploymentProperties.DEPLOY_OPTION_JAVA_WEB_START_ENABLED}"} );
mapPut(map="#{pageSession.appClient}", key="PROPERTY-$constant{org.glassfish.admingui.common.deployment.DFDeploymentProperties.DEPLOY_OPTION_JAVA_WEB_START_ENABLED}" , value="true" );
mapPut(map="#{pageSession.appClient}", key="PROPERTY-implicitCdiEnabled", value="true");
/>
<!afterCreate
getClientId(component="$this{component}" clientId=>$page{appClientId});
/>
<sun:propertySheetSection id="psection" >
<sun:property id="nameProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.deploy.ApplicationName}" visible="#{true}">
<sun:textField id="appName" columns="$int{40}" maxLength="#{sessionScope.fieldLengths['maxLength.deploy.ApplicationName']}" text="#{pageSession.appClient['name']}" styleClass="required" required="#{true}"
onChange="javascript: admingui.deploy.setAppName('#{appNameId}', this.value, window, '#{sessionScope.appTypeString}')">
<!afterCreate
getClientId(component="$this{component}" clientId=>$page{appNameId});
/>
</sun:textField>
</sun:property>
<sun:property id="implicitCdi" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.deploy.implicitCdi}" helpText="$resource{i18n.deploy.implicitCdiHelp}">
<sun:checkbox id="implicitCdi" selected="#{pageSession.appClient['PROPERTY-implicitCdiEnabled']}" selectedValue="true" />
</sun:property>
<sun:property id="jw" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.deploy.JavaWebStart}" helpText="$resource{i18n.deploy.JavaWebStartHelp}">
<sun:checkbox id="jwt" selected="#{pageSession.appClient['PROPERTY-$constant{org.glassfish.admingui.common.deployment.DFDeploymentProperties.DEPLOY_OPTION_JAVA_WEB_START_ENABLED}']}" selectedValue="true" />
</sun:property>
<sun:property id="v2" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.deploy.run}" helpText="$resource{i18n.deploy.runHelp}">
<sun:checkbox id="ver2" label=" " selected="#{pageSession.appClient['verify']}" selectedValue="true" />
</sun:property>
<sun:property id="force" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.deploy.forceRedeploy}" helpText="$resource{i18n.deploy.forceRedeployHelp}">
<sun:checkbox id="force" label=" " selected="#{pageSession.appClient['force']}" selectedValue="true" />
</sun:property>
<sun:property id="deploymentOrder" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.deploy.deploymentOrder}" helpText="$resource{i18n.deploy.deploymentOrderHelp}" >
<sun:textField id="deploymentOrder" styleClass="integer" columns="$int{40}" maxLength="#{sessionScope.fieldLengths['maxLength.deploy.deploymentOrder']}" text="#{pageSession.appClient['deploymentOrder']}" />
</sun:property>
<sun:property id="descriptionProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.common.description}" helpText="$resource{i18n.deploy.descHelp}" >
<sun:textField id="description" columns="$int{40}" maxLength="#{sessionScope.fieldLengths['maxLength.common.description']}" text="#{pageSession.appClient['description']}" />
</sun:property>
</sun:propertySheetSection>
</sun:propertySheet>