Adaptive Form using sightly

epcycindarella 11-03-2016

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

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)

mandeepg6805152
Employee
25-03-2016

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.