Java uncertain Field number report project implementation based on dynamic form form

Source: Internet
Author: User
Tags html page

Recently in a project implementation process, because the customer is the domestic business leader, business forms are not really determined, has been constantly improving. So the business form of the program has been diverted by customers, has been following the business changes, to be very good support for the entire project and the realization of the real sense of the business form and the whole project loose coupling integration to achieve the best implementation and the highest development efficiency. After many discussions with the company director and Chief engineer, decided to develop dynamic form plug-ins to meet the changing needs of customer business forms.

Dynamic form plug-in, that is, for the customer to determine the business form, through the plug-in input to the dynamic form of the core program to generate business forms.

The concrete realization thought:

1, hand-made with special markup HTML page, and through the program upload to the server.

2, through the data stream read-by-line, to determine whether the line contains tags <!--startfragment--> text, if it is replaced by the Business code (text box, text field, and other code) and the line to hide the callout, if not then pass.

3, modify the page generated business code, through the hidden annotations to determine the line, to achieve business code replacement.

4, generate the final page, not to go out of the callout text, generate a Submit button and other business needs of the hidden domain.

5, the data storage, using different from ordinary data of the horizontal table model, the use of vertical table storage.

6, the business data, the same use of the vertical table storage method.

7, the extraction of business data, the use of vertical table to achieve the method of horizontal table.

A dynamic form business system has been implemented thus far.

Because of the company's requirements for technology, it is not changed in this detailed explanation. If you are developing this kind of system, you can leave a message for me to discuss together.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.