CN1516039A - List form for writing web page list and its control method - Google Patents

List form for writing web page list and its control method Download PDF

Info

Publication number
CN1516039A
CN1516039A CNA031010121A CN03101012A CN1516039A CN 1516039 A CN1516039 A CN 1516039A CN A031010121 A CNA031010121 A CN A031010121A CN 03101012 A CN03101012 A CN 03101012A CN 1516039 A CN1516039 A CN 1516039A
Authority
CN
China
Prior art keywords
layer
main stor
web page
title
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA031010121A
Other languages
Chinese (zh)
Inventor
刘文涵
宋建福
李智
刘军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CNA031010121A priority Critical patent/CN1516039A/en
Publication of CN1516039A publication Critical patent/CN1516039A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The present invention relates to a table establishment for writing web page table and its control method. The table component and table attribute for controlling table display condition can be made into a table component list by adopting classification establishment mode, then the table component list can be used to make inquiry, then according to the inquiry result the table dynamic establishment and control can be implemented so as to attain the goal of dynamically editing and displaying table component.

Description

Being used in form that web page form writes builds and puts and control method
Technical field
The present invention relates to the method that a kind of web page form is write, particularly a kind ofly be used in form that web page form writes and build and put and control method.
Background technology
In at present popular webpage design, the developer usually can design some forms and reach the purpose of carrying out information interaction with the user.And traditional form method for designing can be called " static form design ", that is to say, the developer is according to user's request, and the display position of all form component is write among the source code Code regularly.In case the user changes the demand that form shows, the developer can only revise source code.In addition, also exist form to compile the problem of aspect, promptly tradition is edited the problem of webpage, traditional writing in the web page form case, the author often need be by the function of preview, inspect the result that program is carried out, but, the author have problem to exist when realizing, or the pattern that shows of form is can not fully show the demonstration purpose of this form the time, when desiring to carry out the mode altering of this form demonstration, write in the flow process at traditional form, the action of seeking problem points is loaded down with trivial details often and time-consuming, therefore rebulid a cover and can search and change the method for form coding fast, in the field that web page form is write, have its practicality to exist really.
Summary of the invention
Problem in view of above known technology, the invention provides and a kind ofly be used in form that web page form writes and build and put and control method, be form component and the form attributes that the control form is shown situation, mode with classification foundation, make a form component tabulation, and according to this form component tabulation is inquired about, carry out form according to this Query Result and dynamically build and put and control, to reach dynamic editing and to show the purpose of form component.
The object of the present invention is to provide a kind ofly to be used in form that web page form writes and to build and put and control method, by the operation of this method, to reach dynamic editing and the purpose that shows form component.
Therefore for reaching above-mentioned purpose, the invention provides a kind of form set-up method that web page form is write that is used in, based on computing machine, is by the content of writing the form component tabulation, builds the method for putting the form component tabulation, and this method comprises the following step:
List a form component;
Give a form component attribute according to this form component; And
According to this form component and the tabulation of this form component attribute construction one form component.
This form component attribute is in order to control the demonstration situation of a form.
This form component also comprises form numbering, form name, a display type, corresponding data, a form display Name, a main stor(e)y title and a demonstration Control Component.
This display type comprises that a single line text is imported, a drop-down tabulation type, a check box type and a multirow literal are imported.
This corresponding data is to be provided by a database.
This demonstration Control Component is to monopolize delegation's demonstration in order to control a sublayer.
This main stor(e)y title is in order to control the display result of this layer project.
The demonstration of program code control web page form is also given in this form component tabulation.
A kind ofly be used in the form control method that web page form is write, this method is the setting by the main stor(e)y title of the main stor(e)y title of a layer and an anterior layer, controls web page form and shows, the method for this control web page form demonstration comprises the following step:
Read the main stor(e)y title of this this layer and the main stor(e)y title of this anterior layer;
Judge the main stor(e)y title of the main stor(e)y title of this this layer and this anterior layer and send an idsplay order; And
Carry out a display result of this layer according to this idsplay order.
The main stor(e)y name that the main stor(e)y name of this this layer is called blank and this anterior layer is called blank, promptly shows this layer project.
The main stor(e)y name that the main stor(e)y name of this this layer is called not blank and this anterior layer is called blank, promptly shows the main stor(e)y title of this layer earlier, shows the sublayer project again.
The main stor(e)y name that the main stor(e)y name of this this layer is called blank and this anterior layer is called not blank, promptly eliminates the main stor(e)y title of the sublayer project of anterior layer earlier, shows this layer project again.
The main stor(e)y name that the main stor(e)y name of this this layer is called not blank and this anterior layer is called not blank, and the main stor(e)y title of this this layer equals the main stor(e)y title of this anterior layer, promptly shows the sublayer project of this layer.
The main stor(e)y name that the main stor(e)y name of this this layer is called not blank and this anterior layer is called not blank, and the main stor(e)y title of this this layer is not equal to the main stor(e)y title of this anterior layer, promptly eliminate the main stor(e)y title of the sublayer project of anterior layer earlier, line feed shows the main stor(e)y title of this layer and shows the first sublayer project again.
Description of drawings
Fig. 1 is a form component tabulation organizational system process flow diagram of the present invention;
Fig. 2 is the process flow diagram that control form of the present invention shows;
Fig. 3 monopolizes delegation's displayed map for the sublayer of the embodiment of the invention;
Fig. 4 is the displayed map 1 of the embodiment of the invention;
Fig. 5 is the displayed map 2 of the embodiment of the invention;
Fig. 6 is the displayed map 3 of the embodiment of the invention;
Fig. 7 is the displayed map 4 of the embodiment of the invention; And
Fig. 8 is the displayed map 5 of the embodiment of the invention.
Embodiment
A kind ofly be used in form that web page form writes and build and put and control method, be form component and the form attributes that the control form is shown situation, mode with classification foundation, make a form component tabulation, and according to this form component tabulation is inquired about, is edited, with dynamic editing with show the method for form component.And and then reach and quicken to finish web page form and write and the result of change easily.
Therefore for reaching above-mentioned purpose and result, must set up this form component tabulation in advance, and, can describe by Fig. 1 form component tabulation of the present invention organizational system process flow diagram as for how setting up this form component tabulation; In Fig. 1, the tabulation of form component of organizational system before, must list form component (step 110) earlier; And this form component includes form numbering (Item ID), form name (Item Name), display type (Show Type), corresponding data (Item Type), form display Name (Show Name), main stor(e)y title (Parent ID) and shows Control Component attributes such as (as: Long Text).
Wherein form numbering (Item ID) and form name (Item Name) are in order to distinguish different form component tabulations; Display type (Show Type), the display type in order to decision web page form project includes single line text imported (Text), drop-down list type (List), check box type (Check) and the imported types such as (Area) of multirow literal; Corresponding data (Item Type), when display type (Show Type) was drop-down list type (List) or check box type (Check), the information that is provided according to corresponding data (Item Type) captured corresponding data and uses to database; Form display Name (Show Name) is responsible for the shown title of this web page form project of control; Main stor(e)y title (Parent ID), when this web page form project was a sublayer project, the main stor(e)y project of this sublayer project was promptly inserted this hurdle, with as the usefulness that shows judgement; Show Control Component (as: Long Text), be responsible for control web page form project and whether monopolize delegation's demonstration.
After form component was listed, the author then must give its form component attribute (step 120) respectively according to listed form component; System is after the input of obtaining the author, promptly according to a form component of being imported and a form component tabulation of form component attribute construction (step 130); And pattern repeats the form component tabulation of construction web page form project according to this, to finish whole web page form.A program code is also given in above-mentioned form component tabulation, in order to the demonstration of control web page form.
In method operation of the present invention, mainly be to tabulate by the form component that is compiled into to control the display result of a web page form project, wherein mainly in order to display type (Show Type), the main stor(e)y title (Parent ID) of the form component of control display result and show Control Component (as: Long Text); Display type (Show Type) has illustrated its major control table entries purpose display type in front, and show that Control Component (as: Long Text) illustrates also in front whether its major function system monopolizes delegation in order to control web page form project and show, if this is for swashing the reviver in the form component tabulation, promptly control this web page form project and present, monopolize as the sublayer of Fig. 3 embodiment of the invention and be the situation that after this form component property control, shows shown in delegation's displayed map in the mode of monopolizing delegation.
Be is main stor(e)y title (Parent ID) though also that why is its judgment model as the usefulness that shows judgement in addition? now described in detail it with regard to this part.
Web page form is when showing, more than one form project is often arranged, method of the present invention, main promptly is by form project settings attribute of preceding one deck and the form project settings attribute of this layer, decide the display result of this layer, as shown in Figure 2, when system reads the main stor(e)y title (Current Parent ID) (step 210) of the main stor(e)y title (Parent ID) of this layer and anterior layer; System promptly carries out the judgement (step 220) of main stor(e)y title (ParentID) of this layer and the main stor(e)y title of anterior layer (Current Parent ID) to send an idsplay order; System carries out the display result (step 230) of this layer again according to idsplay order then; Wherein when the main stor(e)y title (Parent ID) of this layer when being blank no datat, and when the main stor(e)y title of anterior layer (Current Parent ID) also is blank no datat, system is promptly according to the setting attribute in the form component tabulation of this layer, show this layer project, shown in Figure 1 as the demonstration of Fig. 2 embodiment of the invention.
If the main stor(e)y title (Parent ID) of this layer is not for blank when data are arranged, and when the main stor(e)y title of anterior layer (Current Parent ID) is blank no datat, system is promptly according to the setting attribute in the form component tabulation of this layer, the main stor(e)y title that shows this layer earlier, show the sublayer project of this layer again, shown in Figure 2 as the demonstration of Fig. 5 embodiment of the invention.
When if the main stor(e)y title (Parent ID) of this layer is blank no datat, and the main stor(e)y title of anterior layer (Current Parent ID) is not for blank when data are arranged, system is promptly according to the setting attribute in the form component tabulation of this layer, the main stor(e)y title of sublayer project before eliminating earlier, show this layer project again, shown in Figure 3 as the demonstration of Fig. 6 embodiment of the invention.
If the main stor(e)y title (Parent ID) of this layer is not for blank when data are arranged, and the main stor(e)y title of anterior layer (Current Parent ID) is not for blank when data are arranged, and wherein the main stor(e)y title of this this layer (Parent ID) more with the main stor(e)y title (Current Parent ID) of this anterior layer when equating, system is promptly according to the setting attribute in the form component tabulation of this layer, directly show the sublayer project of this layer, shown in Figure 4 as the demonstration of Fig. 7 embodiment of the invention.
If the main stor(e)y title (Parent ID) of this layer is not for blank when data are arranged, and the main stor(e)y title of anterior layer (Current Parent ID) is not for blank when data are arranged, and when wherein the main stor(e)y title (Current Parent ID) of the main stor(e)y title of this this layer (Parent ID) and this anterior layer is unequal, system is promptly according to the setting attribute in the form component tabulation of this layer, after eliminating the main stor(e)y title of preceding sublayer project, line feed shows the main stor(e)y title (Parent ID) of this layer and shows the first sublayer project again, and is shown in Figure 5 as the demonstration of Fig. 8 embodiment of the invention.
Therefore show after the control of the attribute of form component of situation and other Control Component by above-mentioned three major control form projects, the person can control the display result of this web page form project more easily to write the web page form, can also compile the part of desiring to carry out the change of form project fast by method of the present invention, quicken to finish the result that web page form is write and change easily to reach.
The above person only is this creation preferred embodiment wherein, is not the practical range that is used for limiting this creation; Be that the equalization that Fan Yiben creation claim is done changes and modification, be all this creation claim and contain.

