You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Girish Kumar Balachandran (JIRA)" <de...@myfaces.apache.org> on 2010/03/27 00:08:27 UTC

[jira] Updated: (TRINIDAD-1757) Allow (or support) decorator pattern for the UploadedFileProcessor

     [ https://issues.apache.org/jira/browse/TRINIDAD-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Girish Kumar Balachandran updated TRINIDAD-1757:
------------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>
> 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.