Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A realization method of paging datatable control customized based on struts2 technology

An implementation method and a self-defined technology, applied in the direction of program control devices, etc., can solve problems such as affecting development speed, low code sharing, and large data volume, and achieve the effects of convenient automatic processing, improved execution efficiency, and high efficiency

Inactive Publication Date: 2011-11-30
SHENZHEN CLOU ELECTRONICS
View PDF2 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Over the years, during the development and implementation of power system projects, WEB systems have become more and more widely used. In WEB systems, it is often necessary to display and output various data in tabular form on the page. These data tables are not the same, and The large amount of data causes developers to spend more time processing the data output and display on each page, which affects the development speed, and the code sharing is not high

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
  • A realization method of paging datatable control customized based on struts2 technology
  • A realization method of paging datatable control customized based on struts2 technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further described in detail below with reference to the drawings and specific embodiments.

[0017] Such as figure 1 As shown, an implementation method of a custom paging dataTable control based on struts2 technology includes the following steps:

[0018] S1: Create a standard XML format tld tag file through a text creation module, and store the tld tag file in the memory. The tld tag file contains the declaration of the custom tag. The declaration indicates the name of the tag and the implementation of the tag Attribute information of class and label. Among them, the defined tags include data body, whether to paging, and whether to request for Ajax paging.

[0019] S2: The JSP page uses the data Table control. According to the regulations of the tld label file, the JSP page references the data Table control and sets the attributes of the label. When the JSP page references the data Table control, the data Table control is referenced according ...

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 discloses a realization method of a self-defined pagination dataTable control based on struts2 technology, which is characterized in that it comprises the following steps: 1. Create a standard XML format tld tag file through a text creation module; 2. Use the JSP page dataTable control; 3. The data queried by the server is encapsulated into a data list by the encapsulation module; 4. When the server parses the page referencing the dataTable control; 5. After the parsing is completed, the JSP page will automatically reference the CSS style file of the dataTable control, Control the style of the output content, and at the same time refer to the JS file to perform Ajax request processing for data paging, and realize partial redrawing of the page to improve the execution efficiency of the system. The implementation method is very convenient and efficient, and makes the automatic processing of data more convenient and more efficient.

Description

Technical field [0001] The invention relates to the field of system development and application of the WEB technology based on Struts2, in particular to the realization method of a custom paging dataTable control based on the struts2 technology. Background technique [0002] Over the years, in the development and implementation of power system projects, the application of WEB systems has become more and more extensive. In WEB systems, various data are often displayed and output in tabular form on the page. These data tables are not the same. The large amount of data causes developers to spend more time processing on the data output and display of each page, which affects the development speed, and the degree of code sharing is not high. Summary of the invention [0003] The purpose of the present invention is to provide a method for implementing a custom paging dataTable control based on the struts2 technology. This implementation method is very convenient and efficient, and make...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 杨忠
Owner SHENZHEN CLOU ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products