I have a computed field that display a datetime value from a document data source
#{doc.LastEditedAt}
the computedField is surrounded with a panel, I want to hide the panel by setting the render property to false if the LastEditedAt field is empty, how to do that?
I agree with Per’s comment: this ‘sounds’ like a simple question, so I’ll throw in a simple answer. How about setting rendered to:
You might also want to extend that with a check to see if the field is available at all.