Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 2294 invoked from network); 15 Feb 2008 18:31:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2008 18:31:08 -0000 Received: (qmail 95029 invoked by uid 500); 15 Feb 2008 18:30:56 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 94998 invoked by uid 500); 15 Feb 2008 18:30:56 -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 94987 invoked by uid 99); 15 Feb 2008 18:30:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 10:30:56 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 141.146.126.228 is neither permitted nor denied by domain of darkarena@gmail.com) Received: from [141.146.126.228] (HELO agminet01.oracle.com) (141.146.126.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 18:30:22 +0000 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m1FIUOAZ012922; Fri, 15 Feb 2008 12:30:24 -0600 Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m1FGaeBq031719; Fri, 15 Feb 2008 11:30:24 -0700 Received: from sobryan-lap.us.oracle.com by acsmt350.oracle.com with ESMTP id 3577041471203100185; Fri, 15 Feb 2008 10:29:45 -0800 Message-ID: <47B5DAF2.1070906@gmail.com> Date: Fri, 15 Feb 2008 11:33:22 -0700 From: "Scott O'Bryan" User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: t:panelTabbedPanel in a portlet References: <1B2B2EF98D55CB41BD16F13B18B9B0080258C5CD@FFBRUE001.cfmu.corp.eurocontrol.int> In-Reply-To: <1B2B2EF98D55CB41BD16F13B18B9B0080258C5CD@FFBRUE001.cfmu.corp.eurocontrol.int> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-Virus-Checked: Checked by ClamAV on apache.org Anything requiring the extension filter in Tomahawk is not compatible with the portal. :) I'm going to be releasing some stuff into the commons project soon that should allow Tobago to adapt most of this logic into a portlet compatible non-filter type environment, but right now this is a limitation of Tobago and the portlet environments. Scott MC PHERSON Sandy wrote: > Hi I have a problem with > > in a JSF portlet in Weblogic Portal 10. > > I am using tomahawk 1.1.6 and the MyFaces boxed with WLP10 (1.1.1) > > If I access a JSP which contains through a portlet > on a portal page I get an exception (see below). However if access the > JSP directly as a simple web page it works perfectly and then if I > subsequently refresh my Portal page the portlet also works correctly. > > It looks like some sort of initialization whicht the extensions filter > does is not taking place correctly when accessed through the JSP portlet > bridge which obviously then delegates to the faces servlet: This > initializiation obviously does get done when the filter gets activated > directly on a REQUEST. > > The Extensions Filter is the first filter in my filter chain so it can't > be that another filter is blocking the filter from running. > > Is there some way to force initialization done on a REQUEST ? > > JSP fragment: > > > > > > > > > > > > > > > > > > > > > > web.xml > > > > extensionsFilter > > org.apache.myfaces.webapp.filter.ExtensionsFilter class> > > Set the size limit for uploaded files. Format: > 10 - 10 bytes 10k > - 10 KB 10m - 10 MB 1g - 1 GB > uploadMaxFileSize > 100m > > > Set the threshold size - files below this limit > are stored in > memory, files above this limit are stored on disk. > > Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 > GB > uploadThresholdSize > 100k > > > > extensionsFilter > Faces Servlet > FORWARD > REQUEST > INCLUDE > > > extensionsFilter > /faces/myFacesExtensionResource/* > FORWARD > REQUEST > INCLUDE > > > Exception > > java.lang.IllegalStateException: ExtensionsFilter not correctly > configured. JSF mapping missing. JSF pages not covered. Please see: > http://myfaces.apache.org/tomahawk/extensionsFilter.html > at > org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtension > sFilterMissing(AddResourceFactory.java:358) > at > org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironme > nt(AddResourceFactory.java:318) > at > org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(Ad > dResourceFactory.java:273) > at > org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.encodeEnd(Ht > mlTabbedPaneRenderer.java:94) > at > javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331 > ) > > > > ____ > > This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. > > Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. > > Any views expressed in this message are those of the sender. > >