How do I use the logic tags to check for a null property value on a bean and
include/exclude HTML segment on that basis?

I have a bean in the session that holds references to other beans.  If the
references are not-null then I need to display some info about them.  I've
tried using <logic:notEqual property="myBean.item1" value="null"> and
<logic:present name="myBean.item1> but to no avail.

Can anyone help me out here.
Thanks.


Matthew O'Haire
Technical Manager 
email: [EMAIL PROTECTED] 

IT Project Services & Solutions 
· Development · Integration · Support · People · 
44 Benson Street, Toowong, Queensland, Australia. 4066 
ph: +61-7-3870 7070 
fx: +61-7-3870 3480 
www: http://www.trysoft.com/ 
e-mail: [EMAIL PROTECTED] 

Please Note:
This document (including attachments) is only intended for the addressee/s
and may contain privileged or confidential information. Unauthorised use,
copying or distribution of the document or any part of its contents, is
prohibited. If you receive this e-mail in error please notify us by return
e-mail or telephone. 
Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Trysoft Corporation Limited. 
Except as required at law, Trysoft Corporation Limited does not represent,
warrant and/or guarantee that the integrity of this communication has been
maintained nor that the communication is free of errors, virus, interception
or interference.



Reply via email to