Hello, I have the following code :
<logic:notEmpty name="produit" property="prd"> <logic:notEmpty name="produit" property="prd.fap"> <logic:notEmpty name="produit" property="prd.fap.ulAval"> <!--do something on prd.fap.ulAval--> </logic:notEmpty> </logic:notEmpty> </logic:notEmpty> because <logic:notEmpty name="produit" property="prd.fap.ulAval"> <!--do something on prd.fap.ulAval--> </logic:notEmpty> raises Null Pointer exception in case of prd null or prd.fap null Can I replace the 3 boring <logic:notEmpty> by a single one that will check automatically the "emptiness" of each subproperty of the property field ? Thanks for any help --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]