Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8402839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:10:43+00:00 2026-06-09T22:10:43+00:00

I went through the docs to find for a Ext.example.msg but, i am unable

  • 0

I went through the docs to find for a Ext.example.msg but, i am unable to find it.

According to this example, they have successfully used Ext.example.msg. How is this ?

I had another question on SO which is related to this.

UPDATE

I am trying to use the following code in my application;

Ext.example.msg('Button Click', 'You clicked ta button');

When i execute the code, i get an error saying TypeError: Ext.example is undefined .

To overcome this error i did the following;

1.) added <script type="text/javascript" src="app/extjs/examples/shared/examples.js"/> in my app.html file

2.) added the following in my app.js file

Ext.Loader.setPath('Ext.example', 'app/extjs/examples/shared');

Ext.require(['Ext.container.Viewport',
'Ext.example.*']
); 

None of the above methods works, i still get the same error message.

My project folder structure is as follows;

Project_Name
->app (folder)
--> app.html
--> app.js
--> extjs
  ---> examples
     ---->shared
         ----->example.js
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:10:44+00:00Added an answer on June 9, 2026 at 10:10 pm

    When you include your js script in you index.html, as you did in 1:

    <script type="text/javascript" src="app/extjs/examples/shared/examples.js"/>
    

    You no longer need loader or to require it – you have explicitly included it and it is clear the script content will be in scope.

    It appear to me your path is incorrect: There’s no app/extjs and it would make sense to have the extjs folder as sibling to that of your app. Thus this should work:

    <script type="text/javascript" src="extjs/examples/shared/examples.js"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I went through answers on similar topics here on SO but could't find a
I went through this excellent tutorial of google https://developers.google.com/maps/articles/phpsqlsearch but i din't understand the
I went through all the posts on reflection but couldn't find the answer to
I went through these instructions: http://docs.amazonwebservices.com/AmazonRDS/latest/GettingStartedGuide/ But still can't connect to the database using
I went through the process of setting this up once, but now I need
I went through a lot of answers for this question.But it's all about single
I went through many links like this , this and this , but not
I went through this post. Detect Click into Iframe using JavaScript But still, I
I went through this whole procedure http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx a couple weeks ago and got https
I went through the example from apple MoviePlayer on iPhone Im trying to overlay

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.