Adds an author to the current page. It is permissible to have an author in a missing book.
When no authors provided, will use the author(s) of any parent page that is within the same book. If there are no parent pages in this same book, uses the book's authors.
When inheriting authorship from multiple parent pages, the authors must be in exact agreement. This means exactly the same order and all values matching precisely. Any mismatch in authors will result in an exception.
Tag Information
Tag Class: | com.semanticcms.core.taglib.AuthorTag |
---|---|
TagExtraInfo Class: | None |
Body Content: | empty |
Display Name: | None |
Attributes
Name | Required | Evaluation | Type | Description |
---|---|---|---|---|
name | No | Runtime | String |
The name of the author, to be used in |
href | No | Runtime | String |
The href of the author, to be used in |
book | No | Runtime | String |
The book containing the author page. Defaults to the book of the current JSP file. When book provided, page attribute must also be provided. |
page | No | Runtime | String |
The page-relative path to the author page, to be used in |