Class FragmentDialog<T extends Serializable>

    • Constructor Detail

      • FragmentDialog

        public FragmentDialog​(String id,
                              String title)
        Constructor
        Parameters:
        id - the markupId, an html div suffice to host a dialog.
        title - the title of the dialog
      • FragmentDialog

        public FragmentDialog​(String id,
                              IModel<String> title)
        Constructor
        Parameters:
        id - the markupId, an html div suffice to host a dialog.
        title - the title of the dialog
      • FragmentDialog

        public FragmentDialog​(String id,
                              String title,
                              Model<T> model)
        Constructor
        Parameters:
        id - the markupId, an html div suffice to host a dialog.
        title - the title of the dialog
        model - the model to be used in the dialog.
      • FragmentDialog

        public FragmentDialog​(String id,
                              IModel<String> title,
                              Model<T> model)
        Constructor
        Parameters:
        id - the markupId, an html div suffice to host a dialog.
        title - the title of the dialog
        model - the model to be used in the dialog.
      • FragmentDialog

        public FragmentDialog​(String id,
                              String title,
                              boolean modal)
        Constructor
        Parameters:
        id - the markupId, an html div suffice to host a dialog.
        title - the title of the dialog
        modal - indicates whether the dialog is modal
      • FragmentDialog

        public FragmentDialog​(String id,
                              IModel<String> title,
                              boolean modal)
        Constructor
        Parameters:
        id - the markupId, an html div suffice to host a dialog.
        title - the title of the dialog
        modal - indicates whether the dialog is modal
      • FragmentDialog

        public FragmentDialog​(String id,
                              String title,
                              IModel<T> model,
                              boolean modal)
        Constructor
        Parameters:
        id - markupId, an html div suffice to host a dialog.
        title - the title of the dialog
        modal - indicates whether the dialog is modal
        model - the model to be used in the dialog
      • FragmentDialog

        public FragmentDialog​(String id,
                              IModel<String> title,
                              IModel<T> model,
                              boolean modal)
        Constructor
        Parameters:
        id - markupId, an html div suffice to host a dialog.
        title - the title of the dialog
        modal - indicates whether the dialog is modal
        model - the model to be used in the dialog
    • Method Detail

      • newFragment

        protected abstract Fragment newFragment​(String id)
        Factory method that returns a new Fragment
        Parameters:
        id - the component id to be used for the new fragment. ie: new Fragment(id, "my-fragment", MyPage.this);
        Returns:
        the Fragment