You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Byron Foster <by...@base2.cc> on 2002/09/18 10:14:06 UTC

#stop status

Hello,

     I was wondering if the #stop derective is safe for production use.
 I know that pre 1.3 it was expiremental.  Has this status changed?  Are
there any considerations using it?

Thanks,
Byron



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: #stop status

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/18/02 4:14 AM, "Byron Foster" <by...@base2.cc> wrote:

> 
> Hello,
> 
>    I was wondering if the #stop derective is safe for production use.
> I know that pre 1.3 it was expiremental.  Has this status changed?  Are
> there any considerations using it?
> 

I didn't even think it worked.

Does it?

If theres a real need, we can try to get that to work - the problem is the
orignal intent was to stop *parsing* the stream.  I think what we need is to
stop rendering the template.

So you could

#if($foo == false)
   #stop
#end

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>