Captures a <core:page> in a provided book.
The capture is always done with a request method of GET
, even when the enclosing request is a different method.
Parameter "book": The name of the book containing the page.
Parameter "page": The book-relative path to the page to capture,
must begin with a slash /
.
Parameter "level": Controls the level of detail to capture. May be one of:
page
- Fastest: captures page meta data only (including parent and child pages).meta
- Captures page and content meta data, but no body content.body
- Captures page and content meta data as well as all body content.
Level may need to be set to page
when two pages capture each other (either directly
or indirectly). This may occur when these two pages capture each other for meta data,
such as automatic page title added to links.
Example
${core:capturePageInBook(book, page, level)}
Function Information
Function Class: | com.semanticcms.core.taglib.Functions |
---|---|
Function Signature: | com.semanticcms.core.model.Page capturePageInBook(java.lang.String, java.lang.String, java.lang.String) |
Display Name: | None |