Expand my Community achievements bar.

SOLVED

Issue while using CQ.Ext.Msg.alert('Hello', 'Welcome to ExtJS');

Avatar

Community Advisor

Hi,

I'm trying to use  CQ.Ext.Msg.alert('Hello', 'Welcome to ExtJS');  in jsp, but I see below error in the firebug.

ReferenceError: CQ is not defined

<html>

  <head>

        <script>

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

        </script>

  </head>

  <body>

  testing...

  </body>

</html>

 

It would be great if some one can correct me if any thing wrong...

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

You need to include the library

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You need to include the library