Class DefaultSettingsController

  • All Implemented Interfaces:
    Serializable

    @RequestScoped
    @Named
    public class DefaultSettingsController
    extends Object
    implements Serializable
    Contains the default implementation for the addNewListener and deleteListener required by the settings.xhtml custom component.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • DefaultSettingsController

        public DefaultSettingsController()
    • Method Detail

      • onAddNewSettingNameEditableOptional

        public void onAddNewSettingNameEditableOptional​(javax.faces.event.ActionEvent event)
        Listener for when a setting is deleted from to the settings.xhtml custom component. Adds a setting where the name is editable and the value is not required.
        Parameters:
        event - Event triggered by the UICommand.
      • onAddNewSettingNameEditableRequired

        public void onAddNewSettingNameEditableRequired​(javax.faces.event.ActionEvent event)
        Listener for when a setting is deleted from to the settings.xhtml custom component. Adds a setting where the name is editable and the value is required.
        Parameters:
        event - Event triggered by the UICommand.
      • onAddNewSettingNameFixedOptional

        public void onAddNewSettingNameFixedOptional​(javax.faces.event.ActionEvent event)
        Listener for when a setting is deleted from to the settings.xhtml custom component. Adds a setting where the name is not editable and the value is not required.
        Parameters:
        event - Event triggered by the UICommand.
      • onAddNewSettingNameFixedRequired

        public void onAddNewSettingNameFixedRequired​(javax.faces.event.ActionEvent event)
        Listener for when a setting is deleted from to the settings.xhtml custom component. Adds a setting where the name is not editable and the value is required.
        Parameters:
        event - Event triggered by the UICommand.
      • onDeleteSetting

        public final void onDeleteSetting​(javax.faces.event.ActionEvent event)
        Listener for when a setting is deleted from to the settings.xhtml custom component.
        Parameters:
        event - Event triggered by the UICommand.