AnsweredAssumed Answered

Use YUI2 component within aikau page

Question asked by christianjanker on Nov 10, 2014
Latest reply on Nov 12, 2014 by christianjanker
Hey all,

I tried to load a YUI2 - Widget within an aikau page but the YUI component does not render. The other way around it works just fine. (Loading a Dojo Component within a page template mixing yui2 and dojo components, e.g share-header)

This is what i have tried:

simple-page.get.html.ftl:

<@markup id="js">
   <@script type="text/javascript" src="http://localhost:8083/share/js/example/widgets/YahooWidget.js" group="dashlets"/>  <!– :D –>
</@>

<@markup id="widgets">
   <@createWidgets group="dashlets"/>
</@>

<@processJsonModel group="share"/>

<@markup id="html">
   <div id="aikau-widget"></div>
   <div id="yui-widget"></div>
</@>


May someone else tried this too and can give me a hint.

thx
Christian

Outcomes