Re: Where is the full client filename during FileUpload?

2010-02-04 Thread nytrus
). otherwise you could upload a file without the knowledge of the user. see http://www.cs.tut.fi/~jkorpela/forms/file.html for reference 2010/2/3 Nicola Tucci nytrus...@gmail.com Hi all, I'm using a FIleUpload form component in order to save the full client filename (path + filename, i.e

Re: Form FileUploadField maxSize does not work

2009-09-07 Thread nytrus
Yes the issue is that, the form being submitted is the outer (which has no maxsize set, so default is used). When I submit upload0, Form.handleMultiPart() is called on the outer form (form0). When I submit upload1, Form.handleMultiPart() is called on simpleUpload. I'm missing something or doing

Re: Nested forms : don't process inner form when outer form is submitted

2009-08-06 Thread nytrus
In the example, the inner form is enabled only when the submitter button is that of itself (i.e. I'm submitting the inner form). In all other cases the form is always disabled: I've tried the example and in factthe form is totally disabled, I can't fill my textfield and I can't even submit the

Re: Nested forms : don't process inner form when outer form is submitted

2009-08-06 Thread nytrus
John Krasnay wrote: The isEnabled method only controls form processing on the server. If you can't even type characters in your text field you have something else going on at the browser level. Well usually in a disabled box you cannot type, no matter what browser you are using. Anyway

Re: Form skips validation for disabled/not visible components

2009-08-04 Thread nytrus
James Carman-3 wrote: And, if you want to display the currently-selected thing, then try using a label (with a little style to it perhaps). On Mon, Aug 3, 2009 at 11:23 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote: use HiddenField instead of a TextField, that way there is no need to

Re: Form skips validation for disabled/not visible components

2009-08-03 Thread nytrus
egolan74 wrote: 1. If you in control of the input of these disabled fields, why allowing illegal arguments in the first place? 2. If you can't control the entered values, try use FormValidator. With this class, you can create your own Validate logic with the desired fields. 1. Good