Claims (14)

1, a kind ofly being used in the form set-up method that web page form is write, based on computing machine, is by the content of writing the form component tabulation, builds the method for putting the form component tabulation, and this method comprises the following step:
List a form component;
Give a form component attribute according to this form component; And
According to this form component and the tabulation of this form component attribute construction one form component.
2, as claimed in claim 1ly be used in the form set-up method that web page form is write, it is characterized in that this form component attribute is in order to control the demonstration situation of a form.
3, as claimed in claim 1ly be used in the form set-up method that web page form is write, it is characterized in that this form component also comprises form numbering, form name, a display type, corresponding data, a form display Name, a main stor(e)y title and and shows Control Component.
4, as claimed in claim 3ly be used in the form set-up method that web page form is write, it is characterized in that this display type comprises that a single line text is imported, a drop-down tabulation type, a check box type and a multirow literal be imported.
5, as claimed in claim 3ly be used in the form set-up method that web page form is write, it is characterized in that this corresponding data is to be provided by a database.
6, as claimed in claim 3ly be used in the form set-up method that web page form is write, it is characterized in that this demonstration Control Component is to monopolize delegation and show in order to control a sublayer.
7, as claimed in claim 3ly be used in the form set-up method that web page form is write, it is characterized in that this main stor(e)y title is in order to control the display result of this layer project.
8, as claimed in claim 1ly be used in the form set-up method that web page form is write, it is characterized in that the demonstration that program code control web page form is also given in this form component tabulation.
9, a kind ofly be used in the form control method that web page form is write, this method is the setting by the main stor(e)y title of the main stor(e)y title of a layer and an anterior layer, controls web page form and shows, the method for this control web page form demonstration comprises the following step:
Read the main stor(e)y title of this this layer and the main stor(e)y title of this anterior layer;
Judge the main stor(e)y title of the main stor(e)y title of this this layer and this anterior layer and send an idsplay order; And
Carry out a display result of this layer according to this idsplay order.
10, as claimed in claim 9ly be used in the form control method that web page form is write, the main stor(e)y name that the main stor(e)y name that it is characterized in that this this layer is called blank and this anterior layer is called blank, promptly shows this layer project.
11, as claimed in claim 9ly be used in the form control method that web page form is write, the main stor(e)y name that the main stor(e)y name that it is characterized in that this this layer is called not blank and this anterior layer is called blank, promptly shows the main stor(e)y title of this layer earlier, shows the sublayer project again.
12, as claimed in claim 9ly be used in the form control method that web page form is write, the main stor(e)y name that the main stor(e)y name that it is characterized in that this this layer is called blank and this anterior layer is called not blank, promptly eliminate the main stor(e)y title of the sublayer project of anterior layer earlier, show this layer project again.
13, as claimed in claim 9ly be used in the form control method that web page form is write, the main stor(e)y name that the main stor(e)y name that it is characterized in that this this layer is called not blank and this anterior layer is called not blank, and the main stor(e)y title of this this layer equals the main stor(e)y title of this anterior layer, promptly shows the sublayer project of this layer.
14, as claimed in claim 9ly be used in the form control method that web page form is write, the main stor(e)y name that the main stor(e)y name that it is characterized in that this this layer is called not blank and this anterior layer is called not blank, and the main stor(e)y title of this this layer is not equal to the main stor(e)y title of this anterior layer, promptly eliminate the main stor(e)y title of the sublayer project of anterior layer earlier, line feed shows the main stor(e)y title of this layer and shows the first sublayer project again.
CNA031010121A 2003-01-06 2003-01-06 List form for writing web page list and its control method Pending CN1516039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA031010121A CN1516039A (en) 2003-01-06 2003-01-06 List form for writing web page list and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA031010121A CN1516039A (en) 2003-01-06 2003-01-06 List form for writing web page list and its control method

