Hi Varun
with the help of your answer and the answer from Mandeep (http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/aem-forms.topic.html/forum__yc8y-_hi_i_want_to.html) I could eventually pass a custom parameter to the redirect page :)
I'm using this dependency (in the bundle's pom.xml) to have the GuideSubmitServlet available in my custom submit action:
<dependency> <groupId>com.adobe.aemfd</groupId> <artifactId>aemfd-client-sdk</artifactId> <version>6.1.0</version> <scope>provided</scope> </dependency>
and I'm using this code in the submit action to add a custom parameter to the url of the redirect page:
Map<String, String> redirectParameters = GuideSubmitServlet.getRedirectParameters(request); redirectParameters.put("answerToTheUltimateQuestion","42"); GuideSubmitServlet.setRedirectParameters(request,redirectParameters);
Thanks a lot four your help,
Urs