Skip to content

Commit

Permalink
fix: Fix Retrieving Leaderboard App - MEED-8355 - Meeds-io/MIPs#175 (#…
Browse files Browse the repository at this point in the history
…1056)

Prior to this change, the Portlets specific JS in HTTP Headers wasn't
included since the 'jsManager' Tag is built before building the Portlets
content. This change will ensure to build the Portlet Header Markup and
JS dependencies before retrieving the JS Content.
  • Loading branch information
boubaker authored and exo-swf committed Feb 7, 2025
1 parent f191ee7 commit 97df2a8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<%
uicomponent.includePortletScripts();
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<%_ctx.getRequestContext().getMaximizedUIPortlet().processRender(_ctx.getRequestContext());%>
<script type="text/javascript" id="jsManager">
<%=_ctx.getRequestContext().getJavascriptManager().getJavaScripts()%>
</script>
</body>
</html>

0 comments on commit 97df2a8

Please sign in to comment.