Class DialogManager<ModelType>

java.lang.Object
org.hippoecm.frontend.dialog.DialogManager<ModelType>
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

public class DialogManager<ModelType> extends Object implements org.apache.wicket.model.IDetachable
Base manager for showing a dialog.

To open a dialog, the frontend requests a URL that is generated by the DialogBehavior. This request can contain the following two request-parameters to pass data to the dialog:

  • dialogConfig: an object containing configuration properties for the dialog
  • dialogContext: an object containing properties that describe the context in which the dialog is opened
Both of these parameters are expected to be stringified JSON blobs and will be parsed as follows:
  • Nested properties are ignored
  • Text values are parsed as a String
  • Boolean values are parsed as a Boolean
  • Arrays are parsed as a String arrays

See Also: