Checks if the given page, or optionally any of its child pages, has at least one of the element type given.
Example
${core:hasElement(page, elementType, recursive)}
Function Information
Function Class: | com.semanticcms.core.taglib.Functions |
---|---|
Function Signature: | boolean hasElement(com.semanticcms.core.model.Page, java.lang.String, boolean) |
Display Name: | None |