<%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-databinding"%> <%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%> <%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> Web Application Page

Null Items in Container Item

This test binds to an array of items with a repeater. Inside the the repeater we create a set of anchors that point to a results page. The second item in the array is null. In this case the href on the anchor and imageAnchor should have an href value of "". There is a bit of JSTL inside the repeater so that the anchor will have a value of [Null Item] if the value of container.item is null.

Anchor [${container.index}] [Null Item]

ImageAnchor [${container.index}]