wf-core:getFileTypeStyleClass
This tag gets file type style class names for related media files from their mime-types.
Syntax
<wf-core:getFileTypeStyleClass fileMimeType="..."? relatedObject="..." var="..."/>
Attributes
var
, mandatory, no runtime expressionsThe name of the attribute that will contain output string
relatedObject
, mandatoryThe object which mime-type is searched for class name.
fileMimeType
The mime-type of the related file.