You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jv...@locus.apache.org on 2000/09/06 12:46:34 UTC
cvs commit: jakarta-velocity/specification questions
jvanzyl 00/09/06 03:46:34
Added: specification questions
Log:
- list of questions to be answered before a final spec can
be drafted.
Revision Changes Path
1.1 jakarta-velocity/specification/questions
Index: questions
===================================================================
A collection of questions to be answered before
a final specification can be drafted:
1. Should the last element of an iterator be
available after the block is complete:
#foreach $element in $list
{
$element
}
Is $element available here or not.
Right now in velocity if $element is defined
before the #foreach it is saved and restored
after the #foreach. The value of $element is
not available after the #foreach block.
2. How should expressions in #if/#elseif be
evaluated?
#if ($variable)
{
do something.
}
Strictly to boolean values. Right now in
velocity if $variable is defined an a
Boolean object then true/false applies.
If $variable is defined and is not a Boolean
object then the expression is true.