I am quite new here. Bear with me please.
I try to create a custom document page with an eForm inside. This eForm will be a link based on the compound document element. Issue that I get, the instance when I get it on the ftl, it FormBean(com.onehippo.cms7.eforms.hst.beans.FormBean) instead of Form (com.onehippo.cms7.eforms.hst.model.Form).
As I need it to be com.onehippo.cms7.eforms.hst.model.Form, I tried to cast it using below on my ftl but seems didn’t work.
<#-- @ftlvariable name=“document.sectionContact.contactForm.form” type=“com.onehippo.cms7.eforms.hst.model.Form” -->
Please advise. Thank you!