That was exactly what I needed, works like a charm. Thanks! Am 15.01.2013 17:48, schrieb Lance Java: > Tapestry will only render an attribute that is not null. But you > need to be aware of the following: 1. For foo="${x}" the value will > be the empty string if getX() is null 2. For foo="prop:x" the value > will be null if getX() is null > > So it's best not to use ${x} for attribute values. > > > > -- View this message in context: > http://tapestry.1045711.n5.nabble.com/Conditional-rendering-of-HTML-attribute-tp5719323p5719330.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org