some Ext JS 2.3.0 classes do not work on my pc - extjs

I am new to Ext JS. I am trying to develop with Ext JS 2.3.0. I downloaded the BoxSelect extension from http://www.sencha.com/forum/showthre...acebook-s-one) but it doesn't seem to work on my pc. I also realised that the Ext.app.SearchField class does not work on my pc as well. Does any one have any ideas as to why this is happening?
Thanks.

Try with download of the whole set up so that no need of different js file for different activity in ExtJs. http://www.sencha.com/products/extjs/download/ . Even I am new to all this and i am accessing through apache server. Also check with declaration of same files. Please also see version of JS.

Related

Using Maps in Codename One

Can anyone assist me in adding a Map to a Form in Codename One? I've been reading and searching, and can't find an "updated" demo/tutorial on using the library effectively.
IDE - IntelliJ
Build Tool - Maven
The old code works mostly the same as it did. The github project instructions are up to date and should work as expected. Just add the dependency and get the API keys from Google.
Then all you need to do is create a BorderLayout Form and place the map within it. E.g.:
Form mapForm = new Form(new BorderLayout());
mapForm.add(CENTER, mapContainerInstance));
mapForm.show();

Local AngularJS application hosted in WKWebView

I have a hybrid application built using a WKWebView. I have gotten around the loading local files issue, but I am having trouble loading an AngularJS application from local files. I am getting the following error:
Cross origin requests are only supported fro HTTP.
With Android I was able to update setting on the WebView control to allow this from file:// schemes. Is there anything similar that I am missing in iOS? Or another solution?
I am using XCode 6.3 (6D570)
This is a known issue with WKWebView in iOS 8, and I suspect that's why UIWebView remains undeprecated.
I haven't had time to use the betas yet, but my only suggestion is to give the latest Xcode 7/iOS 9 a shot, and use the new WKWebView API
- (WKNavigation * _Nullable)loadFileURL:(NSURL * _Nonnull)URL allowingReadAccessToURL:(NSURL * _Nonnull)readAccessURL
which would ideally let you pull in other HTML files as templates in the readAccessURL that you provide.
Please file any bugs you see in the latest beta. Apple is way too slow to move on the issues in WKWebView.
If you just need the Angular app to work now, then you'll need to switch to UIWebView, which is confirmed to work with angular-based webapps stored on the device.

Forward to jsp from java script method not working for browser

I am using ExtJs 4.2. In my java application I am using the ExtJS calendar (I am using Eclipse Indigo IDE for developement) in one of my JSP.
Now I am getting a pop up to save the event when I click on any date in month format. But I want to display one of my custom JSP when clicked on any day on the ExtJS calendar instead of the pop up which is another JavaScript file.
So I changed in App.js file present in examples/calendar/src folder to get the required JSP. I changed in
showEditWindow : function(rec, animateTarget)
method and instead of the function body where the pop up was coming I wrote the line
window.navigate("my jsp path in eclipse")
It is working fine if I am executing the file in my Tomcat server using Eclipse browser. But if I use any other browser then the functionality is not working (i.e nothing happening when I am clicking on the date).
I am totally new to JavaScript environment. So even if a small or any other suggestion also can be helpful.
So pls anybody help me out here...
Regards
Dev
window.navigate() is an IE specific implementation and its not a standard way of doing it. It will not work on all browsers.
Use window.location.href instead
Instead of window.navigate("my jsp path in eclipse"); ,
Use window.location.href = "my jsp path in eclipse";

extjs grid referesh icons not displaying

I'm using using Extjs 4.0.7 version.
Html editor icon images, grid refresh and paging button images are not displaying.
I checked another working setup, there i found x-tbar-loading class for grid refresh icon
but in the setup i'm using on my system, the above calss is not found. But the css and js files are same as the working setup.
Check to make sure you included the resources shipped with the distribution.
Also there is really no need to hang back to 4.0.7 - lots of issues have been fixed in 4.1.1
I was having the same issue using Ext JS 4.2.1. My application skeleton was created using Sencha CMD. In order to get things working again, I need to rebuild the application using the following commands. It seemed to need both:
sencha app build
sencha app refresh
Not sure of the exact order, but after doing that, I was able to get things working properly.
You need add
Ext.tip.QuickTipManager.init();

Using Extjs in Firefox Extension

I'm developing a Firefox extension, and need to work with an ExtJS component on a page. Has anyone been able to do this? I've loaded the ExtJS Javascript files in my XUL, but doing something like Ext.getCmp('my-button').disable() has no effect. Do I need to somehow configure the Ext object with the document object? Any other suggestions?
Just a shot in the dark but I know when I wrote Selenium testing a while back I had to use window.Ext.getCmp('my-button'). maybe that will work.

Resources