blob: 31734c818d658487e81ad5282f1ddb3ab79ed034 [file] [log] [blame]
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<table class="tableContainer-table tableContainer-table-horiz">
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Path to store location*: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/ValidationTextBox" id="formAddVirtualHost.specific.storePath"
required="true" name="storePath" placeholder="/path/to/message/store"/>
</td>
</tr>
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Node Name*: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/ValidationTextBox" id="formAddVirtualHost.specific.nodeName"
required="true" name="haNodeName" placeholder="node name"/>
</td>
</tr>
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Replication Group*: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/ValidationTextBox" id="formAddVirtualHost.specific.groupName"
required="true" name="haGroupName" placeholder="group name"/>
</td>
</tr>
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Node Address*: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/ValidationTextBox" id="formAddVirtualHost.specific.nodeAddress"
required="true" name="haNodeAddress" data-dojo-props="regExp:'([0-9a-zA-Z.-_]|::)+:[0-9]{1,5}', invalidMessage:'Must be of the form host:port'" placeholder="host:port"/>
</td>
</tr>
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Helper Address*: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/ValidationTextBox" id="formAddVirtualHost.specific.helperAddress"
required="true" name="haHelperAddress" data-dojo-props="regExp:'([0-9a-zA-Z.-_]|::)+:[0-9]{1,5}', invalidMessage:'Must be of the form host:port'" placeholder="host:port"/>
</td>
</tr>
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Durability: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/ValidationTextBox" id="formAddVirtualHost.specific.haDurability"
name="haDurability" placeholder="NO_SYNC,NO_SYNC,SIMPLE_MAJORITY"/>
</td>
</tr>
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Coalesce local sync: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/CheckBox" id="formAddVirtualHost.specific.haCoalescingSync"
checked="true" onchange="require(['dijit/registry', 'dojo/domReady!'],
function(registry){
var checkbox = registry.byId('formAddVirtualHost.specific.haCoalescingSync');
var hidden = registry.byId('formAddVirtualHost.specific.haCoalescingSyncHidden');
hidden.set('value', checkbox.get('checked'));
})"/>
<input dojoType="dijit/form/TextBox" id="formAddVirtualHost.specific.haCoalescingSyncHidden" type="hidden" name="haCoalescingSync" value="true"/>
</td>
</tr>
<tr>
<td class="tableContainer-labelCell" style="width: 300px;"><strong>Designated Primary: </strong></td>
<td class="tableContainer-valueCell">
<input dojoType="dijit/form/CheckBox" id="formAddVirtualHost.specific.haDesignatedPrimary"
onchange="require(['dijit/registry', 'dojo/domReady!'],
function(registry){
var checkbox = registry.byId('formAddVirtualHost.specific.haDesignatedPrimary');
var hidden = registry.byId('formAddVirtualHost.specific.haDesignatedPrimaryHidden');
hidden.set('value', checkbox.get('checked'));
})"/>
<input dojoType="dijit/form/TextBox" id="formAddVirtualHost.specific.haDesignatedPrimaryHidden" type="hidden" name="haDesignatedPrimary" value="false"/>
</td>
</tr>
</table>