Class AutoAdministrationListButtonsControl<S extends Source<?>>

  • All Implemented Interfaces:
    javax.servlet.jsp.el.VariableResolver, IControl
    Direct Known Subclasses:
    AutoContentAdministrationListButtonsControl

    public class AutoAdministrationListButtonsControl<S extends Source<?>>
    extends SourceBoundControl<S>
    Detects and automatically adds the following controls: lum_interfaceHeaderButtons, lum_addButton, lum_editButton, lum_deleteButton, lum_positionFieldOrderButton, lum_lockButton, lum_configureButton.

    If all buttons are detected the following subcontrols are created:
     <control type="lum_interfaceHeaderButtons" id="lumInterfaceHeaderButtons">
            <control type="lum_addButton" id="lumInterfaceHeaderButtons.addButton" isPrimary="true" />
            <control type="lum_editButton" id="lumInterfaceHeaderButtons.editButton" />
            <control type="lum_deleteButton" id="lumInterfaceHeaderButtons.deleteButton" />
            <control type="lum_positionFieldOrderButton" id="lumInterfaceHeaderButtons.positionFieldOrderButton" />
            <control type="lum_lockButton" id="lumInterfaceHeaderButtons.lockButton" />
            <control type="lum_configureButton" id="lumInterfaceHeaderButtons.configureButton" />
     </control>
     


    Example use: <control:lum_autoAdminListButtons addInterfaceId="addCategory" editInterfaceId="editCategory" /> xml data available for xsl rendering: <control addInterfaceId="addCategory" editInterfaceId="editCategory" id="8A488A03114CA81B01114D59DD6604C4" type="lum_autoAdminListButtons"> <control id="8A488A03114CA81B01114D59DD6604C4.lumInterfaceHeaderButtons" type="lum_interfaceHeaderButtons"> <control id="lumInterfaceHeaderButtons.addButton" type="lum_addButton" ... /> <control id="lumInterfaceHeaderButtons.editButton" type="lum_editButton" ... /> <control id="lumInterfaceHeaderButtons.deleteButton" type="lum_deleteButton" ... /> <control id="lumInterfaceHeaderButtons.positionFieldOrderButton" type="lum_positionFieldOrderButton" ... /> <control id="lumInterfaceHeaderButtons.lockButton" type="lum_lockButton" ... /> <control id="lumInterfaceHeaderButtons.configureButton" type="lum_configureButton" ... /> </control> </control>
    Since:
    4.0.6
    Version:
    $Revision$ $Date$
    See Also:
    AddButtonControl, EditButtonControl, DeleteButtonControl, PositionFieldOrderButtonControl, ConfigureButtonControl