is is the normal case that an Actions getXXX() method is called every time a velocity-result template uses the $XXX variable?
 
if my action has a method, say HashMap getLabelsForType() and it is used in velocity result like
 
#foreach ($type in $types)
    <td> $labelsForType.get($type) </td>
#end
 
the method getLabelsForType is called for every iteration of the foreach loop. I tought the returned HashMap of getLabelsForType() is
put into the velocity context before rendering and thats it...
 
is that my mistake or is there a deeper sense???
 
thanx in advance,
Hans

Reply via email to