After completing the configuration, complete the logon page. To write authentication information to the Cookie after login, you must perform a jump. Of course, you can do it without redirection or writing authentication information, but the problem is complicated. It is more appropriate to do simple processing here. In addition, the purpose of writing authentication information is to grant the permission to the Controller through the feature control method.There are two ways to jump one time: on
Ext. data. Store
Ext. data. StoreStore is a storage container that provides record objects for Ext devices. Its behavior and attributes are similar to data tables.
Method: do not list inherited methodsStore (Object config)Constructor. config is defined ...{AutoLoad: Boolean/Object, // automatically loadBaseParams: Object, // meaningful only when httpproxy is used
Main configuration items:
Root: the root node of the tree.
Rootvisible: whether to display the root node. The default value is true.
Usearrows: Specifies whether to use the Vista arrow in the tree. The default value is false.
Lines: whether to display tree lines. The default value is true.
Loader: The loader of the Tree node. The default value is Ext. Tree. treeloader.
Selmodel: Specifies the tree selection mode. The default value is
1. Ext. Grid. gridpanel Main configuration items:Store: Table DatasetColumns: configuration array of table column mode. columnmodel column mode can be automatically created.Autoexpandcolumn: automatically fills the columns that are not used in the table. The parameter is the column ID, and the ID cannot be 0.Striperows: whether the table is color-changing across rows. The default value is false.Cm and colmodel: the column mode of the table. This confi
In Ext, the proxy class is used to exchange data. There are two types: client proxy and server proxy.
Client proxy:
Localstorageproxy
Sessionstorageproxy
Memoryproxy
Server Proxy:
Ajaxproxy
Scripttagproxy
Directproxy
Restproxy
1. localstorageproxy
Note: The localstorageproxy uses the HTML5 localstorage API to store and load data. Data will not be lost if the browser is closed
Example:
Script Type = "Text/JavaScript
Because of their own from Android development to learn web development, recently in the study of JSP, before the touch of a little ExtJS, so use JSP to cooperate with ext test.Ext JS IntroductionExtJS is a JavaScript framework that has the advantage of having its own interface and event handling. We can achieve the function we want according to its syntax, specifically I do not introduce, own Baidu.EXT MVC Structure IntroductionIt's always annoying to
Because of their own from Android development to learn web development, recently in the study of JSP, before the touch of a little ExtJS, so use JSP to cooperate with ext test.Ext JS IntroductionExtJS is a JavaScript framework that has the advantage of having its own interface and event handling. We can achieve the function we want according to its syntax, specifically I do not introduce, own Baidu.EXT MVC Structure IntroductionIt's always annoying to
As an Ajax framework, ext interacts with HTML and Dom and has many operations. The domhelper class plays a very Coupled Role, allowing Hu Yong to operate HTML or DOM transparently through Ext. In this way, you can easily operate ext's element and htmlelement.
1. Ext. Core. domhelper. append ()
Use El to obtain this node and append O to the sub-node of El. If
Ext. ajax. method 1: (marked in red) [javascript] {text: quot; Delete quot;, iconCls: quot; btn-del quot;, scope: this, handler: function () {varfthis. centerPane.
Today, I am working on Ext. Ajax. request ({});. I think the Mask block is required.
Method 1: (marked with red)[Javascript]{Text: "delete ",IconCls: "btn-del ",Scope: this,Handler: function (){Var f = this. centerPanel;Var d = f. getSelectio
Use ext js to generate a dynamic tree
Today, I wrote a demo for my colleagues to use ext js to generate a dynamic tree. Here, I will share it with you for future reference.
I. Requirements
A department tree is required to be generated, and only the root department is listed initially.
When a department node is clicked, It is dynamically loaded into the direct sub-departments under the department, and th
1. Ext. form. description of ExtJS form components supported by FormPanel: Xtype Ext. form. field. checkBox check box checkboxfieldExt. form. checkBoxGroup check box group checkboxgroupExt. form. field. comboBox drop-down list box...
1. Main form components supported by Ext. form. FormPanel
ExtJS form component description XtypeExt. form. field. CheckBox check bo
If you want to use ext recently, let's talk about the configuration process. For the first time, there are no additional steps. I don't know yet. Thank you for your correction.
At the beginning, I also found a lot of items on the Internet, all of which were reposted and reproduced, or I couldn't make it clear. I got it yesterday and finally set up the environment.
Original environment: myeclipse 6.5 + jdk1.6.0 _ 18
Files to be downloaded in this proce
Ext and js details used in the project, extjs details
1. no replaceAll method is available in js, but replace (regex, "") can be used. The first parameter is a regular expression, and the second parameter is string, eg: str. replace (/\ r \ n/g, "*") means to replace all carriage returns.
2. Press enter in textarea to automatically fill \ r \ n, which can be obtained by js, but no \ r \ n is obtained by the server.
3. how to obtain DOM elements using
Doctype HTML public "-// W3C // dtd html 4.01 transitional // en"Http://www.w3.org/TR/html4/loose.dtd"
>
Html
>
Head
>
Meta
HTTP-equiv
= "Content-Type"
Content
= "Text/html; charsets = UTF-8"
>
Title
>
EXT Application
Title
>
Link
REL
= "Stylesheet"
Type
= "Text/CSS"
Href
= "File: // E:/ext8/ext/ resources/CSS/
Before writing each ext component usage, summarize some of the commonly used ext methods in your work. only list some frequently used and occasionally used descriptions. the ext framework encapsulates some situations that we often encounter at work into methods. If you are interested in reading its source code, you will find that the encapsulated statements are n
1. Ext form Ajax submission (default submission method) 1. Function login (item ){
2.
3. If (validatorform ()){
4. // set the logon button to disabled during logon to prevent repeated submission.
5. This. Disabled = true;
6.
7. // The first parameter can be submit or load
8. formpanl. Form. doaction ('submit ',{
9.
10. url: 'user. do? Method = login ',
11.
12. Method: 'post ',
13.
14. // if there are parameters other than the form, you can add them he
Sencha Ext JS is now the world's most advanced and powerful JavaScript application development framework that supports multi-platform and multi-device. First look at the development history of Ext JS.1 Ext JS Development history
Yui-ext's author Jack Slocum (Jack Slocum) intends to make a custom extension to the BSD-based Yahoo User Interface (Yui) libra
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.