Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22E75DBC0 for ; Wed, 28 Nov 2012 17:56:48 +0000 (UTC) Received: (qmail 97283 invoked by uid 500); 28 Nov 2012 17:56:47 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 97253 invoked by uid 500); 28 Nov 2012 17:56:47 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 97245 invoked by uid 99); 28 Nov 2012 17:56:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 17:56:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joaopedromartinsfernandes@gmail.com designates 209.85.215.175 as permitted sender) Received: from [209.85.215.175] (HELO mail-ea0-f175.google.com) (209.85.215.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 17:56:39 +0000 Received: by mail-ea0-f175.google.com with SMTP id h11so5273331eaa.6 for ; Wed, 28 Nov 2012 09:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=rG4l+CRxT+8+0RB/UF5An4WfLWgFA9VinIhX/i37Jj4=; b=Llds/KPVWlAI4N5lvyccd3l+fS1sai+NLPSvlDYn6lYYEsFlbtwJIbOVXCYc+W1Lol 8t4LwN44aLhQpGQewHPB+FZp4ZX1FYx91VikOINTP/z5XwuDf5rJ9Pp36vVBdfFmZgDw 0QXhw26JkM/HvL+sG/H7YNl5xykEAq7IpgJVROnaTXplV+UxrWmaXSz/YtiHJZ+SC6LP 6+YeQqslmeWQDaS/EsIaieNORCie/NFMmhQE/o3C7vT/stPOUfTjOrXLF6xCNUqrMb7y QWa30CxVcz1JNqDysFZthgoXzoUpSf6iSGhIAC4nmDCnBEX9eFeBCQoaFbXWQV56yi0L 6Z8g== Received: by 10.14.0.71 with SMTP id 47mr17873317eea.19.1354125378936; Wed, 28 Nov 2012 09:56:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.68.9 with HTTP; Wed, 28 Nov 2012 09:55:58 -0800 (PST) In-Reply-To: References: From: =?ISO-8859-1?Q?Jo=E3o_Fernandes?= Date: Wed, 28 Nov 2012 17:55:58 +0000 Message-ID: Subject: Re: Spark Datagrid editor session ending To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b66f32931603e04cf91e2b8 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b66f32931603e04cf91e2b8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28 November 2012 17:42, Alex Harui wrote: > modify DG to dispatch such an event. > Another is to provide an alternate item editor that dispatches the event > from the DG in its save() method. > > In the new framework I am rewriting, I would argue for the second option. > The DG should not waste time dispatching events just-in-case. You can tu= rn > on that capability by choosing a new default renderer. > Thanks Alex, in my opinion I would implement the event the same way SAVE and CANCEL are handled currently but in the future I agree it should be handled by the ItemEditor instance itself. I'll log a bug later today with a patch to it. --=20 Jo=E3o Fernandes --047d7b66f32931603e04cf91e2b8--