Re: inputFileUpload issue when file does not exists

2008-03-14 Thread jorge08
play the file-entry-field > at all, display a link which allows the user to choose the file, > internally connect the link with the hidden file-input field via > JavaScript, then the interaction becomes a lot better... > > regards, > > Martin > > On Wed, Mar 12

Re: inputFileUpload issue when file does not exists

2008-03-12 Thread jorge08
> On Tue, 2008-03-11 at 12:01 -0700, jorge08 wrote: >> Yes, but the problem is that my uploadAction method in my backing bean >> does >> NOT get executed when the file name is invalid or the file does not >> exist. >> Nothing happens when I click on the command butt

Re: inputFileUpload issue when file does not exists

2008-03-11 Thread jorge08
ssage(="fileupload", > new FacesMessage(FacesMessage.SEVERITY_ERROR, "File > null", "Please specify a not null file.")); > return null; >} > } > > I hope it helps. > > > --- jorge08 <[EMAIL PROTECTED]> wrote: > >> &g

Re: inputFileUpload issue when file does not exists

2008-03-11 Thread jorge08
nvalid" file, > so a validator would work in Trinidad that way. > > -M > > On Mon, Mar 10, 2008 at 2:24 PM, jorge08 <[EMAIL PROTECTED]> wrote: >> >> I've added a validator attribute to the inputFileUpload component, but >> it is &g

Re: inputFileUpload issue when file does not exists

2008-03-10 Thread jorge08
ontext),message); ... } Any ideas? David Delbecq-2 wrote: > > You could add a custom validator that check the length of the uploaded > file? > jorge08 a écrit : >> >> I am using the inputFileUpload Tomahawk component to upload files. >> Everything works great exce

inputFileUpload issue when file does not exists

2008-03-07 Thread jorge08
I am using the inputFileUpload Tomahawk component to upload files. Everything works great except when the user types the file path and file name directly into the input field. If the file path is wrong or the file does not exists, there is no error messages displayed. I would like to disp