Hey list! I have several dozen code-generated beans that I'd like to display as bean models. Problem is, many of the beans' fields are either null or empty string, so I don't want their <dt> labels to even show up, much less the NotEmpty mixin putting a
The idea is to skip rendering any fields that would have output equal to the empty string or null (and possibly even skipping if it were only whitespace) So far I've gone down the path of overriding the BeanDisplay class and using my own tml file to try and wrap the <dt>/<dd> in a <t:if> with a test on the object. It's not working quite yet, but I think this might work. I need to get a handle on what the property value is going to be so I can test against that. Is anything else you would suggest? Thanks, Dan