Class CloneDataButtonControl

  • All Implemented Interfaces:
    javax.servlet.jsp.el.VariableResolver, IControl

    public class CloneDataButtonControl
    extends ButtonControl
    Defines a clone data button control. The clone data button inherits all the button control properties and has default values for certain properties.

    Example use:
    
     <control:lum_cloneDataButton id="cloneButton" processActionId="lumCloneData"/>
     
    xml data available for xsl rendering:
    
     <control id="cloneButton" processActionId="lumCloneData" text="STR_CLONE" type="lum_cloneDataButton">
     	<onClick type="script">
     		<script>if(!confirm('Are you sure you want to clone the selected item?')) return;</script>
     		<validators>
     			<validator controlId="adminList.tabulardata" type="selectedOne" /> 
     		</validators>
     	</onClick>
     	<onClick type="processAction">
     		<processActionId>lumCloneData</processActionId> 
     	</onClick>
     	<data>
     		<name>Clone</name> 
     		<onclick><!-- onclick javascript for the button --></onclick> 
     	</data>
     </control>
     
    Since:
    17.0.0
    Version:
    $Revision$ $Date$