Are you sure? I'm using it in a production application right now and the
files most definitely are being uploaded. You can also see this on the demo
because if you try and upload anything over 10m it throws an error.


On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote:
>
> Jesse,
> I examined yours and I don't believe yours is binding the file to the
> abstract accessors
>     /** Gets the uploaded file */
>     public abstract IUploadFile getImportFile();
>
>     /** Sets the uploaded file */
>     public abstract void setImportFile(IUploadFile importFile);
>
> <component id="importFileField" type="Upload" >
>     <binding name="file" value="ognl:importFile" />
>     <binding name="displayName" value="message:choose.file"/>
> </component>
>
> And not calling, public void startTask(IRequestCycle cycle).
> Jason
>
>
> On 2/21/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > Sounds very frustrating. Though my resources are constrained, I can only
> > meekly point to the tacos.sourceforge.net web demo...Where there is a
> > ~working~ page demonstrating using the IUpload component in a form.  ?
> >
> > jesse
> >
> > On 2/21/06, Jason Suplizio <[EMAIL PROTECTED]> wrote:
> > >
> > > We've tried numerous attempts to get the Upload component functional
> > along
> > > with several separate questions to the list without help buy no luck.
> > > Essentially, it still is not calling its listener. (Tomcat 4.1, Java
> > 1.4.2)
> > > .
> > >
> > > Can anyone suggest a work around or a novel way to get the file? The
> > > Upload
> > > component uses:
> > > IUploadFile file = getDecoder().getUploadFile(getName());
> > >
> > > However, from within my page class I can't call getName() on the
> > component
> > > -
> > > although I tried cycle.getPage().getComponent('$Any');  - I've used
> the
> > > Any
> > > component to create the html <input type="file" id="upload"/> tag. If
> I
> > > call
> > > cycle.getParameter("upload"); I can get the name of the file...still
> > can't
> > > figure out how to combine these various elements to get ahold of that
> > > darned
> > > upload file.
> > >
> > > Any & all help would be greatly appreciated!
> > > Jason
> > >
> > >
> >
> >
>
>

Reply via email to