활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
I am trying to do a custom action type for my component form, I have been following the tutorial based on the documents : https://docs.adobe.com/docs/en/aem/6-1/develop/components/developing-forms.html but to no luck every time I submit the form the post.POST.jsp is not being called. I tried to use the sling servlet based on the question i found on Stackoverflow: http://stackoverflow.com/questions/22344470/how-do-i-configure-built-in-form-component-in-cq-5 but still no luck happened. Is there something I might missed out?
Thanks
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Check the OOB implementation on the same here /libs/foundation/components/form/actions
and hope that helps you to understand and verify your implementation along the same lines
조회 수
답글
좋아요 수
See this community article - it works:
https://helpx.adobe.com/experience-manager/using/posting-aem-6-form-data.html
Hope this helps.
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
For Forms (not adpative forms) - try using AJAX to post data to a custom sling servlet - that way - you are getting the form data to backend Java.
조회 수
답글
좋아요 수
Check the OOB implementation on the same here /libs/foundation/components/form/actions
and hope that helps you to understand and verify your implementation along the same lines
조회 수
답글
좋아요 수
Thank you for the response, I checked the OOB implementation from libs/foundation/components/form/actions and I even tried to copy and paste the post.POST.jsp on my custom form action node, but the post.POST.jsp is not being called during the submission of the form component.
조회 수
답글
좋아요 수
harold malabanan wrote...
Thank you for the response, I checked the OOB implementation from libs/foundation/components/form/actions and I even tried to copy and paste the post.POST.jsp on my custom form action node, but the post.POST.jsp is not being called during the submission of the form component.
You can't just copy and paste this jsp you have to edit the logic a bit to suit you custom form action.
조회 수
답글
좋아요 수
Yes, I am aware that I have to edit the logic for the my custom form action but right now I still don't know why does the POST.jsp file is not being used during the form submission? As per this link that in order to create the custom action type a node has to be created and inside that node there should be a post.POST.jsp. I followed the instructions given and my customFormAction is available on the form component (Please see the image)
but the form is not being passed to the post.POST.jsp.
조회 수
답글
좋아요 수
Hi,
See this community article which has released today. It will help your use case.
//http://scottsdigitalcommunity.blogspot.ca/2017/04/creating-custom-action-for-adobe.html
~ Ratna.
조회 수
답글
좋아요 수