Class AuAlert

java.lang.Object
org.zkoss.zk.au.AuResponse
org.zkoss.zk.au.out.AuAlert

public class AuAlert extends AuResponse
A response to ask client to show an alert.

data[0]: the alert message

Since:
3.0.0
Author:
tomyeh
  • Constructor Details

    • AuAlert

      public AuAlert(String message)
    • AuAlert

      public AuAlert(String message, boolean disabledAuRequest)
      For the response error use, the next AuRequest will be stopped until the alert dialog is closed.
      Parameters:
      message - the message to display.
      disabledAuRequest - whether to disable the next AuRequset
      Since:
      7.0.0
    • AuAlert

      public AuAlert(String message, String title)
      Parameters:
      message - the message to display.
      title - the title of the message box
      Since:
      5.0.3
    • AuAlert

      public AuAlert(String message, String title, String icon)
      Parameters:
      message - the message to display.
      title - the title of the message box
      icon - the icon to show. It could null, "QUESTION", "EXCLAMATION", "INFORMATION", "ERROR", "NONE". If null, "ERROR" is assumed
      Since:
      5.0.3