Return-Path: Mailing-List: contact turbine-maven-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-maven-user@jakarta.apache.org Received: (qmail 28945 invoked by uid 98); 12 Dec 2002 22:13:40 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 28925 invoked from network); 12 Dec 2002 22:13:38 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 12 Dec 2002 22:13:38 -0000 Received: (qmail 16553 invoked by uid 500); 12 Dec 2002 22:12:23 -0000 Received: (qmail 16545 invoked from network); 12 Dec 2002 22:12:22 -0000 Received: from mail8.home.nl (HELO mail8-sh.home.nl) (213.51.128.28) by daedalus.apache.org with SMTP; 12 Dec 2002 22:12:22 -0000 Received: from Sauron ([217.120.167.27]) by mail8-sh.home.nl (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021212221226.CTUL23687.mail8-sh.home.nl@Sauron> for ; Thu, 12 Dec 2002 23:12:26 +0100 From: "Age Mooy" To: "'Turbine Maven Users List'" Subject: RE: Newbie question: Jelly syntax Date: Thu, 12 Dec 2002 23:13:04 +0100 Message-ID: <011001c2a22b$a46ac7b0$0201a8c0@groni1.gr.nl.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <0C072E7CC947D511AC9600A0CC734120885D98@XEON400> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > So, maybe the problem is the "two level" nature of > interact.answer? If, instead of "name", I use "choice.name", > it doesn't work. I think you are right.... those expressions are evaluated by Jexl, which is even less documented than Jelly (and that's saying something). Also, I think Jexl is still very much under development and contains quite a few bugs. Jexl always sees a dot as the start of a method call and gets totally confused by variable names with a dot in it.... of course this makes a lot of sense because dots are not valid in Java variable names either. I think this is just a case of common practices from two different worlds clashing and we'll have to use some other way to separate the nouns in our Jelly variables. I've had similar with calling simple String methods like substring() or replace() on jelly variables. I've used workarounds until now because I don't have the time at the moment to look into Jelly/Jexl but I hope some of the Jelly people add some tutorials to their docs soon. Age