Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 72889 invoked from network); 23 May 2005 21:24:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 21:24:59 -0000 Received: (qmail 68604 invoked by uid 500); 23 May 2005 21:24:56 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 68570 invoked by uid 500); 23 May 2005 21:24:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 68555 invoked by uid 99); 23 May 2005 21:24:55 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 23 May 2005 14:24:53 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DaKNk-0005kg-Th for dev@cocoon.apache.org; Mon, 23 May 2005 23:22:42 +0200 Received: from host42-119.pool8291.interbusiness.it ([82.91.119.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 May 2005 23:22:40 +0200 Received: from lmorandini by host42-119.pool8291.interbusiness.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 May 2005 23:22:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Luca Morandini Subject: Re: Server-side image map in CForms ? Date: Mon, 23 May 2005 23:22:09 +0200 Lines: 25 Message-ID: References: <4292208E.2040006@apache.org> <42923CCE.8090307@apache.org> <429244D0.2080108@apache.org> Reply-To: lmorandini@ieee.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host42-119.pool8291.interbusiness.it User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en, it In-Reply-To: <429244D0.2080108@apache.org> Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sylvain Wallez wrote: > Luca Morandini wrote: > >> morever, setting the image source from a action-handler flow script >> would be more elegant. > > That's exactly what the ${image_name} is, e.g.: > form.showForm("my-form-pipeline", {image_name : "map-" + areaId}); Sure, you set the value and pass that parameter from within flow, but to understand its use you should take a look at the form template as well... while the setValue() is completely understandable from the flow code. I mean, nothing really substantial here... only I'd like it to be done in more straightforward way: suppose there's a developer willing to add a dynamic image using CForms, which way he would find easier to understand ? Regards, -------------------- Luca Morandini www.lucamorandini.it --------------------