<#import "../../common/components/iframe-module-macro.ftl" as iframeModuleMacro/>
<div class="imc-content--full-width-block"><#if pageModelMap.modelMapData.module.iFrameModule?? && pageModelMap.modelMapData.module.iFrameModule?has_content><@iframeModuleMacro.displayIframeModule iFrameModule=pageModelMap.modelMapData.module.iFrameModule/></#if></div>
<#include "../imports.ftl"><#macro displayIframeModule iFrameModule><#if iFrameModule??><!-- Vertical Rhythm --><#assign marginBottom="xlarge" > <#--[none, micro, xxsmall, xsmall, small, mediumsmall, medium, large, xlarge, xxlarge, xxxlarge, jumbo, collosal]--><#if marginBottom != "none" ><#assign verticalRhythmClass="imc-vr--${marginBottom}"><#else><#assign verticalRhythmClass=""></#if><#assign iframePath = iFrameModule.sourceUrl/><#assign dataXpath = "IFrame Integration" > <!-- This will be updated once Page metadata component is set and picked from those values--><section class="imc-section imc-content imc-section--padded imc-content--border ${verticalRhythmClass}" data-xpath="${dataXpath}" ><iframe src="${iframePath}" height="615px"></iframe></section></#if></#macro>
<#import "../../common/components/iframe-module-macro.ftl" as iFrameMacro/><@iFrameMacro.displayIframeModule iFrameModule=moduleBean.modelMapData.module />
[WARNING] [talledLocalContainer] 12:54:15 WARN [HstFreemarkerServlet] When calling macro "displayIframeModule", required parameter "iFrameModule" (parameter #1) was specified, but had null/missing value.[INFO] [talledLocalContainer][INFO] [talledLocalContainer] ----[INFO] [talledLocalContainer] Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue.[INFO] [talledLocalContainer] ----[INFO] [talledLocalContainer][INFO] [talledLocalContainer] ----[INFO] [talledLocalContainer] FTL stack trace ("~" means nesting-related):[INFO] [talledLocalContainer] - Failed at: #macro displayIframeModule iFrameModule [in template "webfile:/freemarker/common/components/iframe-module-macro.ftl" in macro "displayIframeModule" at line 2, column 1][INFO] [talledLocalContainer] - Reached through: @iframeModuleMacro.displayIframeModul... [in template "webfile:/freemarker/portal/pages/dashboard-page.ftl"at line 25, column 17]
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
LOGS-[WARNING] [talledLocalContainer] 12:54:15 WARN [HstFreemarkerServlet] When calling macro "displayIframeModule", required parameter "iFrameModule" (parameter #1) was specified, but had null/missing value.[INFO] [talledLocalContainer][INFO] [talledLocalContainer] ----[INFO] [talledLocalContainer] Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue.[INFO] [talledLocalContainer] ----[INFO] [talledLocalContainer][INFO] [talledLocalContainer] ----[INFO] [talledLocalContainer] FTL stack trace ("~" means nesting-related):[INFO] [talledLocalContainer] - Failed at: #macro displayIframeModule iFrameModule [in template "webfile:/freemarker/common/components/iframe-module-macro.ftl" in macro "displayIframeModule" at line 2, column 1][INFO] [talledLocalContainer] - Reached through: @iframeModuleMacro.displayIframeModul... [in template "webfile:/freemarker/portal/pages/dashboard-page.ftl"at line 25, column 17]PS: I can read all the other modules in the document , except this oneAny idea why this could happen?? I've been tearing my hair over this for days now and its been in vain.
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
pageModelMap.modelMapData.module.IFrameModule (Correct one)
@HippoEssentialsGenerated(internalName = "imc:iFrameModule")@Node(jcrType = "imc:iFrameModule")public class IFrameModule extends AbstractHandlerModule { }
Hi All,I pin pointed the error.I had been using the pageModelMap.modelMapData.module.IFrameModule with a smaill "i" instead of capital "I".<@iframeModuleMacro.displayIframeModule iFrameModule=pageModelMap.modelMapData.module.iFrameModule/>instead ofpageModelMap.modelMapData.module.IFrameModule (Correct one)
Which is strange since the class' insternal name starts with a small "i"@HippoEssentialsGenerated(internalName = "imc:iFrameModule")@Node(jcrType = "imc:iFrameModule")public class IFrameModule extends AbstractHandlerModule { }Perhaps some issue with name resolutions of modules starting with "i".oh well..Thanks @Jeroen and @Woonsan
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.