IsVoid

You can review the details about the isVoid JSP function.

Description

This JSP function determines whether the object passed is null or contains only white spaces.

Syntax

boolean isVoid(Object obj)

Input parameters

obj - Required. Object that must be checked for null or white spaces.

Example

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> 
<%}%>