Hi!

I had a look in the tomahawk.tld (version 1.0.10), and there's no further
info to find about the storage or value attribute (Ok, you wrote the value
must be of type UploadedFile).
In the TLD doc is also no info to find about the storage attribute, as well
as on the Apache MyFaces website.

I also looked at the fileupload.jsp in examples/simple of the MyFaces 1.1.1
examples, but there's also no info to find about storage.


But I found the following link to an article about it (it's linked from the
WIKI page):

http://www.onjava.com/pub/a/onjava/2005/07/13/jsfupload.html


I think it will provide the info I need...


Regards,

Matthias


> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Mike Kienenberger
> Gesendet: Freitag, 16. Dezember 2005 19:32
> An: MyFaces Discussion
> Betreff: Re: inputFileUpload tag attributes
>
>
> Matthias, you need to check the docs and examples :)
>
> The value type I use is
> "org.apache.myfaces.custom.fileupload.UploadedFile"
>
>     <t:inputFileUpload id="contentFileUploadInput"
>         value="#{editAnnouncementsPage.uploadedFile}"
>         storage="memory"
>         required="#{false}"/>
>
>     public UploadedFile getUploadedFile()
>     {
>         return null;
>     }
>
>     public void setUploadedFile(UploadedFile uploadedFile)
>     {
>          // your code here
>     }
>
> On 12/15/05, Matthias Kahlau <[EMAIL PROTECTED]> wrote:
> > Hi!
> >
> >
> > I get a conversion error in the model update phase when using
> > inputFileUpload.
> >
> > 1) Which data types are supported for the "value" attribute?
> >
> > 2) Which role playes the "accept" attribute?
> >
> > 3) Which role playes the "storage" attribute?
> >
> >
> > Regards,
> >
> > Matthias
> >
> >

Reply via email to