1 Reply Latest reply on Nov 29, 2012 10:44 AM by Tomalec W

    Portlets and Vaadin




      We are developing a Vaadin 7 application based on sling portlet (JSR 286) in CQ 5.4.


      But when a POST request is triggered a 302 is sent back and so the application does not work.


      How can I make a POST request with AJAX and get back for instance json? In a simple portlet I wrote as a proof of concept I make an ajax request but Sling writes HTML out, the portlet in the middle of the page its json string.


      So the base question is: What do I have to do, that Sling ignores portlet POST requests eg. POST request to our portlet component?


      Any help is appreciated.




      Kind regards