Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

I created an InputFormImporter which imported the input-forms from a  default XML file present in the /config folder into the database. This was necessary for loading the default form.

The basic API additions were as follows-

InputForm-Class representing an inputform

...

I will add more details as required once this part of the project is started. 

The major DB changes were as follows-

Following tables were added.

...

1.InputForm- To represent a new added input-form.

...

Columns-

inputform_id - Primary key to represent the particular form

name - String vale of the inputform name

...

2.collection2inputform-To map a collection to an inputform.

...

Columns-

id(PK)

collection_id(FK)

inputform_id(FK)

...

3.InputFormPage-To represent a page of the form submission step.

...

Columns-

page_id(PK)

name

...

4.form2page- To map a page to any particular input-form

...

id(PK)

form_id(FK)

page_id(FK)

...

5.InputFormField-To represent a submission field in a particular page.

...

field_id

repeatable

inputtype_id(FK)

label(FK)

hint(FK)

...

6.field2page --To map a submission field to a page

...

field_id(FK)

page_id(FK)

...

7.valuepair – To represent a particular selection list

...

valuepair_id(PK)

name

inputtype_id(FK)

...

8.valuepairelement- To represent a particular selection-list element.

...

valuepair_element_id

language

stored_value

displayed_value

valuepair_id

...

9.input-type – To represent content-type

...

inputtype_id(FK)

name

Screenshots are attached.

Screenshots -