As a first test of the ProcessorTablePick,
make this page, and the tables to go with it.
|
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.
|
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.
|
You can edit in-progress items to mark them as completed.
|
This example uses stories from the Old Testament.
|
This example uses stories from the Old Testament.
|
Can all this be accomplished with a sequence of pages and existing table
technology?
|
Can all this be accomplished with a sequence of pages and existing table
technology?
|
I think so...
|
I think so...
|
|
{{TableOfContents}}
|
|
== Old Testament Stories ==
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")
{{{#!Table
conf=#:PickDataConf
row_filter=state=unread
}}}
|
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")
{{{#!Table
conf=#:PickDataConf
row_filter=state=unread
}}}
|
|
== Stories we're currently reading ==
When you're done reading a story, mark it as "done" in the table,
and fill in the date in date_completed.
{{{#!Table
conf=#:PickDataConf
row_filter=state=reading
}}}
|
TestPickData
|
= reference data =
== data page ==
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.
|
You can see the raw data by selecting "Show in raw mode" from the toolbox in
the left pane.
|
|
== full view ==
{{{#!Table:full
conf=#:PickDataConf
}}}
|
|
== configuration block ==
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
}}}
|
{{{PickDataConf
source_spec=TestPickData
field=state
type=Select
possible_values="""unread
reading
done"""
field=date_completed
type=Text
default_value=na
}}}
|