Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 39451 invoked from network); 14 Sep 2007 20:48:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2007 20:48:36 -0000 Received: (qmail 4365 invoked by uid 500); 14 Sep 2007 20:48:25 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 4325 invoked by uid 500); 14 Sep 2007 20:48:25 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 4314 invoked by uid 99); 14 Sep 2007 20:48:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 13:48:25 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of awiner@gmail.com designates 209.85.198.184 as permitted sender) Received: from [209.85.198.184] (HELO rv-out-0910.google.com) (209.85.198.184) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 20:48:24 +0000 Received: by rv-out-0910.google.com with SMTP id c27so734396rvf for ; Fri, 14 Sep 2007 13:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=eKosKnKt5QCTkVmz8WEUdIybYd2xc53XA09xzdLaY90=; b=J1K5N23xqH5eMvRo9kWGPhRJEZDoQx8o808LMoMZGur3/6XUJG+W7Z4RkBMoOWwe/Cy5XT5cAPaVu6uwgNsUzXMzdazKRTWWdz6isIz7O8FXMf8NOOeT5oO6P9gGxycK7ISh4CBvpuP5RjhMBNBdieiOZ3/XSOBg7HdCjBGhOmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=CjjpUuLDcqN0Uat6dxMWBngMZERaoZ17k+FXa+f0UfllzA7XTLbyP/BVSz2XF0idqaqPRU9G1wNf8eGrHBIBZSZC6vVAdo4xFSoQ44KEYcvchnMOZpQQghglmjKYCIiUEYd6qNkFMouwnV1oRwv7DwDlwqjrL2deJ3BBeRt1mDo= Received: by 10.141.89.13 with SMTP id r13mr65383rvl.1189802883797; Fri, 14 Sep 2007 13:48:03 -0700 (PDT) Received: by 10.141.172.7 with HTTP; Fri, 14 Sep 2007 13:48:03 -0700 (PDT) Message-ID: <6dac79b90709141348l7bbc582dwb9f1cac12f670f4e@mail.gmail.com> Date: Fri, 14 Sep 2007 13:48:03 -0700 From: "Adam Winer" To: "MyFaces Discussion" Subject: Re: [Trinidad] PPR logic with non-rendered components (was: "Console is undefined") In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2573_1570743.1189802883749" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2573_1570743.1189802883749 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/14/07, Bertrand, Shawn R wrote: > > We have some situations where we set up PPR between components, and some > of the components which should trigger an update may not be rendered based > on some value binding. What is the policy with respect to this? If a > button, for instance, isn't rendered but is expected to trigger an update on > a table, would I expect this sort of error? > > > > 14:35:46,377 ERROR [STDERR] Sep 14, 2007 2:35:46 PM > org.apache.myfaces.trinidadinternal.context.RequestContextImpladdPartialTriggerListeners > > WARNING: Could not find partial trigger genTable:modify from > CoreTable[UIXFacesBeanImpl, id=genTable] > This warning means that your partialTrigger syntax is wrong; it's not that something isn't rendered. > I'm also thinking there might be problem with situations where an action > is triggered on a command button, a PPR update occurs that disables a > button, and the focus method call at the bottom of > TrPage.prototype._handlePprResponseFragment fails because the button can't > be focused upon. Under this situation, I'm getting this javascript error in > IE (but not in Firefox): > > > > "Can't move focus to the control because it is invisible, not > enabled, or of a type that does not accept the focus." > A simple test case would be handy. Looks like there's some problems with the PPR code that tries to restore focus. -- Adam This > ------=_Part_2573_1570743.1189802883749 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/14/07, Bertrand, Shawn R <shawn.bertrand@tycoelectronics.com> wrote:

We have some situations where we set up PPR between components, and some of the components which should trigger an update may not be rendered based on some value binding.  What is the policy with respect to this?  If a button, for instance, isn't rendered but is expected to trigger an update on a table, would I expect this sort of error?

 

14:35:46,377 ERROR [STDERR] Sep 14, 2007 2:35:46 PM org.apache.myfaces.trinidadinternal.context.RequestContextImpl addPartialTriggerListeners

WARNING: Could not find partial trigger genTable:modify from CoreTable[UIXFacesBeanImpl, id=genTable]


This warning means that your partialTrigger syntax is wrong;  it's not that something
isn't rendered.

I'm also thinking there might be problem with situations where an action is triggered on a command button, a PPR update occurs that disables a button, and the focus method call at the bottom of TrPage.prototype._handlePprResponseFragment fails because the button can't be focused upon.  Under this situation, I'm getting this javascript error in IE (but not in Firefox):

 

            "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus."

A simple test case would be handy.  Looks like there's some problems with the PPR
code that tries to restore focus.

-- Adam

 

This


------=_Part_2573_1570743.1189802883749--