| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <%@ include file="../common/header.jsp"%>
-
- <script type="text/javascript" language="javascript">
- <!--
- function doEditSearch(){
- document.forms.dataQuery.action.value="edit_search";
- document.forms.dataQuery.submit();
- doDisable(document.forms.dataQuery, "button");
- }
-
- function doUpdateDataQuery(){
- var x = window.confirm("<bean:message key="confirm.edit"/>");
- if(x){
- document.forms.dataQuery.action.value = "edit_ok";
- document.forms.dataQuery.post.value = "true";
- document.forms.dataQuery.submit();
- }
- }
- function doBack(){
- document.forms.dataQuery.action.value="list";
- document.forms.dataQuery.submit();
- doDisable(document.forms.dataQuery, "button");
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="dataQuery" method="post" action="dataQuery.do">
- <input type="hidden" name="action" value =""/>
- <input type="hidden" name="clear" value =""/>
- <html:hidden name="dataQuery" property="dataqueryPk"/>
- <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.dataQuery.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="dataQuery" property="dataqueryPk">
- <tr align = "left">
- <td width="15%"><b><bean:message key="dataQuery.querycode.key" /></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <input type="text" name="queryCodeSearch" 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="dataQuery" property="dataqueryPk">
- <tr>
- <td width="15%"><b><bean:message key="dataQuery.querycode.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <input type="text" name="queryCode" value="<bean:write name="dataQuery" property="dataqueryPk"/>"/>
-
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="dataQuery.queryline.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <html:text name="dataQuery" property="queryLine"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="dataQuery.dbconnectionFk.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="4" align="left">
- <select name="dbconnectionFk">
- <option value="">-- Select Connection --</option>
- <logic:notEmpty name="dbconnectionFkList">
- <logic:iterate id="dbconnectionFkElement" name="dbconnectionFkList">
- <option value="<bean:write name="dbconnectionFkElement" property="dbconnectionPk"/>"
- <logic:equal name="dbconnectionFkElement" property="dbconnectionPk" value="${dataQuery.dbconnectionFk.dbconnectionPk}">
- SELECTED
- </logic:equal>
- >
- <bean:write name="dbconnectionFkElement" property="dsn"/></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>
- </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="doUpdateDataQuery();"/></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"%>
-
|