Expand my Community achievements bar.

Adaptive Form using sightly

Avatar

Level 2

We need to create an adaptive form in AEM 6.1 and our project is done using sightly and not JSP.

To override header and footer We need to create our own template and we cant use OOB Form Templates. So We have created a page component under our project /apps similar to the base component which comes under /libs/fd/af/components/page/base. OOB Form Components use JSPs and since our project has to follow Sightly framework, we need to convert all jsps to htmls. 

OOB component uses below tag library "<%@ taglib prefix="guide" uri="http://www.adobe.com/taglibs/guides/2.0"%>" and there is a below include statement

<guide:includeGuideContainer/>.

I need help to convert this line of code(<guide:includeGuideContainer/>) from JSP To Sightly.

How could I acheive this?

Thanks

2 Replies

Avatar

Employee

Currently, it will be a bit complicated for you. Are  you planning to re-write all the forms components and layouts you would use to sightly ? I would advice you to include this piece of code in a jsp and then include it via https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/master/SPECIFICATION.md#228-include 

I can also help with what this tag does and internals but I am positive it wont be necessary.

Avatar

Level 1
Level 1

Hey I really need help with what this tag does