You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/06/10 05:17:24 UTC
[jira] Updated: (WW-1281) Allow StreamResult parameters to be read
from the stack
[ http://issues.apache.org/struts/browse/WW-1281?page=all ]
Don Brown updated WW-1281:
--------------------------
Fix Version: Future
(was: 2.0.0)
> 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: Configuration, Dispatch, Views
> Versions: WW 2.2.2
> Environment: Any
> Reporter: Eric Molitor
> Assignee: Rene Gielen
> Fix For: Future
> 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..
> <result name="stream" type="stream" />
> 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