Class ContentIdHolderControl

  • All Implemented Interfaces:
    java.util.Observer, 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: 10825 $ $Date: 2009-08-04 12:36:40 -0300 (Tue, 04 Aug 2009) $
    • 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