Return-Path: Delivered-To: apmail-jakarta-velocity-user-archive@www.apache.org Received: (qmail 1413 invoked from network); 6 Dec 2004 22:12:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Dec 2004 22:12:08 -0000 Received: (qmail 10266 invoked by uid 500); 6 Dec 2004 22:12:05 -0000 Delivered-To: apmail-jakarta-velocity-user-archive@jakarta.apache.org Received: (qmail 10239 invoked by uid 500); 6 Dec 2004 22:12:04 -0000 Mailing-List: contact velocity-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Velocity Users List" Reply-To: "Velocity Users List" Delivered-To: mailing list velocity-user@jakarta.apache.org Received: (qmail 10224 invoked by uid 99); 6 Dec 2004 22:12:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of shinobu.kawai@gmail.com designates 64.233.170.199 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.199) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 14:12:03 -0800 Received: by rproxy.gmail.com with SMTP id z35so236006rne for ; Mon, 06 Dec 2004 14:12:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=rgYP1xCOVpEhfUQZ1rEXqm1pyntYBksHk+bc7KAu7w/JO5z88JrmPHk4xgKch+zYpcBQMdgywP67zdZIvgviGFC/k0XepokPthwiqC8lCpqszL/2DOUOVEss3yiRur5KNMudKfaXTJw82vAnljCGd752jKj2YCDDZLKiwMWMPAc= Received: by 10.38.97.74 with SMTP id u74mr758327rnb; Mon, 06 Dec 2004 14:12:00 -0800 (PST) Received: by 10.38.70.54 with HTTP; Mon, 6 Dec 2004 14:12:00 -0800 (PST) Message-ID: <376e3b1404120614122b56a95e@mail.gmail.com> Date: Tue, 7 Dec 2004 07:12:00 +0900 From: Shinobu Kawai Reply-To: Shinobu Kawai To: Velocity Users List Subject: Re: [FAQ] How do you check for null? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <0412031442.AA522978@pavilion> <41B44710.6020401@stoutstick.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Henning, > With the slides from Will's talk @ ApacheCon, you should be able to > add a new statement to the VTL so you can do > > #ifnull($car.fuel) Hey, thanks for the idea! Approach #6 : use a custom directive. :) I'll look into that. Best regards, -- Shinobu Kawai -- Shinobu Kawai --------------------------------------------------------------------- To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: velocity-user-help@jakarta.apache.org