Class ContentIdHolderControl

  • All Implemented Interfaces:
    java.util.Observer, javax.servlet.jsp.el.VariableResolver, IControl, IDataBoundControl, IDataControl, IRenderer

    public class ContentIdHolderControl
    extends InputHiddenControl
    Control for holding the wiki article content id value. It priorizes the value loaded from request instead of priorizing the source value. It is specifically designed for the wiki toolbar, to read the lumItemId value of the main article from the source, when the lumItemId is not available at the request.
    Since:
    5.0.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • ContentIdHolderControl

        public ContentIdHolderControl()
    • Method Detail

      • setValueFromSource

        protected void setValueFromSource​(Source source)
                                   throws PortalException
        Description copied from class: DataBoundControl
        Reads the value corresponding to the current control from the control source. By default the value that is taken from the source is from the first row of the source tabular data. However, if the control has the dataRow specified, the value taken from the source tabular data corresponds to specified row.
        Overrides:
        setValueFromSource in class DataBoundControl
        Throws:
        PortalException