posted 16 years ago
Actually, I think you can, but you have to use the entity version of the less-than operator so that the XML parser doesn't mistake it for part of an element definition.
In other words, not:
rendered="#{a < b}"
but:
rendered="#{a < b}"
But having said that, I really don't recommend doing any sort of logic on the web page itself unless it's unavoidable. I normally use a boolean property in the backing bean or a formatter in the backing bean.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.