Displaying fields without values on View page of a record
Archived from the Xataface Users forum.
hhkilis — Mon Apr 16, 2012 5:26 am
Hi,
I want some fields always be displayed on View page of a record (action=view) whether those fields have been set values or not.
What may be the solution?
shannah — Mon Apr 16, 2012 11:51 am
The default view page (as you noticed) only shows fields that have a value. Unfortunately there isn’t currently a directive to override this. A workaround would be to implement the fieldname__htmlValue() method in the delegate class to return some string value. As long as this is nonempty, the value will be displayed.
-Steve
hhkilis — Wed Apr 18, 2012 6:18 am
Thanks.