Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3EC7F200C4B for ; Mon, 20 Mar 2017 18:59:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3D77E160B71; Mon, 20 Mar 2017 17:59:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D822C160B76 for ; Mon, 20 Mar 2017 18:59:53 +0100 (CET) Received: (qmail 66989 invoked by uid 500); 20 Mar 2017 17:59:53 -0000 Mailing-List: contact users-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@deltaspike.apache.org Delivered-To: mailing list users@deltaspike.apache.org Received: (qmail 66762 invoked by uid 99); 20 Mar 2017 17:59:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 17:59:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3D429CD626 for ; Mon, 20 Mar 2017 17:59:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id GEg6AyhCQcOs for ; Mon, 20 Mar 2017 17:59:49 +0000 (UTC) Received: from mail-it0-f43.google.com (mail-it0-f43.google.com [209.85.214.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A956A5F238 for ; Mon, 20 Mar 2017 17:59:48 +0000 (UTC) Received: by mail-it0-f43.google.com with SMTP id w124so97015570itb.1 for ; Mon, 20 Mar 2017 10:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=oK61+O/gEnJn5uVMET1oaPCbVN0WDqseiPwuSezRAn0=; b=ZKxmmjl3pc3jp2j49yJuq4+O2+Pr0dCjgEYyzgDaGtBVsyoy8vzPQzEvKCS1De9/c/ mL4/GK7NvJjnsTD/WMiaLTLDmF6uf1o+ymc0OKw2y0bZNML1ph30Ie0KB5XhXm90FmCt nA5c/0LWRX+F8MN3u4Q8hXHSaJNdwaYUkRin13V5neC67efO4mEBkFDxp2TUfGpmjsy1 Kc4SEfRIxxAay7gQsMwKbFiV4V0o6oxcomaBQ0pSz+RKhCZbIPo55hnjgH23hFUJ1Yga 6ZfgV18TN2YwhvzfHrBj+NZODtVTFLRz+v0DNg0mR4pTSCvIDeYCF4kOEacepLEFEDR3 0lrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=oK61+O/gEnJn5uVMET1oaPCbVN0WDqseiPwuSezRAn0=; b=WPaDu3l/wB2oHyWvAMJGx71ZkjDDsYm5cf48is+Q04IaUP7cqFJ7CAovBK5gEVDUdM 3ZNBIvoIPtsoomlmmUZw6PvcFCvmk1Q9GYASaWmtH6jVf76N/8DjXWKukvk63NZigy6m B0bdP7PQcPsxWeLX2UrHaJAC+5oqCCVikdqQJ25+9dIlUEAZDBa+LzWdMDyqKwqikKqY OgEjda3rlLSmBOHOdE0GnQt8cPPy1yHTdnHyzGagOCNWuHqcCGK+9baQ5kwe2KcuLqh6 ZqMoBVkc7rEbmjUM9rgiPtJDRrZajp/HTeEJlLp2Df17+rntbGtSOfVQZ4OZJC6wwNxw Ldbw== X-Gm-Message-State: AFeK/H1qSfvZNsGGst7294xQmO+ysVQf4+VvVCl8WhaPZaBFOjZcZoMGI8kRxDRsYWovLtRzDM7ShvIYt3UUzA== X-Received: by 10.36.193.198 with SMTP id e189mr11424584itg.95.1490032780257; Mon, 20 Mar 2017 10:59:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.71.7 with HTTP; Mon, 20 Mar 2017 10:58:59 -0700 (PDT) In-Reply-To: References: From: Avinash Moram Date: Mon, 20 Mar 2017 12:58:59 -0500 Message-ID: Subject: Re: GroupedConversation issue after adding windowcontext To: users@deltaspike.apache.org Content-Type: multipart/alternative; boundary=94eb2c07afe8923169054b2d4a80 archived-at: Mon, 20 Mar 2017 17:59:55 -0000 --94eb2c07afe8923169054b2d4a80 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Gerhard, I got the ds working after my TL suggested to add the below config into my faces-config. org.apache.deltaspike.WindowIdHolder org.apache.deltaspike.jsf.impl.component.window.WindowIdCo= mponent now, when I try to close the GroupedConversation.close() on the same page which am on, all the variables gets re-initialized, but if I use an implicit group and try the GroupedConversationManager.closeConversationGroup(ConversationWQSearchImpli= citSubGroup.class) from my second page and navigate through a click of button which return this "search.xhtml?faces-redirect=3Dtrue" as action, my first page search results still stay on the page and in addition I see the same dswid in my browser url. Do I see a new dswid when I close my conversations? Thanks & Regards, Avinash On Sat, Mar 18, 2017 at 4:59 PM, Gerhard Petracek wrote: > hi avinash, > > ear-packages are always a bit special and not portable with ee6. > as you could see with your own demo, it isn't really a ds-issue. > however, in your case it looks like mojarra can't find/see ds classes (du= e > to the classloader-setup you have to use). > you could only move all jars to the web-module/s or you could try to twea= k > the classloader-config of the server you are using. > (... or drop ear-packaging at all - in most cases you will hit quite a fe= w > constellations which are broken to some extent.) > > regards, > gerhard > > > > 2017-03-17 23:13 GMT+01:00 Avinash Moram : > > > Hi Gerhard, > > > > Sorry for the delay in replying, I was trying to setup a github project > > but it took me too long to do my exact replica of my multi-module maven > > project, so I ended up doing one simple project uploaded to github here > > using the existin= g > > jboss javaee project and included deltaspike, which seems to work. " It > > doesn't look like a mojarra issue as I used the exact jars from > > deltaspike(1.7.2) and mojarra (2.2.12). At least I am not getting the > error > > "javax.servlet.ServletException: Expression Error: Named Object: > > org.apache.deltaspike.WindowIdHolder not found." > > > > My multi-module maven project has 4 modules (core is bundled into jar (= no > > dependency), ejb (dependent on core), web is bundled into war (dependen= t > on > > ejb and core) and ear (dependent on ejb, core, web) ), I included the > > deltaspike jars in my ejb module, the web module pom doesn't have any > delta > > spike jars. Do you think that is the problem? > > > > I saw a similar exception posted for an ominifaces issue here > > expression-error-named-object-org-omnifaces-compon> > > > > one of the comments from BalusC says "This can happen if OmniFaces is > > misplaced in e.g. EAR/lib instad of WAR's WEB-INF/lib. Did you verify i= f > > the build is all right? See also omnifaces.org/#installation =E2=80=93 = BalusC > > May 30 '16 at 17:29 > > expression-error-named-object-org-omnifaces-compon# > comment62552493_37529138> > > " > > > > I am attaching my multi module pom's here. > > > > > > > > Thanks & Regards, > > Avinash > > > > On Wed, Mar 15, 2017 at 3:58 PM, Gerhard Petracek > > wrote: > > > >> hi avinash, > >> > >> it looks like an issue with the version of mojarra you are using. > >> please provide a link to a demo (e.g. on github) which illustrates the > >> issue. > >> > >> regards, > >> gerhard > >> > >> > >> > >> 2017-03-15 21:35 GMT+01:00 Avinash Moram : > >> > >> > Hi, > >> > > >> > We have started migrating a seam application to primefaces 6.0 + CDI > >> 1.2 + > >> > Deltaspike 1.7.0. I was trying to get the grouped conversations up a= nd > >> > running. > >> > > >> > And I read > >> > http://www.omnifaces-fans.org/2015/12/jsf-scopes-tutorial- > >> > deltaspike-grouped.html > >> > in the pre-requisites that "- DeltaSpike conversations are based on > the > >> > window-scope > >> > >> > tutorial-deltaspike-window.html> > >> > (as a consequence of this, do not forget to add the ds:windowId > >> (xmlns:ds=3D" > >> > http://deltaspike.apache.org/jsf") component)." > >> > > >> > So, I included them in my .xhtml pages and had the necessary > deltaspike > >> > classes injected. > >> > > >> > > >> > >> > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > >> > >> > xmlns:h=3D"http://java.sun.com/jsf/html" > >> > xmlns:f=3D"http://java.sun.com/jsf/core" > >> > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > >> > xmlns:c=3D"http://java.sun.com/jstl/core" > >> > xmlns:p=3D"http://primefaces.org/ui" > >> > xmlns:pe=3D"http://primefaces.org/ui/extensions" xml:lang=3D"e= n" > >> > lang=3D"en" > >> > template=3D"/views/common/layout/main-content-layout.xhtml" > >> > xmlns:ds=3D"http://deltaspike.apache.org/jsf"> > >> > > >> > > >> > >> > acilitySearch.dqStack.getConversationStack()}"> > >> > You Are Here: > >> > > >> > > >> > >> .getConversationStack()}" > >> > var=3D"entry" > >> > varStatus=3D"status"> > >> > >> > value=3D"#{entry.getDescription()}" > > >> > > >> > > >> > > >> >