|
From: Peter d. H. <pe...@de...> - 2004-04-16 02:37:28
|
Colin Sampaleanu wrote:
> The existing spring approach is also similar to OGNL. In OGNL, '(' is
> used for an actual method call [...] It would make the validation usage
> a bit more similar to commons-validator/struts, but would muddy the
> water for general expression syntax.
Indeed; at some point we might want to support OGNL-like method invocations
and we would have made the expression language a lot more difficult to
parse, implement and also to read. Of course the JSP EL also supports
function invocations, using the foo:bar() syntax. Supporting a property(foo)
syntax might end up being a liability rather than an asset.
- Peter
|