Return-Path: X-Original-To: apmail-deltaspike-dev-archive@www.apache.org Delivered-To: apmail-deltaspike-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05E5E11E74 for ; Fri, 12 Sep 2014 23:36:35 +0000 (UTC) Received: (qmail 95305 invoked by uid 500); 12 Sep 2014 23:36:34 -0000 Delivered-To: apmail-deltaspike-dev-archive@deltaspike.apache.org Received: (qmail 95261 invoked by uid 500); 12 Sep 2014 23:36:34 -0000 Mailing-List: contact dev-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltaspike.apache.org Delivered-To: mailing list dev@deltaspike.apache.org Received: (qmail 95248 invoked by uid 500); 12 Sep 2014 23:36:34 -0000 Delivered-To: apmail-incubator-deltaspike-dev@incubator.apache.org Received: (qmail 95245 invoked by uid 99); 12 Sep 2014 23:36:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 23:36:34 +0000 Date: Fri, 12 Sep 2014 23:36:34 +0000 (UTC) From: "Thomas Andraschko (JIRA)" To: deltaspike-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DELTASPIKE-710) Error using clientWindow and (p|f):ajax MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DELTASPIKE-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14132308#comment-14132308 ] Thomas Andraschko commented on DELTASPIKE-710: ---------------------------------------------- Hi, i tried your example with the current trunk but it works really fine. Whats browser do you use? > Error using clientWindow and (p|f):ajax > --------------------------------------- > > Key: DELTASPIKE-710 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-710 > Project: DeltaSpike > Issue Type: Bug > Components: JSF-Module > Affects Versions: 1.0.2 > Reporter: Janario > Assignee: Thomas Andraschko > Fix For: 1.0.3 > > Attachments: console.log, fix.patch, pftest.patch, test.patch > > > Trying to use CLIENTWINDOW with some h:commandLink and f:ajax or p:ajax doesn't work. > I've tried, in a simple action method (public void actionTest() {} ): > test f:ajax > > > test f:ajax > > > For f:ajax it doesn't log any error but doesn't call my action method. > For p:ajax it logs some error on browser console: > Uncaught TypeError: Cannot read property 'replace' of undefined primefaces.js?ln=primefaces&v=5.0:1 > b.escapeClientId primefaces.js?ln=primefaces&v=5.0:1 > PrimeFaces.ajax.Request.send primefaces.js?ln=primefaces&v=5.0:2 > PrimeFaces.ajax.Queue.offer primefaces.js?ln=primefaces&v=5.0:2 > PrimeFaces.ajax.Request.handle primefaces.js?ln=primefaces&v=5.0:2 > PrimeFaces.ab primefaces.js?ln=primefaces&v=5.0:2 > onclick ?dsrid=949&dswid=8555:1 > d.(anonymous function).onclick.match.d.(anonymous function).onclick windowhandler.js?ln=deltaspike&v=1.0.2:2 > d.(anonymous function).onclick.match.d.(anonymous function).onclick windowhandler.js?ln=deltaspike&v=1.0.2:2 > I've tried the same with p:commandLink and it works > test f:ajax > > > test f:ajax > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)