File Taglib Reference

Files nested within SemanticCMS pages and elements in a JSP environment.

Usage

Standard Syntax

<%@ taglib prefix="file" uri="https://semanticcms.com/file/taglib/" %>

XML Syntax

<anyxmlelement xmlns:file="https://semanticcms.com/file/taglib/" />

Tag Library Information

Display Name: SemanticCMS File Taglib
Version: 1.6.0
Short Name: file
URI: https://semanticcms.com/file/taglib/

Tag Summary

<file:file>

Writes a link to a file. Supports optional desktop integration mode.

Function Summary

boolean ${file:hasFile(Page, boolean)}

Checks if the given page, or optionally any of its child pages, has at least one not-hidden File.

boolean ${file:isOpenFileAllowed()}

Determines if local file opening is allowed.