Unlock instant, AI-driven research and patent intelligence for your innovation.

How to use custom tag tags based on input tags

A label customization and labeling technology, which is applied in the field of java web application development, can solve problems such as code duplication and maintenance difficulties, and achieve the effects of easy maintenance, reduced repetitive work, and strong scalability

Active Publication Date: 2018-11-02
NANJING NARI GROUP CORP +2
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to overcome the problems of a large number of verification codes for input tags, event response methods and a series of foreground behavior codes, repeated codes, and difficult maintenance in the development of java web applications

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
  • How to use custom tag tags based on input tags

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be further described below in conjunction with the accompanying drawings.

[0018] Compared with traditional solutions, the method for using custom tag tags based on input tags of the present invention has lower requirements for developers. Developers don't need to be familiar with html and css, and they can even know nothing about style sheets. More time to pay attention to the realization of business logic, instead of paying attention to the behavior and view of the page. By separating and encapsulating all the public behaviors of input tags, and opening up the interface of custom behaviors, that is, reducing unnecessary repetitive work, At the same time, it has the ability to meet specific needs and has strong scalability. The label attributes can be expanded; the behavior can be expanded; the embedded block dom structure makes the style also expandable. At the same time, the cost of extension is relatively low, and it is easy to maintain. ...

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 an input tags-based application method of custom tags. The method comprises the following steps: (1) extracting all input tags in a front page of a Java web application and extracting html structures around various input tags respectively to form embeddable and independent html document structures; (2) carrying out secondary encapsulation on the extracted all input tags respectively to form the tags; (3) encapsulating the embeddable and independent html document structures and encapsulating a css style therein; (4) embedding the tags into the corresponding encapsulated embeddable and independent html document structures; and (5) reintroducing the embeddable and independent html document structures of the embedded tags into the front page of the Java web application through a taglib instruction. The application method disclosed by the invention is low in development requirements, convenient to expand and easy to maintain, and has a good application prospect.

Description

technical field [0001] The invention relates to the technical field of java web application development, in particular to a method for using custom tags based on input tags. Background technique [0002] In java web application development, jsp (java server page) is the core part of interacting with users and is extremely important. It carries the user-oriented exit of the application and also carries the user-oriented application entry work. One of the most frequent tabs, it hosts the most data interaction work with users. [0003] In the traditional MVC mode, the view layer usually uses the input tag in the form form to receive user input, interacts with the control layer through servlets or other frameworks, implements validation and other behaviors through ajax or other javascript codes, and interacts with data through the model layer to interact. Therefore, in the foreground, there will be a large number of verification codes for input tags, event response methods, an...

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 Patents(China)
IPC IPC(8): G06F8/20
CPCG06F8/315
Inventor 罗黎明施建华胡超周波高寿陈章国胡晓祥葛艺晓高嵩温柏坚余志文苏扬邓大为张聪周安
Owner NANJING NARI GROUP CORP