Expand my Community achievements bar.

SOLVED

Adaptive Forms 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

1 Accepted Solution

Avatar

Correct answer by
Employee

Sightly support inclusion of jsp file as part of Sightly templates. So you'll need to move this statement to another jsp file and include that jsp file in sightly.

View solution in original post

2 Replies

Avatar

Level 10

 Please do not to try and rewrite AEM Forms into Sightly. This has to be another way.  I will check with the Forms team

Avatar

Correct answer by
Employee

Sightly support inclusion of jsp file as part of Sightly templates. So you'll need to move this statement to another jsp file and include that jsp file in sightly.