Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 68519 invoked from network); 3 Oct 2004 22:25:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Oct 2004 22:25:41 -0000 Received: (qmail 52006 invoked by uid 500); 3 Oct 2004 22:24:39 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 51676 invoked by uid 500); 3 Oct 2004 22:24:33 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 51663 invoked by uid 99); 3 Oct 2004 22:24:33 -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 [80.91.229.2] (HELO main.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 03 Oct 2004 15:24:31 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CEEmK-0005V9-00 for ; Mon, 04 Oct 2004 00:24:28 +0200 Received: from dyn-213-36-137-30.ppp.tiscali.fr ([213.36.137.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2004 00:24:28 +0200 Received: from t.katelbach by dyn-213-36-137-30.ppp.tiscali.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2004 00:24:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: oceatoon Subject: Re: CForms :Advise on a new widget structure before going further Date: Sun, 03 Oct 2004 20:53:37 +0200 Organization: oceatoon Lines: 32 Message-ID: References: <415EF94D.7050901@apache.org> Reply-To: t.katelbach@systheo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dyn-213-36-137-30.ppp.tiscali.fr Mail-Copies-To: t.katelbach@systheo.com User-Agent: KNode/0.7.7 Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Merci Sylvain, > These are: > - the javascript binding, where you can do whatever you want with the > widget and bound data. Back in june (after 2.1.5), I added a > to the js binding to allow the container structure > to be handled by the js code and delegate binding of elements to unary > bindings such as . Are there any documents about , I have googlised it and wiki-searched it but haven't found any links to this ? > - the widget (including form) attributes, allowing to pass arbitrary > data between flowscript and the various js snippets in the form > definition, without relying on some global variables that would break > the context isolation of continuations. > > So you could store your selection list (or a collection representing it) > and use it in a js binding on the repeater. This was my first attempt: mapping my repeater on the selection-list. but my problem was about internationalisation, I managed to map my repeater on the selectionlist files content, but internationalisation wasn't made? because widget.setValue() won't take a Node as parameter, and as a String the i18n:text tag aren't tranformed :( (even though my pipeline ends with the right transformation) Passing the selection-list as an attribute from the widget definition sounds good, is there any documentation about this? Thanks a lot for the help Tibor