I have a details.jsp where I need to check whether a particular field is null before I print it on the jsp.
whats the way for checking if the value for detials.customerNumber is null or not. Only if the value is not null I have to print the value inside the <tr:outputText value="#{details.customerNumber}"/>
<f:view>
<h:form>
<tr:panelHeader text="Search Details"/>
<tr:outputText value="Number: "/>
<tr:outputText value="#{details.customerNumber}"/>
</h:form>