| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <%@ include file="../common/header.jsp" %>
- <script type="text/javascript" language="javascript">
- <!--
- function doCreateDataQuery(){
- var x = window.confirm("<bean:message key="confirm.create"/>")
- if (x) {
- document.forms.dataQuery.action.value="create_ok";
- document.forms.dataQuery.post.value = "true";
- document.forms.dataQuery.submit();
- }
- }
- function doBack(){
- document.forms.dataQuery.action.value="list";
- document.forms.dataQuery.clear.value="true";
- document.forms.dataQuery.submit();
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="dataQuery" method="post" action="dataQuery.do">
- <input type="hidden" name="action"/>
- <input type="hidden" name="clear"/>
- <input type="hidden" name="sequence"/>
- <input type="hidden" name="post"/>
- <input type="hidden" name="redirect" value="create"/>
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <td class="titleHeader" align="left"><bean:message key="project.dataQuery.key"/> CREATE</td>
- </table>
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td align="center">
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr><td colspan="6"><html:errors/></td></tr>
- <tr>
- <td width="15%"><b><bean:message key="dataQuery.querycode.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="5" align="left">
- <html:text name="dataQuery" property="queryCode"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="dataQuery.queryline.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="5" align="left">
- <html:textarea cols="40" rows="5" 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="5" align="left">
- <select name="dbconnectionFk">
- <option value="">-- Pilih Salah Satu --</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="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="javascript:doCreateDataQuery();"/></td>
- <td colspan="4"> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table>
- </td>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|