-
Notifications
You must be signed in to change notification settings - Fork 21
IndexAppearance
architolk edited this page Nov 21, 2016
·
1 revision
An IndexAppearance
can be used to create a selection of tabs. Typical examples are a selection of formats (rdf, xml, etc) or a A-Z index.
You have two options to create an index appearance:
- Using static data (
elmo:data
); - Using dynamic data with a query.
A typical static data definition looks like this:
stage:IndexAppearance a elmo:Part;
elmo:appearance elmo:IndexAppearance;
elmo:data [
xhtml:link "";
elmo:name "term";
rdfs:label "0-9|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|all";
rdf:value "[0-9]|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|";
];
.
Let's look at the properties within elmo:data
:
-
xhtml:link
defines the hyperlink for any item within the index. If you leave the value empty, the current page will be used. -
elmo:name
defines the name of the parameter that will be added tot thexhtml:link
. So in the example above, the?term=
parameter will be added. -
rdfs:label
defines the label of the items within the index. A|
seperates the individual values. -
rdf:value
defines the value of the parameter. So if a user selects the "z" item, the actual parameter will be:?term=z
.
- Home
- Theatre installation
- Tutorial
- Using the theatre
- Configuring the theatre
-
Appearances
- CarouselAppearance
- ChartAppearance
- ContentAppearance
- GeoAppearance
- GeoSelectAppearance
- GraphAppearance
- FormAppearance
- FrameAppearance
- HeaderAppearance
- HiddenAppearance
- HtmlAppearance
- IndexAppearance
- ImageAppearance
- LoginAppearance
- ModelAppearance
- NavbarAppearance
- NavbarSearchAppearance
- ShortTableAppearance
- TableAppearance
- TreeAppearance
- TextAppearance
- VocabularyAppearance
- LDT Vocabulary