This JSP function determines whether the object passed is null or contains only white spaces.
boolean isVoid(Object obj)
obj - Required. Object that must be checked for null or white spaces.
This example shows how this function is used to check if a specific attribute is void.
<% if (!isVoid(getParameter("ShowShipNode"))) {%>
<tr>
<td class="detaillabel" ><yfc:i18n>Ship_Node</yfc:i18n></td>
<td class="protectedtext"><yfc:getXMLValue
binding="xml:/InventoryInformation/Item/@ShipNode"
name="InventoryInformation"></yfc:getXMLValue></td>
</tr>
<%}%>