<%--
MosP - Mind Open Source Project    http://www.mosp.jp/
Copyright (C) MIND Co., Ltd.       http://www.e-mind.co.jp/

This program is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
--%>
<%@ page
language = "java"
pageEncoding = "UTF-8"
buffer = "128kb"
autoFlush = "false"
errorPage = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.framework.constant.MospConst"
import = "jp.mosp.framework.base.MospParams"
import = "jp.mosp.framework.utils.HtmlUtility"
import = "jp.mosp.setup.vo.XmlCreateVo"
import = "jp.mosp.setup.action.XmlCreateAction"
import = "jp.mosp.platform.portal.action.IndexAction"

%><%
MospParams params = (MospParams)request.getAttribute(MospConst.ATT_MOSP_PARAMS);
XmlCreateVo vo = (XmlCreateVo)params.getVo();

%>
<br>
<br>
<br>
<center><%= params.getName("XmlCreate") %></center>
<br>
<br><center><%= params.getName("Server") %><%= params.getName("Slash") %><%= params.getName("PortNumber") %><%= params.getName("Slash") %><%= params.getName("DbName") %><%= params.getName("Slash") %><%= params.getName("RoleName") %><%= params.getName("Slash") %><%= params.getName("RolePass") %><%= params.getName("InputSomething") %></center>
<br><center><%= params.getName("CreateDbMessage2") %></center>
<br><center></center>
<br>
<center>
<table class="SetupTable" >
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtServer"><%= params.getName("Server") %></label></font>
		</td>
		<td class="SetupInputTd">
			<input type="text" class="Code50RequiredTextBox" id="txtServer" name="txtServer" value="<%= HtmlUtility.escapeHTML(vo.getTxtServer()) %>" />
		</td>
	</tr>
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtPort"><%= params.getName("PortNumber") %></label></font>
		</td>
		<td class="SetupInputTd" >
			<input type="text" class="Number4RequiredTextBox" id="txtPort" name="txtPort" value="<%= HtmlUtility.escapeHTML(vo.getTxtPort()) %>" />
		</td>
	</tr>
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtDbName"><%= params.getName("DbName") %></label></font>
		</td>
		<td class="SetupInputTd">
			<input type="text" class="Code50RequiredTextBox" id="txtDbName" name="txtDbName" value="<%= HtmlUtility.escapeHTML(vo.getTxtDbName()) %>" />
		</td>
	</tr>
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtRoleName"><%= params.getName("RoleName") %></label></font>
		</td>
		<td class="SetupInputTd">
			<input type="text" class="Code50RequiredTextBox" id="txtRoleName" name="txtRoleName" value = "<%= HtmlUtility.escapeHTML(vo.getTxtRoleName()) %>" />
		</td>
	</tr>
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtRolePw"><%= params.getName("RolePass") %></label></font>
		</td>
		<td class="SetupInputTd">
			<input type="text" class="LoginPassTextBox" id="txtRolePw" name="txtRolePw" value = "<%= HtmlUtility.escapeHTML(vo.getTxtRolePw()) %>" />
		</td>
	</tr>	
</table>
<br>
<br>
<button type="button" class="Name8Button"  onclick="submitRegist(event,  '', checkExtra, '<%=XmlCreateAction.CMD_CHECK %>')"> <%= params.getName("DbCreateButton") %></button>
</center>