. Remember that the ExtJS file field type is Filefield. The bottom work bar of this panel is also a classic left and right space, with a "OK" button laid out in the middle. This button is not available between files that the user does not select.2, photosubmit.phpExtJS upload or not depends on the JSON information printed on this page. This page and "php" File upload and download (click Open link) upload pa
Common Extjs tools: Extjs. util. Format
---------- String
Ext. util. Format. capitalize (string str); // uppercase the first letter.
Ext. util. Format. ellipsis (string value, Number length); // truncates a specified length character. The ellipsis '...' is automatically added to the end '...'
Ext.util.Format.html Encode (string value); // Encode the text
Lowercase (string value); // small write
StripScripts
It is helpful to consolidate the foundation. The Troubleshooting is shown in the following section. direct makes some troubleshooting notes to share with you one by one. If you are interested, you can refer to the occasional tears and finally complete Part of ExtJS.
(If the foundation is solid, it will be helpful. It will be reflected in troubleshooting)
Next we will take some troubleshooting notes on Ext. Direct:
Error 1:
The Code is as follows:
the latest IT technology)3. Network Environment)4. Have the habit of reading the source code (there are various code writing methods in the source code, and how to reuse components, etc ..)Extjs learning problems, really depressed recently want to learn extjs, download the ext-230 on the official website, always don't do well
First, the problem may be that the o
?
13.
Test Framework or test tool
Many third-party testing frameworks, such as Siesta (specifically optimized for ExtJS), Jasmine and Mocha can be used for EXTJS testing
The AngularJS comes with a karma for end-to-end testing. Protractor is the framework for end-to-end testing of Angular apps
Performance
(resp, options ){// Standard JSON string '{"data": [{"msg": "abcd"}]}'Var jsonObj = Ext. util. JSON. decode (resp. responseText );// Display the modal prompt boxExt. Msg. alert ('title', jsonObj. data [0]. msg, function (btn ){// Ext's modal window is very important because it only shields operations, does not block threads, and js does not have threads.// Callback of the button event in the prompt boxAlert (btn); // then run});Alert (1); // execute first}// Failure: function () {...} // option
, reference to the use of ExtJS development MIS system (2): JS dynamic loading.
1.4 Load only once
Do not use IFRAME, if your static content expired do not good, the browser will often bother to download the same thing from the server.
1.5 Add an expiration mark to your JS
Ext-base.js, Ext-all.js can set a very long expiration time, even never expire (if you do not change the
development experts, solving problems naturally faster than ordinary people. In addition to experience, one of the most competent aspects is that it is faster to search for information than ordinary people. Like a martial arts secret, it is usually not very useful to ordinary people. You have to be "advanced" and learn the "internal strength" first ". For extjs, the "Martial Arts secret" is the API document of ex
-all.jsResources ExtJS Run the required resource files, including icons and CSS for these
If you downloaded ExtJS have these non-empty directories, congratulations, at least 80% may prove that you download this ExtJS is not a cottage or castrated version. The ExtJS API
": "abcd"}]}'Var jsonObj = Ext. util. JSON. decode (resp. responseText );// Display the modal prompt boxExt. Msg. alert ('title', jsonObj. data [0]. msg, function (btn ){// Ext's modal window is very important because it only shields operations, does not block threads, and js does not have threads.// Callback of the button event in the prompt boxAlert (btn); // then run});Alert (1); // execute first}// Failure: function () {...} // optional});});Ext's ApiDoc is very good at learning. Do not read
so-called development master, solve this problem is naturally faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats, fall into the ordinary hands of the general is not much use, get "high man", first learn some "internal internal heart heart." For ExtJS, "Martial arts Cheats" is the ExtJS
so-called development master, solve this problem is naturally faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats, fall into the ordinary hands of the general is not much use, get "high man", first learn some "internal internal heart heart." For ExtJS, "Martial arts Cheats" is the ExtJS
so-called development master, solve this problem is naturally faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats, fall into the ordinary hands of the general is not much use, get "high man", first learn some "internal internal heart heart." For ExtJS, "Martial arts Cheats" is the ExtJS
I believe that many people have a big idea about client-side programming using js. In fact, there are already many excellent js libraries that can greatly simplify the workload of js programming, jquery and extjs are two excellent js libraries. I have used jquery frequently in projects. This time I mainly learned how to use extjs, but the existing tutorials are basically for 2.0, and the background language
faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats. It is not very useful to fall into the hands of ordinary people. To "Gao", first learn some "internal internal heart heart."For ExtJS, "Martial arts Cheats" is the ExtJS API documentation. So, learning
-called development master. It is natural to solve this problem faster than ordinary people. Apart from experience. The most important aspect of the ability is to find information faster than ordinary people.Like a martial arts cheats, fall into the hands of ordinary people are generally not much use, to "high-skilled" to help. Learn some "internal internal heart Heart" first. For ExtJS, "Martial arts Cheats" is the
Spket is best used, and it also supports ext. It is easy to install ..... 1. Choose Help> Software Updates> Find and Install... -> Search for new features to install-> New remote site...
Name: "Spket", Url: "http://www.spket.com/update/" Download complete restart Eclipse
2. Window-> Preferences-> Spket-> JavaScript Profiles-> New;
Enter ExtJS and click OK;
Select "E
so-called development master, solve this problem is naturally faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats, fall into the ordinary hands of the general is not much use, get "high man", first learn some "internal internal heart heart." For ExtJS, "Martial arts Cheats" is the ExtJS
so-called development master, solve this problem is naturally faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats, fall into the ordinary hands of the general is not much use, get "high man", first learn some "internal internal heart heart." For ExtJS, "Martial arts Cheats" is the ExtJS
so-called development master, solve this problem is naturally faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats, fall into the ordinary hands of the general is not much use, get "high man", first learn some "internal internal heart heart." For ExtJS, "Martial arts Cheats" is the ExtJS
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.