TestMarkupVariables >> TestPickData >> TestSpreadsheetStuff >> TestMacroInclude >> Table_Pick_Page 

TB Wiki

Login

Table Pick Page

As a first test of the ProcessorTablePick, make this page, and the tables to go with it.

What TablePick allows you to do, is show a database, and allow you to select one or more items from the database, using a simplified view of the data. Once you have done this, the data is marked as in-progress.

You can edit in-progress items to mark them as completed.

This example uses stories from the Old Testament.

Can all this be accomplished with a sequence of pages and existing table technology?

I think so...

Old Testament Stories [edit section]

Here's a view of the table showing only unread items.

Please choose a story to read from the following table: (Specifically, select Edit Table in Place, and change the state of the desired story to "reading") Error: exception in processor - check debug log for traceback

Stories we're currently reading [edit section]

When you're done reading a story, mark it as "done" in the table, and fill in the date in date_completed. Error: exception in processor - check debug log for traceback

reference data [edit section]

data page [edit section]

The data for this table is on the following page: TestPickData

You can see the raw data by selecting "Show in raw mode" from the toolbox in the left pane.

full view [edit section]

Error: exception in processor - check debug log for traceback

configuration block [edit section]

The configuration block for the TestPickData table is in this section, in a block names PickDataConf

PickDataConf
source_spec=TestPickData
field=state
type=Select
possible_values="""unread
reading
done"""
field=date_completed
type=Text
default_value=na

TBWiki engine 1.9.3 by Tim Bird