i found ,once textArea input too long string (mybe more than 500 char) which is in DynamicForm,and call Form.saveData(),the program will hang through to time out. and see log file as follow error:
ERROR XML - XML parser fatal error: file ‘(in memory stream)’ line 1: org.xml.sax.SAXParseException: The element type “elem” must be terminated by the matching end-tag “</elem>”.
also errors found in IE6, IE7,and Mozllia FireFox.
In house at Isomorphic and throughout the world, SmartClient applications save values many times larger than that via DynamicForm.saveData() thousands of times a day. We’ll need an example of what you’re doing to create this error in order to help.
Forms that contain UploadItems must be submitted via submitForm(), not saveData(), and the uploaded file must be handled by ordinary servlet logic, not as a SmartClient RPC. What you have tripped upon by calling saveData() is some special upload handling, currently in incomplete form, which will be completed and documented in a future release.
Thank you for tell me that!
could i pass the some special upload handling in my custom DynamicForm or SmartClient RPC?
and why we need some special upload handling?
i need upload a file and some of detail data via DynamicForm send to server ,but by servlet way it will refresh the page.
i don’t want refresh page, just want upload file same the SmartClient style.
can i do this?