Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 46427 invoked from network); 28 Apr 2006 06:29:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2006 06:29:47 -0000 Received: (qmail 84045 invoked by uid 500); 28 Apr 2006 06:29:44 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 84003 invoked by uid 500); 28 Apr 2006 06:29:44 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 83987 invoked by uid 99); 28 Apr 2006 06:29:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 23:29:44 -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; Thu, 27 Apr 2006 23:29:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23CA87142C5 for ; Fri, 28 Apr 2006 06:29:19 +0000 (GMT) Message-ID: <1993930.1146205759144.JavaMail.jira@brutus> Date: Fri, 28 Apr 2006 06:29:19 +0000 (GMT+00:00) From: "Rene Gielen (JIRA)" To: dev@struts.apache.org Subject: [jira] Assigned: (WW-1281) Allow StreamResult parameters to be read from the stack 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/struts/browse/WW-1281?page=all ] Rene Gielen reassigned WW-1281: ------------------------------- Assign To: Rene Gielen > Allow StreamResult parameters to be read from the stack > ------------------------------------------------------- > > Key: WW-1281 > URL: http://issues.apache.org/struts/browse/WW-1281 > Project: Struts Action 2 > Type: Improvement > Components: Views, Configuration, Dispatch > Versions: WW 2.2.2 > Environment: Any > Reporter: Eric Molitor > Assignee: Rene Gielen > Fix For: 2.0 > Attachments: StreamResult.patch > > This patch allows the parameters for the stream result to be read from > the stack. I seem to be having issues running the unit tests so none > are included. (I'll probably work on some later). Precedence is given > to values on the stack over values in the XML file. > I plan to use the patch as follows > In xwork.xml I create a global stream result.. > > Then in my actions I create getter methods for the various parameters > (probably just contentDisposition, contentType, and contentLength) and > then just return "stream" as the result of my execute method. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org