| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <%@ include file="../common/header.jsp"%>
-
- <script type="text/javascript" language="javascript">
- <!--
- function doEditSearch(){
- document.forms.appSetting.action.value="edit_search";
- document.forms.appSetting.submit();
- doDisable(document.forms.appSetting, "button");
- }
-
- function doUpdateAppSetting(){
- var x = window.confirm("<bean:message key="confirm.edit"/>");
- if(x){
- document.forms.appSetting.action.value = "edit_ok";
- document.forms.appSetting.post.value = "true";
- document.forms.appSetting.submit();
- doDisable(document.forms.appSetting, "button");
- }
- }
- function doBack(){
- document.forms.appSetting.action.value="list";
- document.forms.appSetting.submit();
- doDisable(document.forms.appSetting, "button");
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="appSetting" method="post" action="appSetting.do">
- <input type="hidden" name="action" value =""/>
- <input type="hidden" name="clear" value =""/>
- <input type="hidden" name="code" value="<logic:notEmpty name="appSetting" property="code"><bean:write name="appSetting" property="code" /></logic:notEmpty>">
- <input type="hidden" name="post">
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titleHeader"><bean:message key="project.AppSetting.key"/> - EDIT</td>
- </tr>
- </table>
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr><td colspan="7"><html:errors/></td></tr>
- <tr>
- <td align="center">
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <logic:empty name="appSetting" property="code">
- <tr align = "left">
- <td width="15%"><b><bean:message key="appSetting.code.key" /></b></td>
- <td width="10">:</td>
- <td width="30%">
- <input type="text" name="codeSearch">
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr align = "left">
- <td width="15%"></td>
- <td width="10"></td>
- <td width="30%">
- <input type="button" value="<bean:message key="button.edit"/>" onclick="javascript:doEditSearch();">
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- </logic:empty>
- <logic:notEmpty name="appSetting" property="code">
- <tr>
- <td width="30%"><b><bean:message key="appSetting.code.key"/><font color="#FF0000">*</font></b></td>
- <td width="5">:</td>
- <td width="60%">
- <bean:write name="appSetting" property="code"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="appSetting.name.key"/><font color="#FF0000">*</font></b></td>
- <td width="10">:</td>
- <td width="30%">
- <html:text name="appSetting" property="name"/>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="appSetting.description.key"/></b></td>
- <td width="10">:</td>
- <td width="30%">
- <html:text name="appSetting" property="description"/>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="appSetting.settingValue.key"/></b></td>
- <td width="10">:</td>
- <td width="30%">
- <html:text name="appSetting" property="settingValue"/>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="10"></td>
- <td width="30%"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();"/> <input type="button" value="<bean:message key="button.submit"/>" onclick="doUpdateAppSetting();"/></td>
- <td colspan="4"> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </logic:notEmpty>
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table>
- </td>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|