33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
<!DOCTYPE html [<!ENTITY times '×'>]>
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:bootstrap="http://xmlns.jcp.org/jsf/composite/components/bootstrap"
|
|
xmlns:cc="http://xmlns.jcp.org/jsf/composite"
|
|
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
|
|
|
|
<cc:interface shortDescription="An component for selecting content items">
|
|
<cc:attribute name="contentItemPickerId"
|
|
required="true"
|
|
shortDescription="ID of the content item picker"
|
|
type="String" />
|
|
<cc:attribute name="buttonText"
|
|
required="true"
|
|
shortDescription="Label of the button"
|
|
type="String" />
|
|
<cc:attribute name="buttonIcon"
|
|
default="pen"
|
|
required="false"
|
|
shortDescription="Icon of the content item picker button"
|
|
type="String" />
|
|
</cc:interface>
|
|
<cc:implementation>
|
|
<button class="btn btn-primary"
|
|
data-toggle="modal"
|
|
data-target="##{cc.attrs.contentItemPickerId}-dialog"
|
|
type="button">
|
|
<bootstrap:svgIcon icon="#{cc.attrs.buttonIcon}" />
|
|
<span class="sr-only">#{cc.attrs.buttonText}</span>
|
|
</button>
|
|
</cc:implementation>
|
|
|
|
</html>
|