Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleDetails


Section
level2
titleExample

The following example shows a small table that renders books with short descriptions and also adds an additional comment column.

Content Marker
idtour-macro-in-editor

 

 The result will add the short descriptions of the referenced books to the second column.

Content Marker
idtour-macro-in-view

 



Section
titleTemplate Support

Since version 1.17 of the projectdoc Toolbox the value columns support templates.

A template may reference properties with ${} and $[] (the latter generating a link to the document). If there is a non-empty value in a table cell, this value is rendered (and not the property value as this has been the case prior to version 1.17).

Great Read!

Image Added

Example Box

This example shows the usage of a template in the second table row.

Tour
TitleShort DesciptionComment
Agile TestingGreat Book!Testing with JUnitThis is great: ${Short Description}




Section
indextrue
titleRelated macros

Display Table
doctypemacro
render-no-hits-as-blanktrue
render-modedefinition
selectName, Short Description
sort-bySort Key, Name
whereCategories = "Display / Query"
exclude-selftrue

...