Class LockButtonControl

  • All Implemented Interfaces:
    VariableResolver, IControl

    public class LockButtonControl
    extends ButtonControl
    Defines a lock/unlock button control. The lock button inherits all the button control properties and has default values for certain properties.

    Example use:
    
     <control:lum_lockButton id="lockButton" processActionId="lock"/>
     
    xml data available for xsl rendering:
    
     <control id="lockButton" processActionId="lock" text="STR_LOCK" type="lum_lockButton">
     	<onClick type="script">
     		<script>if(!confirm('Are you sure you want to lock the selected item(s)?')) return;</script>
     		<validators>
     			<validator controlId="adminList.tabulardata" type="selectedMany" /> 
     		</validators>
     	</onClick>
     	<onClick type="processAction">
     		<processActionId>lock</processActionId> 
     	</onClick>
     	<image>lumis/portal/client/images/Lock.gif</image> 
     	<rowAction bulkAction="true" listControlId="adminList.tabulardata"/>
     	<data>
     		<name>Lock</name> 
     		<onclick><!-- onclick javascript for the button --></onclick> 
     	</data>
     </control>
     
    Since:
    6.0.0
    Version:
    $Revision: 22315 $ $Date: 2019-01-25 18:30:16 -0200 (Fri, 25 Jan 2019) $