logo       

Using #stop: msg#00139

jakarta.velocity.user

Subject: Using #stop

Hi
Is there any way to stop the template execution at any point? I tried
using #stop, but it gives me an error. Here is the code I used:

#foreach($root in $roots)
#if($queryexecuter.isEmptyElement($root))
#stop
#end
#end

What am I doing wrong? Thanx

Rodrigo


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise