I may just do.
I just checked out the S2 and xwork code and I think it is not so
difficult to modify to support this requirement. I have now some free
time and it's a great opportunity to further learn about the S2
internals.
2008/7/9 Dave Newton <[EMAIL PROTECTED]>:
> Feel free to submit a patch
Feel free to submit a patch. Personally I'd probably just get the output of
iText into an input stream and use the existing stream result, though.
Dave
--- On Tue, 7/8/08, Gabriel Belingueres <[EMAIL PROTECTED]> wrote:
> What about adding an
>
> outputStream ?
>
> For example, in one applicati
What about adding an
outputStream ?
For example, in one application I generate a PDF file using iText's
PdfWriter class and it takes an outputStream. This output stream can
then be copied to servlet output.
2008/7/8 Jeromy Evans <[EMAIL PROTECTED]>:
> -1
>
> The params of StreamResult are alread
-1
The params of StreamResult are already evaluated. Example:
${contentType}
inputStream
attachment;
filename="${fileName}"
${contentLength}
1024
James Holmes wrote:
Seems like a reasonable request to me.
The best way to get these types of enhancements incorporated is to open
Seems like a reasonable request to me.
The best way to get these types of enhancements incorporated is to open up a
JIRA ticket and attach a patch file.
On Mon, Jul 7, 2008 at 3:18 PM, Struts Two <[EMAIL PROTECTED]> wrote:
> I am using struts 2.0.11.1 and I just realized that you can not
> dynam
I am using struts 2.0.11.1 and I just realized that you can not dynamically set
the filename using stream result (at least that is my impression after a few
hours of tweaking around the code).
I ended up extending StreamResult to set contentDisposition dynamically. I
think it would be worthwhile