Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Need help in Exjs

$
0
0

Hi Team,

 

I am very new to ExtJs. I have tried to display one alert box in my page. So I' ve created one component to test my extjs code. But that alert box has not come in adobe cq5.

 

Here is my code.

 

<%-- Test component. Test--%>

<%@include file="/libs/foundation/global.jsp"%>

<%@page session="false" %>

<html>

  <head>

        <script>

            Ext.onReady(function(){

                Ext.MessageBox.alert('Hello', 'Welcome to ExtJS');

            });

         </script>

  </head>

  <body>

  testing...

  </body>

</html>

 

Do i need to include ext-base.js and ext-all-debug.js in my header part? Is there any cq releated extjs methods are there in cq?

 

Regards,

Anderson


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>