Publications (1)

Publication Number Publication Date
CN1516039A true CN1516039A (en) 2004-07-28

Family

ID=34239026

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA031010121A Pending CN1516039A (en) 2003-01-06 2003-01-06 List form for writing web page list and its control method

Country Status (1)

Country Link
CN (1) CN1516039A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006092102A1 (en) * 2005-03-04 2006-09-08 Huawei Technologies Co., Ltd. A method for backfilling the page layout information based on the web page
CN110569469A (en) * 2019-09-06 2019-12-13 四川长虹电器股份有限公司 Method for dynamically generating HTML (hypertext markup language) form based on data configuration

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006092102A1 (en) * 2005-03-04 2006-09-08 Huawei Technologies Co., Ltd. A method for backfilling the page layout information based on the web page
CN110569469A (en) * 2019-09-06 2019-12-13 四川长虹电器股份有限公司 Method for dynamically generating HTML (hypertext markup language) form based on data configuration
CN110569469B (en) * 2019-09-06 2022-02-01 四川长虹电器股份有限公司 Method for dynamically generating HTML (hypertext markup language) form based on data configuration

Similar Documents

Publication Publication Date Title
US8359550B2 (en) Method for dynamically generating a “table of contents” view of the HTML-based information system
CN1149501C (en) Font manager with selective access of installed fonts
US8522154B2 (en) Scenario specialization of file browser
US7634729B2 (en) Handwritten file names
US20060075323A1 (en) Method, system, and computer-readable medium for merging data from multiple data sources for use in an electronic document
JP4584931B2 (en) System and method for managing data using static lists
King Library home page design: a comparison of page layout for front-ends to ARL library Web sites
JP2008541261A (en) Query composition using autolist
JP2005174283A (en) Programming interface for computer platform
CN1110067A (en) Object-oriented network resource phonebook
CN1758247A (en) Method, system, and apparatus for exposing workbook ranges as data sources
CN1904901A (en) System and method for actualizing content-based file system security
US20070255685A1 (en) Method and system for modelling data
CN1790244A (en) User interface for displaying selectable software functionality controls that are relevant to a selected object
US8140593B2 (en) Data viewer management
US7409642B2 (en) Method and system for applying user interface elements to data
CN1811775A (en) Method for building tree file structure in computer
CN1516039A (en) List form for writing web page list and its control method
CN1790242A (en) User interface displaying selectable software function control related to selected object on context
US7546526B2 (en) Efficient extensible markup language namespace parsing for editing
CN1302038A (en) Realizing method for personal web page reading mechanism
US7562317B2 (en) Multitasking circuit layout diagram silkscreen text handling method and system
CN1168030C (en) Synchronous broadcast method and device of speed and text
CN1254135A (en) Writing aid system and its method
CN1720546A (en) Brand communication strategy scenario creation support apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication