   ###
   @ACTION:
     REMOVE: 'remove'
+
+  ###*
+    @enum {function(wzk.dom.Dom)}
+  ###
+  @POST_ACTIONS =
+    'reload': (self) -> self.dom.getWindow().location.reload(true)
+    'remove': (self) -> self.removeElement()
 
   ###*
     @param {wzk.dom.Dom} dom

    @protected
  ###
  onSuccess: =>
    if @postAction is wzk.ui.form.RemoteButtonDecorator.ACTION.REMOVE
      @toRemove = @dom.getElement @postElement
      if @toRemove?
        setTimeout @fadeOutTrigger(), 1000

  ###*
    @protected

goog.require 'goog.fx.dom.FadeOutAndHide'
goog.require 'goog.fx.Transition.EventType'
goog.require 'goog.object'

goog.require 'wzk.ui.form.RemoteButton'
goog.require 'wzk.resource.Client'


class wzk.ui.form.RemoteButtonDecorator

