From adffaces-issues-return-981-apmail-incubator-adffaces-issues-archive=incubator.apache.org@incubator.apache.org Mon Sep 18 16:13:19 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-issues-archive@locus.apache.org Received: (qmail 90153 invoked from network); 18 Sep 2006 16:13:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 16:13:19 -0000 Received: (qmail 15455 invoked by uid 500); 18 Sep 2006 16:13:16 -0000 Delivered-To: apmail-incubator-adffaces-issues-archive@incubator.apache.org Received: (qmail 15433 invoked by uid 500); 18 Sep 2006 16:13:16 -0000 Mailing-List: contact adffaces-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-issues@incubator.apache.org Delivered-To: mailing list adffaces-issues@incubator.apache.org Received: (qmail 15414 invoked by uid 99); 18 Sep 2006 16:13:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 09:13:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 09:13:15 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C2B4E7142FA for ; Mon, 18 Sep 2006 16:09:23 +0000 (GMT) Message-ID: <31252804.1158595763795.JavaMail.jira@brutus> Date: Mon, 18 Sep 2006 09:09:23 -0700 (PDT) From: "Bill Keicher (JIRA)" To: adffaces-issues@incubator.apache.org Subject: [jira] Updated: (ADFFACES-180) CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting In-Reply-To: <5539630.1158595642474.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/ADFFACES-180?page=all ] Bill Keicher updated ADFFACES-180: ---------------------------------- Replacing CoreRenderKit.createResponseStream() with the JSF 1.1 implementation *seems* to fix things. >>>>>>>>>>>>>> @Override public ResponseStream createResponseStream(OutputStream out) { // =-=AEW What to do here??? throw new UnsupportedOperationException(); } <<<<<<<<<<<<<< @Override public ResponseStream createResponseStream(OutputStream out) { // =-=AEW What to do here??? //this needs to be fixed for shale-remoting final OutputStream output = out; return new ResponseStream() { public void write(int b) throws IOException { output.write(b); } public void write(byte b[]) throws IOException { output.write(b); } public void write(byte b[], int off, int len) throws IOException { output.write(b, off, len); } public void flush() throws IOException { output.flush(); } public void close() throws IOException { output.close(); } }; } > CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting > ---------------------------------------------------------------------------------------------------------- > > Key: ADFFACES-180 > URL: http://issues.apache.org/jira/browse/ADFFACES-180 > Project: MyFaces ADF-Faces > Issue Type: Bug > Environment: winxp, glassfish/sjas > Reporter: Bill Keicher > Priority: Minor > > I have a project which is using both trinidad and blueprints components. The blueprints components rely upon shale remoting to serve static resources like javascript files and images. If I place a blueprints component within a trinidad component, I get an UnsupportedOperationException from org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.createResponseStream(). > This seems to be caused by shale trying to serve a resource using a response stream from the CoreRenderKit. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira