gt; View this message in context:
> http://tapestry.1045711.n5.nabble.com/beandisplay-hide-label-if-value-is-null-tp5714585p5717465.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubsc
uggestions?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/beandisplay-hide-label-if-value-is-null-tp5714585p5717465.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-m
That worked. Thank you very much.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/beandisplay-hide-label-if-value-is-null-tp5714585p5714605.html
Sent from the Tapestry - User mailing list archive at Nabble.com
You could use the exclude parameter
public String getExcludes() {
// return a comma separated list of property names based on some logic or
null
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/beandisplay-hide-label-if-value-is-null-tp5714585p5714592.html
Sent from
On Wed, 18 Jul 2012 19:44:24 -0300, briano wrote:
Is there an way with the beandisplay component to have it not show the
labels (and values) if the value is null or empty?
Use the BeanModelSource to get a BeanModel, change it, then pass it to
BeanDisplay.
--
Thiago H. de Paula Figueiredo
this without having to
check every single field for nulls?
// display it
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/beandisplay-hide-label-if-value-is-null-tp5714585.html
Sent from the Tapestry - User mailing list archive at Nabble.com