Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66595F687 for ; Thu, 18 Apr 2013 17:21:57 +0000 (UTC) Received: (qmail 8967 invoked by uid 500); 18 Apr 2013 17:21:56 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 8558 invoked by uid 500); 18 Apr 2013 17:21:55 -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 8252 invoked by uid 99); 18 Apr 2013 17:21:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 17:21:55 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of smithh032772@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-we0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 17:21:49 +0000 Received: by mail-we0-f180.google.com with SMTP id r5so2515035wey.39 for ; Thu, 18 Apr 2013 10:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=w1Sa+Re0o35n4qsvacufD8dHI89phLda8Co/KXzgy2Q=; b=dHGdI0iR0VRg2YMl9FD3KMIytn6IJDiJBLd6Lu5GFFCdLXDs5zsnJhcKp7BjG0e8J1 YxY9y7RAmDVRWkmxHJGqxtqTzplKw6p/zl1ljY+E2E4c1svZYsvCdONrnSna4m/X7ho5 l1N/PZOgswm3Yy6mJjMDUlOhMrZaRBE8ro/ngKQkoonA4fmeKuSg6cH7aLM4SDZ3JtpP MTQ+7HR9hv3TjA4TqtprrPcrlcAfNsnW/O8OvvNzAgUWYam27UbvbKwcVdq/t+AV7q1e b1DENduAIUDJivR8ER7CfRqm33fuPMluzzWk1P9Zws6Y2lXursVbM6RZMAAyWtBIpNKh gMHA== MIME-Version: 1.0 X-Received: by 10.180.13.34 with SMTP id e2mr11307680wic.29.1366305688569; Thu, 18 Apr 2013 10:21:28 -0700 (PDT) Received: by 10.227.59.74 with HTTP; Thu, 18 Apr 2013 10:21:28 -0700 (PDT) In-Reply-To: <1366303262597-114626.post@n7.nabble.com> References: <1366288095931-114620.post@n7.nabble.com> <1366303262597-114626.post@n7.nabble.com> Date: Thu, 18 Apr 2013 13:21:28 -0400 Message-ID: Subject: Re: primefaces not work with myfaces From: "Howard W. Smith, Jr." To: MyFaces Discussion Content-Type: multipart/alternative; boundary=001a11c2a85a38cbd104daa5d554 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2a85a38cbd104daa5d554 Content-Type: text/plain; charset=ISO-8859-1 See my responses, inline, below, please. On Thu, Apr 18, 2013 at 12:41 PM, maurojava wrote: > tank you for response. > my question is not how use the component > my problem it is that i have to configure same thing i tihink into web.xml > or faces-config.xml > for not get the deployment error when i deploy the application on tomee > that > came with myfaces. > > the error that i get it is : > Caused by: java.lang.InstantiationException: > org.primefaces.context.PrimePartialViewContextFactory > Interesting. that doesn't look good. :) > --------------------------------------------------------------------- > > i have found the following web site : > > http://www.borislam.com/2013/02/sample-apps-spring-data-mongodb-and-jsf_3493.html > > Spring? i'm not a 'spring' user, nor do I have experience with 'spring'. > int othe tutorial into web.xml i read many context-param . > > For get Primefaces with myfaces i have to set all the parameter???? > I have noted that for the faces servlet it use : > > org.apache.myfaces.webapp.MyFacesServlet > > > Faces Servlet > > > org.apache.myfaces.webapp.MyFacesServlet > 1 > > > > what you think? it is for myfaces optimezed ? > > I don't have those in web.xml. In my previous response, I shared a URL to PrimeFaces forum topic, where I shared my web.xml changes. I have the following in web.xml (in the following order) : PrimeFaces FileUpload Filter Faces Servlet Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet *.jsf --001a11c2a85a38cbd104daa5d554--