[
https://issues.apache.org/jira/browse/TRINIDAD-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Weßendorf updated TRINIDAD-1757:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0.3-core
1.2.14-core
Assignee: Matthias Weßendorf
Status: Resolved (was: Patch Available)
Thanks to Girish for the patch
> Allow (or support) decorator pattern for the UploadedFileProcessor
> ------------------------------------------------------------------
>
> Key: TRINIDAD-1757
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1757
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Affects Versions: 1.2.13-core , 2.0.0-alpha-2
> Reporter: Matthias Weßendorf
> Assignee: Matthias Weßendorf
> Fix For: 1.2.14-core , 2.0.0.3-core
>
> Attachments: TRINIDAD-1757.patch
>
>
> Currently it is only possible to replace the entire UploadedFileProcessor,
> with a custom one.
> A neat improvement (crap, this should not be a bug) would be supporting the
> decorator pattern.
> The tricky part is that we need a buffer inside of the implementation of the
> file
> that get's passed into the Processor.
> currently you can call only once the "getInputStream", so we need a buffer
> here
> (that works with the impl's writeFile()/getInputStream()):
> There are some ways for that.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.