Hi all,
I'm having a problem checking for a null nested property. Here's my situation:
<nested:nest property="newOldRate">
<nested:write property="formattedRate"/>
<nested:nest property="type">
<nested:write property="description"/>
</nested:nest>
</nested:nest>
Now, it is possible for the "type" property to be null. This results in an IllegalArgumentException when trying to access this property. I'd like to check to see if the "type" property is null, and handle it appropriately. I've attempted to use <nested:empty> to check the property for null and print a debug statement. The only place in my
test that i access the property is in <nested:empty> , and i still get the IllegalArgumentException. Could someone provide an example of how to handle a null nested property?
Thanks in advance.
Dmitry