Class YesNoClientQuestion

All Implemented Interfaces:
ClientQuestion<ConfirmClientAnswer>

public class YesNoClientQuestion extends AbstractConfirmClientQuestion
  • Field Details

  • Constructor Details

    • YesNoClientQuestion

      public YesNoClientQuestion(String questionId, String questionHeader, String questionMessage)
      Constructor for a new YesNoClientQuestion. It displays the user a message popup with the options "YES", "NO" and "CANCEL". Options "YES" and "NO" return to the server, with the ConfirmClientAnswer.getAnswer() )} == true if "YES" was clicked. "CANCEL" will not continue the action.
      Parameters:
      questionId - a unique id identifying this question
      questionHeader - the header displayed in the message popup
      questionMessage - the message displayed in the message popup
  • Method Details

    • getClientHandlerName

      public String getClientHandlerName()
      Returns:
      the name of the client handler JS-class as registered in the nice2.netui.clientquestion.ClientQuestionHandlerRegistry