michaelyah / gwt-ckeditor

Automatically exported from code.google.com/p/gwt-ckeditor
0 stars 0 forks source link

Unable to Upload Image and Send to server #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add Image in the Toolbar and click on it
2. The Upload tab has 'Send it to the Server'
3. After browsing an image, 'Send to Server' it gives an error saying, 
Problem accessing /home/customservlets/fileDownload' 
Reason: HTTP method POST is not supported by this URL

What is the expected output? What do you see instead?
It should have called the smartgwt servlet 

What version of the product are you using? On what operating system?
smartgwt 3.0. Window 7.

Please provide any additional information below.
I added the code in the config.js

config.filebrowserUploadUrl = 'home/customservlets/fileDownload'; 

How do I make a call to smartgwt servlet? ALso, I need to send in specific 
parameters (about 4-5 parameters), whose values will be dynamic and which 
should be caught in the servlet to make proper DB calls.

How can I send in extra parameters in the url?
Also, how can I assign a callback function to be executed, which can be passed 
in from the smartgwt application?

Original issue reported on code.google.com by purnashr...@gmail.com on 22 Jan 2013 at 2:08