# DetailsItems.jsp Sample

This topic inludes the source code for the DetailsItems.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 <% 06 response.setHeader( "Pragma", "No-cache" ); 07 response.setHeader( "Cache-Control", "no-cache" ); 08 response.setHeader( "Expires", "1" ); 09 %> 10 <netui-template:template templatePage="/resources/jsp/template.jsp"> 11 <netui-template:setAttribute value="ItemsRowSetControl - Details View" name="title"/> 12 <netui-template:section name="bodySection"> 13 <blockquote> 14 <span class="pagehead"> 15 <netui:label value="ItemsRowSetControl - Details View"/> 16 </span> 17 <br/> 18 <br/> 19 <table> 20 <tr class="tablebody"> 21 <td>Itemnumber:</td> 22 <td> 23 <netui:content value="{request.databaseForm.itemnumber}"/> 24 </td> 25 </tr> 26 <tr class="tablebody"> 27 <td>Itemname:</td> 28 <td> 29 <netui:content value="{request.databaseForm.itemname}"/> 30 </td> 31 </tr> 32 <tr class="tablebody"> 33 <td>Quantityavailable:</td> 34 <td> 35 <netui:content value="{request.databaseForm.quantityavailable}"/> 36 </td> 37 </tr> 38 <tr class="tablebody"> 39 <td>Price:</td> 40 <td> 41 <netui:content value="{request.databaseForm.price}"/> 42 </td> 43 </tr> 44 </table> 45 <br/> 46 <netui:imageAnchor action="updateItems" border="0" src='<%=request.getContextPath() + "/resources/images/edit.gif"%>'> 47 <netui:parameterMap map="{pageFlow.sortFilterService.rowIdQueryParamsMap}"/> 48 </netui:imageAnchor> 49 &nbsp;&nbsp; 50 <netui:imageAnchor action="deleteItems" border="0" src='<%=request.getContextPath() + "/resources/images/delete.gif"%>'> 51 <netui:parameterMap map="{pageFlow.sortFilterService.rowIdQueryParamsMap}"/> 52 </netui:imageAnchor> 53 &nbsp;&nbsp; 54 <netui:imageAnchor action="showGrid" border="0" src='<%=request.getContextPath() + "/resources/images/grid.gif"%>'> 55 <netui:parameterMap map="{pageFlow.sortFilterService.queryParamsMap}"/> 56 </netui:imageAnchor> 57 </blockquote> 58 </netui-template:section> 59 </netui-template:template>`