Method and device for encapsulating extjs component, and method and system for generating user interface

A technology of user interface and encapsulation method, which is applied in the field of data processing, can solve problems such as increasing the difficulty of code reuse and difficult to determine code segments, and achieve the effects of easy understanding, saving development time, and reducing development difficulty

Active Publication Date: 2011-05-04
AGRICULTURAL BANK OF CHINA
View PDF1 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the creation or generation method of the user interface is based on the components provided by the extjs framework, directly written to the JavaScript code, and the corresponding user interface is generated by calling the extjs component by running the code. However, because the components provided by the extjs framework are not fixed Due to the use of templates or res

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for encapsulating extjs component, and method and system for generating user interface
  • Method and device for encapsulating extjs component, and method and system for generating user interface
  • Method and device for encapsulating extjs component, and method and system for generating user interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order for those skilled in the art to further understand the features and technical content of the present invention, please refer to the following detailed description of the present invention and the accompanying drawings.

[0054] The technical solutions of the present invention will be described below with reference to the accompanying drawings and embodiments.

[0055] see figure 1 , which is a flowchart of a method for encapsulating an extjs component according to an embodiment of the present invention.

[0056] The method can include:

[0057] Step 101, determine the name and function parameters of the extjs component.

[0058] In this embodiment, the extjs component that needs to generate a label is first determined, and the name and function parameters of the component are determined. The text box component is used for description, the name is text box, and the function parameters are used to characterize the text box. The parameters of the function can b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device for encapsulating an extjs component, and a method and a system for generating a user interface. The method for encapsulating the extjs component comprises the following steps of: determining a name and a functional parameter of the extjs component; and according to a tag library descriptor generating rule, generating a jsp (java server pages) tag of the extjs component with the functional parameter so as to encapsulate the extjs component, wherein the name of the jsp tag corresponds to the name of the extjs component. In the embodiment of the invention, the complex extjs component is encapsulated to be the simple and easy-to-use jsp tag by generating the jsp tag corresponding to the extjs component; and a complex page logic code is encapsulated, so that the code can be reused simply. The invention is convenient to use and easy to understand, meets complex and changeful interface display requirements of application systems such as banking industry and the like, saves development time, reduces development difficulty and completely supports the front-end development of information systems.

Description

technical field [0001] The invention relates to the technical field of data processing, and in particular, to a method and device for encapsulating an extjs component, and a method and system for generating a user interface. Background technique [0002] extjs is a powerful js class library, mainly used to create front-end user interfaces. It organizes visual components by referring to mechanisms such as JavaSwing. From the application of CSS styles on UI interfaces to exception handling in data parsing, it can be regarded as a A rare gem of JavaScript client-side technology. [0003] In the prior art, the method for creating or generating the user interface is to directly write the JavaScript code according to the component provided by the extjs framework, and call the extjs component by running the code to generate the corresponding user interface. However, because the components provided by the extjs framework are not fixed There may be multiple ways of writing a user in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 杨鹏朱玥邹德庆
Owner AGRICULTURAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products