Eelco Hillenius wrote:

I find it perfectly natural that the 'name'
property of a null object gets me null when working with Ognl. In
fact, that's another good reason to support this; all expression
languages like Ognl, but also JSF's and for example Velocity's allows
you to have expression where somewhere in the path is a null. The end
result is just null.

Exactly!

I introduced the term "failing gracefully" before. That was a mistake. It's not at all what's about. It's about what is logical and what isn't.

get: It's pefectly logical to return null
set: Can't be done - throw an exception

/Anders
--
http://ojalgo.org/

Mathematics, Linear Algebra and Optimisation with Java



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to