Thanks everyone. For the record, I've tried using just the @Upload component numerous times (and even my own version of it) before resorting to my last ditch usage of the Any component...why? I just needed to be able to easily grab ahold of the component from the getPage() method...just to see what it could give me. I'm going to look at your resources and report back. Thanks!
On 2/22/06, spamsucks <[EMAIL PROTECTED]> wrote: > > While I have not announced it's release yet (officially), there is an > upload component that you can use (or steal the code for) in stitches (a > tapestry-based library of components). > http://www.authsum.com/site/stitches/ The upload component uses the > tapestry upload component, and takes care of putting into the directory > object that you bind the component to. > > > > > Jason Suplizio 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 > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
