Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Important - Unable to upload Image from smartgwt integrated CKEditor

    Hi,

    I have integrated the gwt-ckeditor-0.5.jar in our application but the Upload image file to server does not work.


    What steps will reproduce the problem?
    1. Add Image in the ckeditor 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 on clicking 'Send it to the server' on the ckeditor's image upload tab? 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?
Working...
X