Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 49169 invoked from network); 15 Aug 2000 16:41:13 -0000 Received: from lukla.sun.com (192.18.98.31) by locus.apache.org with SMTP; 15 Aug 2000 16:41:13 -0000 Received: from engmail4.Eng.Sun.COM ([129.144.134.6]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id KAA04487 for ; Tue, 15 Aug 2000 10:41:12 -0600 (MDT) Received: from florence.eng.sun.com (florence.Eng.Sun.COM [129.144.251.146]) by engmail4.Eng.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id JAA00826 for ; Tue, 15 Aug 2000 09:41:09 -0700 (PDT) Received: from eng.sun.com (localhost [127.0.0.1]) by florence.eng.sun.com (8.9.3+Sun/8.9.1) with ESMTP id JAA29410 for ; Tue, 15 Aug 2000 09:41:09 -0700 (PDT) Sender: craigmcc@florence.Eng.Sun.COM Message-ID: <399972A5.D929CBBF@eng.sun.com> Date: Tue, 15 Aug 2000 09:41:09 -0700 From: Craig McClanahan Organization: Sun Microsystems, Inc. X-Mailer: Mozilla 4.51 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Using expressions in tag attributes References: <399932AC.3090702@enetgroup.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Rachel Greenham wrote: > Should I be expecting this sort of thing to work? > > <% > String name="wibble"; > %> > > > ie: using an expression in an attribute to a taglib tag. It doesn't > work, and I think I can see why, but as it does on HTML it would be > intuitive if it did. > This should work if you declare, in your tag library descriptor file, that this attribute takes runtime expression values. You would need something like this: name true true Craig