| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <%@ include file="../common/header.jsp"%>
-
- <script type="text/javascript" language="javascript">
- <!--
- function doEditSearch(){
- document.forms.attribute.action.value="edit_search";
- document.forms.attribute.submit();
- doDisable(document.forms.attribute, "button");
- }
-
- function doUpdateAttribute(){
- var x = window.confirm("<bean:message key="confirm.edit"/>");
- if(x){
- document.forms.attribute.action.value = "edit_ok";
- document.forms.attribute.post.value = "true";
- document.forms.attribute.submit();
- }
- }
- function doBack(){
- document.forms.attribute.action.value="list";
- document.forms.attribute.submit();
- doDisable(document.forms.attribute, "button");
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="attribute" method="post" action="attribute.do">
- <input type="hidden" name="action" value =""/>
- <input type="hidden" name="clear" value =""/>
- <!-- html:hidden name="attribute" property="name"/ -->
- <html:hidden name="attribute" property="id"/>
- <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.attribute.key"/> - EDIT</td>
- </tr>
- </table>
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr><td><html:errors/></td></tr>
- <tr>
- <td align="center">
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <logic:empty name="attribute" property="id">
- <tr align = "left">
- <td width="15%"><b><bean:message key="attribute.name.key" /></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <input type="text" name="nameSearch" value="">
- </td
- </tr>
- <tr align = "left">
- <td width="15%"></td>
- <td width="1%"></td>
- <td width="84%" colspan="4" align="left">
- <input type="button" value="<bean:message key="button.edit"/>" onclick="javascript:doEditSearch();">
- </td>
- </tr>
- </logic:empty>
- <logic:notEmpty name="attribute" property="id">
- <tr>
- <td width="15%"><b><bean:message key="attribute.name.key"/><font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <html:text name="attribute" property="name"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="attribute.type.key"/><font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <html:text name="attribute" property="type"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="attribute.description.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <html:textarea cols="40" rows="5" name="attribute" property="description"/>
- </td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="1%"></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="doUpdateAttribute();"/></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"%>
-
|