As I wrote before, "!" doesn't do what I want, object needs to be converted to a boolean first:
- null is converted to false - unknown not null is converted to a string by calling toString metod and then string is converted to a boolean ToString method is usually implemented for debug purposes and can be slow. Denis Aug 24, 2011 v 3:39 PM, Thiago H. de Paula Figueiredo: > On Wed, 24 Aug 2011 07:36:38 -0300, Denis Stepanov <denis.stepa...@gmail.com> > wrote: > >> I have implemented null check see: >> >> https://issues.apache.org/jira/browse/TAP5-1615 >> >> can be used with propertyChain expressions: "prop?", "prop.a.b?.c?", >> "method()?". > > The ! operator in the prop syntax already does what you want. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org For additional commands, e-mail: dev-h...@tapestry.apache.org