Any chance you could attach this to a jira ticket? That's the normal process, so that your contribution won't be forgotten. If you can't, I'll try add it to jira tomorrow.

Thanks for your help.

--
James Mitchell




On Apr 10, 2006, at 2:37 AM, Eric Molitor wrote:

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.

Cheers,
   Eric
<StreamResult.patch>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to