Dale Newfield wrote:
A previous example has a three
character solution: https://issues.apache.org/struts/browse/WW-2383 ,
for this one it appears that a single "!" may be sufficient.
Excerpted from
<http://freemarker.org/docs/dgui_template_exp.html#dgui_template_exp_missing_default>:
If the default value is omitted, then it will be empty string and empty
sequence and empty hash at the same time.
Now that I read it again, the single character addition would probably
have been sufficient for the previous bug, too. If we want to be
explicit, I think "![]" will use an empty sequence as the default value
here, but it seems unnecessary (and from the docs I'm still unclear
whether that syntax is valid).
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]