Class MediaPickerControl

  • All Implemented Interfaces:
    Observer, VariableResolver, IControl, IDataBoundControl, IDataControl, IRenderer

    public class MediaPickerControl
    extends DataBoundControl<Source<?>>
    Renders a control that allows the end user to input an media. The actual selection is done behind a button that opens a graphical interface to select media.

    Example use: <control:lum_mediaPicker id="media" /> xml data available for xsl rendering: <control id="media" type="lum_mediaPicker"> <control id="8A488A0311942C1B0111943A1F5502F6" type="lum_requiredValueWhenVisibleValidator" ... /> <strings> <string id="STR_SELECT">Select</string> <string id="STR_CLEAR">Clear</string> </strings> <data> <openPopup>[open popup javascript code]</openPopup> <selectMediaFunction>selectMedia_media</selectMediaFunction> <onClickFunction>onClick_media</onClickFunction> </data> </control>
    Since:
    7.0.0
    Version:
    $Revision: 20605 $ $Date: 2017-10-10 17:07:21 -0300 (Tue, 10 Oct 2017) $