Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
applications:navtable_custom_insert [2018/02/07 07:49] admin created |
applications:navtable_custom_insert [2020/07/03 12:54] cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
- | ~~Title: Replacing standard insert method of NavigationTable~~ | + | ~~Title: Replacing Standard Insert Method of NavigationTable~~ |
- | The NavigationTable has buttons for insert/update/delete and other standard functionality. You can replace standard functionality with your own methods, e.g.load a zip file and insert records parsed from the archive - instead of inserting a new, empty, record. | + | The NavigationTable has buttons for insert/update/delete and other standard functionality. You can replace standard functionality with your own methods, e.g., load a zip file and insert records parsed from the archive - instead of inserting a new, empty, record. |
Here's an example screen (AddOns from VisionX): | Here's an example screen (AddOns from VisionX): | ||
Line 8: | Line 8: | ||
{{:applications:addons.png?nolink|}} | {{:applications:addons.png?nolink|}} | ||
- | If the user is pressing the + Button beside the table, an Open file dialog should appear, like this one: | + | If the user is pressing the + button beside the table, an open file dialog should appear, like this one: |
{{:applications:addons_open.png?nolink|}} | {{:applications:addons_open.png?nolink|}} | ||
Line 14: | Line 14: | ||
After selecting a file, the file should be parsed and a new record with parsed information should be inserted in the table. The parsing will be done in a server-side method and the return value of the method will be inserted. | After selecting a file, the file should be parsed and a new record with parsed information should be inserted in the table. The parsing will be done in a server-side method and the return value of the method will be inserted. | ||
- | == How is this possible? == | + | == How is This Possible? == |
First, configure the databook: | First, configure the databook: | ||
Line 75: | Line 75: | ||
</file> | </file> | ||
- | The storage implementation could load all AddOns from the filesystem and not from the database... | + | The storage implementation could load all AddOns from the filesystem and not from the database. |