Page control layout method and apparatus

A layout method and layout technology, which is applied in special data processing applications, website content management, network data retrieval, etc., can solve layout conflicts, destroy page layout structures, and cannot meet flexible and changeable layout requirements, etc., so as to achieve simple development Effect

Inactive Publication Date: 2009-07-01
武建强
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The inventors of the present invention found in the research and practice of this method that although developers do not need to manually write HTML codes to implement the layout in this method, since the layout logic is fixed in the tags, the tags that have been written are not

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
  • Page control layout method and apparatus
  • Page control layout method and apparatus
  • Page control layout method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0044] Embodiment 1. A page control layout method, refer to image 3 ( image 3 In , a pair of arrows in opposite directions with the same label indicates the corresponding call and return. In addition, since the actual content executed by the container execution unit / component execution unit is provided by the executed container label / component label, therefore image 3 The container label / component label is used as the main body, and the representation in the subsequent flow chart is the same as this, so I won’t go into details), including the following steps:

[0045] a1. The JSP engine calls the container execution unit to execute the container start tag of the container tag.

[0046] a2. The container execution unit executes the container start label, and calls the layout manager corresponding to the container label to generate the layout start code.

[0047] a3. The JSP engine calls the component execution unit to execute the component start tag of the component tag in...

Example Embodiment

[0081] Embodiment 2, a page control layout method, differs from Embodiment 1 in that there are different types of components in the component tags, and each component needs to have its own component layout start code and component layout end code. refer to Figure 5 , including the following steps:

[0082] b1. The JSP engine calls the container execution unit to execute the container start tag of the container tag.

[0083] b2. The container execution unit executes the container start label, and calls the layout manager corresponding to the container label to generate the layout start code.

[0084] b3. The JSP engine calls the component execution unit to execute the component start tag of the component tag in the container tag.

[0085] b4. The component execution unit executes the component start tag, and obtains the layout manager corresponding to the container tag according to the container tag where the component tag is located.

[0086] b5. The component...

Example Embodiment

[0130] Embodiment 3, a page control layout method, differs from Embodiment 1 in that there are components of the same type in the component tags, and each component needs to have its own component layout start code and component layout end code. refer to Figure 7 , including the following steps:

[0131] c1. The JSP engine calls the container execution unit to execute the container start tag of the container tag.

[0132] c2. The container execution unit executes the container start label, and calls the layout manager corresponding to the container label to generate the layout start code.

[0133] c3. The JSP engine calls the component execution unit to execute the component start tag of the component tag in the container tag, and the code returned by the execution process may be empty.

[0134] c4. The JSP engine invokes the component execution unit to execute the component end tag of the component tag in the container tag.

[0135] c5. The component executio...

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 page control layout method, which utilizes two JSP tags of different types, namely the container tags and the component tags, to strip the layout logic from the component tags, and then layout of the component tags is realized after corresponding layout managers are found out through the container tags in which the component tags are located. The invention further provides a device utilizing the JSP tags to generate HRML codes. By utilizing the layout manager relative to the container tags to take charge of generating the layout codes, development becomes simple as developers have no need to directly write codes, besides, because the component tags are independent of layout logic, different layout requirements can be realized through different container tags, which is flexible in use and hard to bring mistakes.

Description

technical field [0001] The present invention relates to the technical field of page layout, in particular to a method for realizing page control layout through Java service page (JSP: JavaServer Page) tags and a corresponding method for generating Hypertext Markup Language (HTML: HyperText Markup Language) codes through JSP tags device. Background technique [0002] At present, in order to simplify the difficulty of writing HTML codes and enable developers to develop pages according to the writing habits of page controls, the application of generating page controls through JSP tag technology is becoming more and more common. In these applications, implementing page control layout through JSP tags is an important content, usually using the following two methods: [0003] 1. Use the HTML code directly to implement the layout requirements, and nest the JSP tags in the layout code. Examples are as follows: [0004] <xxx:a / > <xxx:b / > In the abov...

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): G06F3/12
CPCG06F17/30893G06F16/972
Inventor 刘建军
Owner 武建强
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