Feature #2819

View Helper "Flash Message"

Added by Robert Lemke over 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
MVC
Start date:
2009-03-10
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Provide a view helper which allows for handling "flash messages", i.e. a short message / chunk of HTML which transports information from one action to another.

Example: the createAction() successfully creates a Thing and submits the message "Successfully created Thing." to the view helper. Then a redirect to the indexAction() is carried out. The index view contains an area which displays a flash message, if any. In this case there's one: "Sucessfully created Thing.".


Related issues

Has duplicate TYPO3.Fluid - Feature #3297: flash messageClosed2009-05-14

Actions
#1

Updated by Sebastian Kurfuerst over 12 years ago

What do you think of introducing a new method on the TemplateView:
$this->view->flash(... HTML STRING ...); ?

Greets,
Sebastian

#2

Updated by Robert Lemke over 12 years ago

  • Status changed from New to Accepted
  • Assignee set to Robert Lemke
#3

Updated by Robert Lemke over 12 years ago

  • Assignee changed from Robert Lemke to Karsten Dambekalns
  • % Done changed from 0 to 10
#4

Updated by Karsten Dambekalns over 12 years ago

  • % Done changed from 10 to 80

Done, needs better tests before commit.

#5

Updated by Karsten Dambekalns over 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 80 to 100

Applied in changeset r2334.

Also available in: Atom PDF