Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 94294 invoked from network); 25 Oct 2008 12:52:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2008 12:52:01 -0000 Received: (qmail 78248 invoked by uid 500); 25 Oct 2008 12:51:58 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 78190 invoked by uid 500); 25 Oct 2008 12:51:58 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 78179 invoked by uid 99); 25 Oct 2008 12:51:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 05:51:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karl.sangabriel@gmail.com designates 209.85.142.189 as permitted sender) Received: from [209.85.142.189] (HELO ti-out-0910.google.com) (209.85.142.189) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 12:50:46 +0000 Received: by ti-out-0910.google.com with SMTP id u5so809057tia.16 for ; Sat, 25 Oct 2008 05:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=cp3hn/LuP5+DHwPyfNLB1HYaZBfjkDX5TjIuLVW4w0I=; b=prS0AQ8L1mUqDwGE/T7gEzrYXaFVB6R62PoqdhnBIfcWSSLkld1ey987lipoEUe/jj YPRq2fNM9lk+U6g3Gh7BKULGvz7VHL8aZiv+Az+xTeKJuqodS+SZCd0QbgwaVyLlNHI8 QrBdhpdzhKSiATKYDPFe8G3DOIVcN8xejI/LY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=hVhKk0Hpiv5TSHQj9NMNdzh+XPIuKUcmhh0N0AvPw0QmRGmaiAdOt1cCWp7GzzG88B L2NV1vPWR21qAIJy5Oz+5KA6ealgwl1+hSf24GDR7xu8hTIj8zt3mVIl96G1VLZRuTei QYmLX1k32cikwF9T96AY48wKlvyZV13EWFGlg= Received: by 10.110.20.15 with SMTP id 15mr2068381tit.28.1224939084451; Sat, 25 Oct 2008 05:51:24 -0700 (PDT) Received: from ?192.168.1.2? (157.41.111.218.cbj02-home.tm.net.my [218.111.41.157]) by mx.google.com with ESMTPS id 22sm2396214tim.16.2008.10.25.05.51.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 25 Oct 2008 05:51:23 -0700 (PDT) Message-ID: <49031641.8030902@gmail.com> Date: Sat, 25 Oct 2008 20:51:13 +0800 From: "Karl R. San Gabriel" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: dev@tomcat.apache.org Subject: Re: EL keywords - not and empty - and EL functions References: <490293C3.4050106@gmail.com> In-Reply-To: <490293C3.4050106@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Karl R. San Gabriel wrote: > Dear All, > > Good day! I am a new guy and still adjusting to the TC project. :-) > > I have noticed the fixes you wanted to put in to TC 6.0.18 for bug > 46084 (duplicate of 45511) . > > https://issues.apache.org/bugzilla/show_bug.cgi?id=46084 > https://issues.apache.org/bugzilla/show_bug.cgi?id=45511 > > The ways the keywords "not" and "empty" (in duplicate bugs) were used > in JSP files were like EL functions. > EL functions are different. They are static methods from Java classes > made exposed via the XML tag in the TLD file. > > TLD file: > ... > FunctionNot > > doItNow > Fully qualified class name > void doItNow() > > ... > > When we use "not" in the ff way: > > ${not(true)} > > we are using it as an *EL function name* (because no whitespace(s) > between "not" and "(" ). > It should not work because there is no declaration in the TLD for that > EL function "not". > Thus, the exceptions (please see desciptions of bugs 46084 and 45511). > > Regards, > Karl San Gabriel > > Pardon me. I was talking nonsense. :-) Yeah, I tried ${not(true)} in JBoss and it works. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org