Add an AbstractBehavior to the field and use the renderHead method on it to add the Javascript
Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Nov 15, 2010 7:58 AM, "MattyDE" <[email protected]> wrote: I totally agree with you JC, but i have to check the file.extension on the client-side too. Because its an internal-application so i can usually trust the upload, but the files are very big (+1GB) and only .zip Files are allowed. So i should add my own AbstractRenderer with onRenderHead to add the JavaScript? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-Validation-before-Submitting-tp3042673p3043014.html Sent from the Users forum mailing list archive at Nabble.com. -------------------------------------...
