Em Tue, 24 Jun 2008 14:32:15 -0300, Matt Kerr <[EMAIL PROTECTED]>
escreveu:
why not specify whether params allow null - rather than break things ?
default to the old behavior.
it's not uncommon to have a null param - dunno why it would be
different in a component.
Agreed 100%. Required = some value must be given to the parameter. Not
null = some not null value must be given. Required != not null.
We could add some like this to @Parameter and support it in tapestry-core
easily:
boolean acceptNull() default true;
Then anyone writing components would get the automatic null value checking
if wanted or needed without disrupting old code or changing how parameters
work.
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]