You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Lance Java <la...@googlemail.com> on 2009/03/19 19:08:21 UTC

Re: T5: tapestry-upload, allowing user to remove filename from textfield

The file object is pretty locked down by the browser and is impossible to
manipulate using javascript because of potential hacking implications. You
may have to settle for a x button next to it which creates a new file object
and drops the original.

2009/3/19 leechj <le...@gmail.com>

>
> I feel foolish for not being able to figure this out, but I'm trying to
> make
> it so the user can remove the file name from the field in case they decide
> they don't actually want to upload a file as a part of their form. But when
> I click on the field, it just brings up a browsing box and I can't actually
> remove the file from the field.
> Any idea what I can do to allow a user to get rid of that file path/name?
>
> Thanks!
> --
> View this message in context:
> http://www.nabble.com/T5%3A-tapestry-upload%2C-allowing-user-to-remove-filename-from-textfield-tp22601002p22601002.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>