blob: a002ffa6aacf0f5d5a2b1d5693dd07cdfad7be63 [file] [log] [blame]
<!--
Copyright (c) 1997, 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
-->
<!-- full/adminObjectAttr.inc -->
<!-- used by adminObjectNew.jsf and adminObjectEdit.jsf -->
<sun:propertySheet id="propertySheet">
<!-- Text Field section -->
<sun:propertySheetSection id="propertSectionTextField">
<sun:property id="name" rendered="#{edit}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.common.jndiName}">
<sun:staticText id="name" text="#{pageSession.name}" rendered="#{Edit}" />
</sun:property>
<sun:property id="nameNew" rendered="#{!edit}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.common.jndiName}">
<sun:textField id="name" styleClass="required" required="#{true}" columns="$int{30}" maxLength="#{sessionScope.fieldLengths['maxLength.common.jndiName']}" text="#{pageSession.valueMap['name']}" >
<!afterCreate
getClientId(component="$this{component}" clientId=>$page{resCompId});
/>
</sun:textField>
</sun:property>
<sun:property id="hostProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.mailHost}" helpText="$resource{i18njmail.javaMail.mailHostHelp}">
<sun:textField id="host" styleClass="required" text="#{pageSession.valueMap['host']}" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.javaMail.mailHost']}" required="#{true}" />
</sun:property>
<sun:property id="userProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.user}" helpText="$resource{i18njmail.javaMail.userHelp}">
<sun:textField id="user" styleClass="required" text="#{pageSession.valueMap['user']}" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.javaMail.user']}" required="#{true}" />
</sun:property>
<sun:property id="fromProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.returnAddr}" helpText="$resource{i18njmail.javaMail.returnAddrHelp}">
<sun:textField id="from" styleClass="required" text="#{pageSession.valueMap['from']}" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.javaMail.returnAddr']}" required="#{true}" />
</sun:property>
<sun:property id="deploymentOrder" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" rendered="#{edit}" label="$resource{i18n.common.resource.deploymentOrder}" helpText="$resource{i18n.common.resource.deploymentOrderHelp}">
<sun:textField id="deploymentOrder" styleClass="integer" columns="$int{10}" maxLength="#{sessionScope.fieldLengths['maxLength.common.deploymentOrder']}" text="#{pageSession.valueMap['deploymentOrder']}" />
</sun:property>
<sun:property id="descProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.common.description}" helpText="$resource{i18njmail.javaMail.descHelp}">
<sun:textField id="desc" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.common.description']}" text="#{pageSession.valueMap['description']}" />
</sun:property>
<sun:property id="statusProp" rendered="#{useCheckBox}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n.common.status}">
<sun:checkbox id="enabled" selected="#{pageSession.valueMap2['enabled']}" selectedValue="true" />
</sun:property>
<sun:property id="statusProp2" rendered="#{useString}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}"
label="$resource{i18n.common.status}" helpText="$resource{i18n.application.EnableTargetHelp}">
<sun:staticText id="enabledStr" text="#{requestScope.enabledString}" >
<!beforeCreate
gf.getTargetEnableInfo(appName="#{pageSession.encodedName}" isApp="#{false}" status="#{requestScope.enabledString}");
/>
</sun:staticText>
</sun:property>
"<br /><br />
</sun:propertySheetSection>
<sun:propertySheetSection id="section2" label="$resource{i18n.common.Advanced}" >
<sun:property id="storeProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.storeProtocol}" helpText="$resource{i18njmail.javaMail.storeProtocolHelp}">
<sun:textField id="storeP" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.javaMail.storeProtocol']}" text="#{pageSession.valueMap['storeProtocol']}" />
</sun:property>
<sun:property id="storeClassProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.storeClass}" helpText="$resource{i18njmail.javaMail.storeClassHelp}">
<sun:textField id="storeClass" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.javaMail.storeClass']}" text="#{pageSession.valueMap['storeProtocolClass']}" />
</sun:property>
<sun:property id="transPProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.transportProtocol}" helpText="$resource{i18njmail.javaMail.transportProtocolHelp}">
<sun:textField id="transP" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.javaMail.transportProtocol']}" text="#{pageSession.valueMap['transportProtocol']}" />
</sun:property>
<sun:property id="transClassProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.transProtocolClass}" helpText="$resource{i18njmail.javaMail.transProtocolClassHelp}">
<sun:textField id="transPClass" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.javaMail.transProtocolClass']}" text="#{pageSession.valueMap['transportProtocolClass']}" />
</sun:property>
<sun:property id="debugProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18njmail.javaMail.Debug}" helpText="$resource{i18njmail.javaMail.DebugHelp}">
<sun:checkbox selected="#{pageSession.valueMap['debug']}" selectedValue="true" />
</sun:property>
"<br /><br />
</sun:propertySheetSection>
</sun:propertySheet>