# InsertItems.jsp Sample

This topic inludes the source code for the InsertItems.jsp Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui_databinding/grid/

## Sample Source Code

`01 <%@ page language="java" contentType="text/html;charset=UTF-8"%> 02 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%> 03 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%> 04 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%> 05 <netui-template:template templatePage="/resources/jsp/template.jsp"> 06 <netui-template:setAttribute value="ItemsRowSetControl - Insert View" name="title"/> 07 <netui-template:section name="bodySection"> 08 <blockquote> 09 <span class="pagehead"> 10 <netui:label value="ItemsRowSetControl - Insert View"/> 11 </span> 12 <br/> 13 <netui:form action="submitInsert"> 14 <netui:parameterMap map="{pageFlow.sortFilterService.rowIdQueryParamsMap}"/> 15 <table> 16 <tr class="tablebody"> 17 <td>Itemname:</td> 18 <td> 19 <netui:textBox dataSource="{actionForm.itemname}"/> 20 </td> 21 </tr> 22 <tr class="tablebody"> 23 <td>Quantityavailable:</td> 24 <td> 25 <netui:textBox dataSource="{actionForm.quantityavailable}"/> 26 </td> 27 </tr> 28 <tr class="tablebody"> 29 <td>Price:</td> 30 <td> 31 <netui:textBox dataSource="{actionForm.price}"/> 32 </td> 33 </tr> 34 </table> 35 <br/> 36 <netui:imageButton src='<%=request.getContextPath() + "/resources/images/insert.gif"%>'/> 37 &nbsp;&nbsp; 38 <netui:imageAnchor action="cancelInsert" border="0" src='<%=request.getContextPath() + "/resources/images/cancel.gif"%>'> 39 <netui:parameterMap map="{pageFlow.sortFilterService.queryParamsMap}"/> 40 </netui:imageAnchor> 41 </netui:form> 42 </blockquote> 43 </netui-template:section> 44 </netui-template:template>`