Idea:
Many a time, we use a lot of UI Pages to get information from the user on Tasks/Requested items, which need to be stored again in a related list. Everytime its a pain to start and code them from the scratch using all the DOM Manipulations.
I’m talking about those UI pages, where You have a list of columns, and when the user clicks on “Add row” a new row appears, where in he fills the information, and when everthing is filled in, click on “Save and Close”. I don’t know about you, but our Project uses this a lot. So making it more re-usable, as it will be easy to configure pages like these.
How we do it:
The sameple JSON string will be like this:
[code] {"input":[{"order":"100","count":"3","columnName":"caller_id"}],"reference":[{"order":"200","count":"1","tableRef":"incident","coulmnName":"incident"}]} [/code]
This JSON will be retrieved and they will be accordingly and the DOM created.