2009년 5월 19일 화요일

ExtJS 2.X file upload

If you are having problem with file uploads using ExtJs and Grails, this might help you.

To upload file with the latest ExtJs 2.0, you need to specify the theExt.form.BasicForm to be configured as fileupload, just pass "fileUpload:true" to the config options. Then add a textfield as specify the "inputType" as "file". This will get you a ExtJs form with a standard File browser button to choose file.

댓글 없음:

댓글 쓰기