diff --git a/en/components.texy b/en/components.texy index eb7e20270b..24d55ca32c 100644 --- a/en/components.texy +++ b/en/components.texy @@ -212,7 +212,7 @@ The signals may remind you a little bit AJAX: handlers that are called on the cu Flash Messages ============== -A component has its own storage of flash messages independent of the presenter. These are messages that, for example, inform about the result of the operation. An important feature of flash messages is that they are available in the template even after redirection. Even after being displayed, they will remain alive for another three seconds - for example, in case the user would unintentionally refresh the page - the message will not be lost. +A component has its own storage of flash messages independent of the presenter. These are messages that, for example, inform about the result of the operation. An important feature of flash messages is that they are available in the template even after redirection. Even after being displayed, they will remain alive for another thirty seconds - for example, in case the user would unintentionally refresh the page - the message will not be lost. Sending is done by the method [flashMessage |api:Nette\Application\UI\Control::flashMessage()]. The first parameter is the message text or the `stdClass` object representing the message. Optional second parameter is its type (error, warning, info, etc.). The method `flashMessage()` returns an instance of flash message as object stdClass to which you can pass information. diff --git a/files/lifecycle5.svg b/files/lifecycle5.svg new file mode 100644 index 0000000000..bfc47fa46a --- /dev/null +++ b/files/lifecycle5.svg @@ -0,0 +1,421 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +