Interface ScriptAction<ModelType>

All Superinterfaces:
org.apache.wicket.util.io.IClusterable, Serializable

public interface ScriptAction<ModelType> extends org.apache.wicket.util.io.IClusterable
Represents a javascript action.
  • Method Summary

    Modifier and Type
    Method
    Description
    Produces the JavaScript to execute this action on the client-side.
  • Method Details

    • getJavaScript

      String getJavaScript(ModelType model)
      Produces the JavaScript to execute this action on the client-side.
      Parameters:
      model - the model that this action operates on.
      Returns:
      JavaScript code that executes this action.