System.LimitException: DML currently not allowed VisualForce.
This Error because of allowDML is false for VisulaForce Component.
Resolution: Set allowDML="true" in component.
System.LimitException: DML currently not allowed VisualForce.
This Error because of allowDML is false for VisulaForce Component.
Resolution: Set allowDML="true" in component.