I have a custom form action nodes which has a forward.jsp via which the control is forwarded to my custom servlet . All this happens when the form start component is configured to execute the custom action .
Now I want to achieve this behaviour in ajax way . In normal cases where I am not using cq form actions , I can add my js to a html and on submit execute a url to a servlet . With cq form actions how i can make a call to action's forward.jsp in ajax way ?
I'm infact trying to pull data via ajax , but I want to do it via cq form actions . I have some custom CQ form actions which actually pull data from external sources . I have my from start component which are configured to execute these actions on submit .
Now I want to achieve the same behaviour of executing CQ form actions via ajax , I just select the action in form start component and on submit the form should be submitted asynchronously . I have already achieved this by bypassing cq formactions and directly executing servlet by passing servlet path as url in ajax script .