Class CmsDependentSelectWidget

  • All Implemented Interfaces:
    I_CmsADEWidget, I_CmsWidget

    public class CmsDependentSelectWidget
    extends CmsSelectWidget
    Server-side part of the dependent select box widget.

    Select widget which uses other values from the content as select options.

    This works as follows: The widget is given a configuration consisting of three pipe-separated OpenCms content value paths. The first path is used to select a set of nested content values. The second and third paths are relative to the first path and are used to select a select option and a select option display text from the nested contents matching the first path. Note that if you omit indexes on a component of the first path, all indexes will be matched.