shows a notification message the current page . the position and behavior of the message depends on the type , which is one of the basic types defined in notification , for instance notification.type _ warning_message . the caption is rendered as plain text with html automatically escaped . concode_field_sep Position POSITION_CENTERED_BOTTOM concode_elem_sep int delayMsec concode_elem_sep int DELAY_FOREVER concode_elem_sep Position POSITION_CENTERED concode_elem_sep Resource icon concode_elem_sep Position position concode_elem_sep String caption concode_elem_sep String description concode_elem_sep Position POSITION_TOP_LEFT concode_elem_sep String styleName concode_elem_sep Type TYPE_HUMANIZED_MESSAGE concode_elem_sep Type TYPE_ERROR_MESSAGE concode_elem_sep boolean htmlContentAllowed concode_elem_sep Position POSITION_BOTTOM_LEFT concode_elem_sep Position POSITION_CENTERED_TOP concode_elem_sep int DELAY_NONE concode_elem_sep Position POSITION_TOP_RIGHT concode_elem_sep Type TYPE_TRAY_NOTIFICATION concode_elem_sep String style concode_elem_sep Position POSITION_BOTTOM_RIGHT concode_elem_sep Type TYPE_WARNING_MESSAGE concode_field_sep void setStyleName concode_elem_sep String getStyleName concode_elem_sep int getDelayMsec concode_elem_sep void setCaption concode_elem_sep void setDescription concode_elem_sep void setType concode_elem_sep String getCaption concode_elem_sep String getDescription concode_elem_sep void setDelayMsec concode_elem_sep void setPosition concode_elem_sep void setHtmlContentAllowed concode_elem_sep Resource getIcon concode_elem_sep void setIcon concode_elem_sep String getStyle concode_elem_sep Position getPosition concode_elem_sep boolean isHtmlContentAllowed
void function ( String arg0 , Type arg1 ) { new Notification ( arg0 , arg1 ) . show ( Page . getCurrent ( ) ) ; }