Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for loading form component

A technology for loading tables and forms, applied in the direction of program control devices, program loading/starting, program control design, etc., can solve problems such as low efficiency and complicated process of form components

Pending Publication Date: 2020-10-20
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of this specification provides a method and device for loading a form component, which is used to partially solve the problem in the prior art that when the form data in the form component changes, the developer needs to manually rewrite and edit the form style due to the need to adapt the form style. Publishing the configuration file of the form component makes the process of adjusting the form component in the web page more complicated and inefficient

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 loading form component
  • Method and device for loading form component
  • Method and device for loading form component

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] In order to make the purpose, technical solution and advantages of this specification clearer, the technical solution of this application will be clearly and completely described below in conjunction with specific embodiments of this specification and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the description, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present application.

[0064] The technical solutions provided by various embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0065] figure 1 A process for loading a form component provided by the embodiment of this specification may specifically include the following steps:

[0066] S100: Receive a webpage loading...

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 method and device for loading a form component. The method comprises steps: adopting a server to return a webpage code not containing a form style file according to a webpageloading request sent by a terminal, and then determining each form component in the corresponding webpage according to a first acquisition request sent by the terminal; then for each form component,acquiring form data of the form component, determining a form style file according to the form data, and assembling the form component according to the determined form data and the form style file; and finally, adopting the server to return the assembled form components to the terminal. The form component is returned to the terminal after being assembled through the server, a configuration file does not need to be issued for the form component any more, and the terminal does not need to obtain a form style library. When the form style is adjusted, the server determines the form style file according to the form data, so that manual rewriting and release of the configuration file are avoided, and the adjustment process of the form component in the webpage is simpler and higher in efficiency.

Description

technical field [0001] The present application relates to the field of front-end technology, in particular to a method and device for loading form components. Background technique [0002] Form components are common components in web pages, such as drop-down boxes, input boxes, and check boxes. When a user browses a web page containing a form component through a terminal, the terminal can load the form component in the web page from the server, render and display it, so that the user can operate the form component in the web page. [0003] In the prior art, the loading process of the form component is as follows: firstly, after the terminal sends a webpage loading request to the server, it may receive the webpage code returned by the server. Secondly, according to the received webpage code, the terminal can determine the component identification of each form component included in the webpage code and the general form style library, wherein the form style library is used to ...

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/445G06F16/957G06F16/958
CPCG06F16/957G06F16/958G06F9/44526
Inventor 李君怡严焜杰
Owner BEIJING SANKUAI ONLINE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More