Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 19720 invoked from network); 23 Feb 2005 08:30:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Feb 2005 08:30:29 -0000 Received: (qmail 81144 invoked by uid 500); 23 Feb 2005 08:30:24 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 81100 invoked by uid 500); 23 Feb 2005 08:30:23 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 81085 invoked by uid 99); 23 Feb 2005 08:30:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from matrix15.home.net.pl (HELO matrix15.home.net.pl) (212.85.112.15) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 23 Feb 2005 00:30:22 -0800 Received: from sj162.internetdsl.tpnet.pl (HELO ?192.168.1.62?) (lgawron.mobilebox@home@80.55.87.162) by matrix15.home.net.pl with SMTP; 23 Feb 2005 08:30:18 -0000 Message-ID: <421C3F1E.8020500@apache.org> Date: Wed, 23 Feb 2005 09:30:22 +0100 From: Leszek Gawron User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Java Class Casting within Flow References: <421B5CF0.3020403@mobilebox.pl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Daniel McOrmond wrote: > Just a follow up on this thread. I tried Leszek's solution again and > it worked properly. I suspect that I most likely misspelled something > on my first attempt! > > Thanks for your help. When I get a chance, I'm going to dig in and > figure out exactly _how_ that works. AFAIU rhino (flowscript engine) uses reflection to resolve methods and fields. It doesn't really matter that you pass some narrow interface because reflection will expose full underlying object functionality. -- Leszek Gawron MobileBox lgawron@apache.org http://www.mobilebox.pl --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org