Web Development Toolkit

JSP Query Form

 

After clicking the item query hyperlink, the query form is opened in the out_ frame. The user can write the query string in one or more fields and retrieve the data from the database by posting the query to the web server.

 

<form name="form1" method="POST" action="<EWDT:edb valueName="SCRIPT_NAME">
</EWDT:edb>">
<EWDT:edbft fieldName="T_MASTER_DAT.PART_ID"></EWDT:edbft>
<input name="T_MASTER_DAT.PART_ID" type="text" value="">

<input name="usx" type="hidden" value="iwf_exi_edt">
<input name="param" type="hidden" value="F">
<input name="tpl" type="hidden" value="WWW-ART-SLI.jsp">
</form>

 

The HTML form must send different parameters to the web server to execute the query. The userexit iwf_exi_edt finished the mask-edit state for the active mask and executes the fetch action - described in the param-attribute.

 
Enter a query and click .