This content has been marked as final.
Show 2 replies
-
1. Re: how to check an object is not null in XHTML
lvdberg Oct 12, 2010 12:23 PM (in response to tienlantri)Hi,
you can test with the empty operator and use a if-then-else construct within the EL.
Something like:#{not empty operation.prestation ? operation.prestation.whatever : "alternative"}
If you want to test if the var is empty , skip the not
Leo
-
2. Re: how to check an object is not null in XHTML
tienlantri Oct 13, 2010 2:42 AM (in response to tienlantri)thank you very much Leo. It works!!!
Tina