Rank: Member
Groups: Member
Joined: 1/21/2007(UTC) Posts: 6
|
Hi
I am having a problem trying to integrate Image Uploader into a Java site using the Spring framework. The probem seems to be with field names that start with an uppercase character (as the framework tries to match posted field names to java class field names automatically).
Is there any way to ensure that the posted field names start with a lowercase character?
I can work around this (by not utilising some of the Spring frameworks features - eg. automatic binding of a CommonsMultipartFile PropertyEditorSupport class within my SimpleFormController) but this is less than ideal...
Has anyone else had/solved this problem?
Rgds, Phil
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello Phil, Now Image Uploader uploads all data fields with uppercase names. There is no way to rename the fields to the lowercase in the standard version of Image Uploader. The only possible solution is to make a custom version with such feature. If you are interested in it feel free to write to sales@aurigma.com. Edited by user Thursday, May 22, 2008 9:15:19 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 1/21/2007(UTC) Posts: 6
|
Ok, thanks for the reply, I'll work around this as I don't expect it will change as it would then break other people's sites!
Is it possible to access the form fields that will be submitted by the HTTP POST from Javascript? Perhaps in the method called by "iu.addEventListener("BeforeUpload"..." ? That way I could use the method defined in BeforeUpload to rename the fields as necessary...
Rgds, Phil
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello Phil, You can control (rename etc.) the additional form fields only, not the fields of Image Uploader itself such as Description_1 and so on. ======================================================== 02/21/2008, Fedor Additional info
In recent version if Image Uploader we have added support of renaming POST fields. It can be done using RenameField method. ========================================================Edited by user Wednesday, October 29, 2008 2:42:41 AM(UTC)
| Reason: Not specified |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.