Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now