inputFileUpload save state problem

2007-06-05 Thread ncheltsov
Hi, I have the following question about one of myFaces custom components. inputFileUpload I managed to do everything except one thing. I don't know how to save the state of the input field where the path to a specified file is entered. When I reload the page, I am developing, the state is

Re: inputFileUpload save state problem

2007-06-05 Thread David Delbecq
Hi, For security reason, in HTML (not related to JSF), it's impossible to set an initial value for an upload field. En l'instant précis du 05/06/07 10:55, ncheltsov s'exprimait en ces termes: Hi, I have the following question about one of myFaces custom components. inputFileUpload I

Re: inputFileUpload save state problem

2007-06-05 Thread ncheltsov
So, it is intended to work like this and it is not an omission? You mean, that if I want something like this, I must implement it by my self and to take all the responsibility of a probable security holes? David Delbecq wrote: Hi, For security reason, in HTML (not related to JSF), it's

Re: inputFileUpload save state problem

2007-06-05 Thread Volker Weber
Hi, yes, it is intended to work like this. And if you want to implement it yourself, you need to implement a custom browser. The existing browsers (IE, firefox, opera, ...) dit not allow this. In HTML it is not possible to set an initial value, (nor set the value by javascript later) to a