H Horizontal button bar V Vertical bar C Captions around each item F Form with labels above each item E Expand each item with its own checkbox G Growing container with single checkbox to open all items S Small widgets (may be overridden by each item) L Large widgets (may be overridden by each item) A Automatically add items for properties T Text label used to sort items O Order of bakery property used to sort items

Format Specifier Syntax Diagrams

Introduction

There are various places in an Exprodo database system where you want to be able to display a biskit as a text string. In the Bakery, each BiskitDef can be told which property to use for its name. Alternatively, for more complicated requirements, you can use a format specifier. Its syntax is defined by the diagrams on this page.

Calpendo also lets you provide a format specifier to control the content of the body of a booking on the calendar, the title bar of a booking on the calendar, and the content of a booking on the month view.

Examples

format-specifier

text-without-percent%non-date-property-formatdate-property-formatdate-time-property-format%text-without-percent

text-without-percent

This is any text that does not include the percent character (%).

non-date-property-format

property-path?markerbefore-value-textmarkerafter-value-text:null-value-string

marker

This is any single character apart from the percent character (%) and colon (:). Choose one that won't appear in before-value-text or after-value-text.

Note that marker appears twice. You must use the same character each time.

before-value-text

This is any text that doesn't include percent character (%), colon (:) or the character defined as the marker. This text will appear in the output immediately before the property value, as long as the property value is not null.

after-value-text

This is any text that doesn't include percent character (%), colon (:) or the character defined as the marker. This text will appear in the output immediately after the property value, as long as the property value is not null.

null-value-string

This is any text that doesn't include percent character (%). It will appear whenever the property value is null.

date-property-format

property-path?date:null-value-string
The ?date is optional and has no impact on the output for a date-valued property.

date-time-property-format

property-path?datetime:null-value-string
If you include the date specifier, then the output will show the date portion only. If you include the time specifier, then the output will show the time portion only.

property-path

property-name.

property-name

letterdigitletter_

digit

4321056789
All diagrams have been created using Tab Atkins Railroad Diagrams library.