Interface WebPluginGadget<C extends Serializable>

Record Components:
C - The configuration type for this gadget. Besides being Serializable, it must only consist of types known to the FirstSpirit web client application.
All Superinterfaces:
Aspectable, Gadget, GwtServerGadget<C>

public interface WebPluginGadget<C extends Serializable> extends GwtServerGadget<C>
Definition of a pluggable gadget providing means to a build web-technology based form element on server side.

Since:
5.1.25
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides the view definition of the gadget.

    Methods inherited from interface de.espirit.firstspirit.aspects.Aspectable

    getAspect

    Methods inherited from interface de.espirit.firstspirit.webedit.server.gadgets.GwtServerGadget

    getWidgetConfiguration
  • Method Details

    • getView

      String getView()
      Provides the view definition of the gadget. The returned text is expected to be valid HTML code.

      Please note: Ids used within the code will be replaced with unique ids generated by the framework. The WebPluginGadgetHost provided to the gadget's controller provides means to access HTML-elements having ids by their original id.

      Returns:
      The view's code.
      Since:
      5.1.25
      See Also: