Feature #2819

View Helper "Flash Message"

Added by Robert Lemke over 6 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2009-03-10
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:MVC
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 1
PHP Version: Complexity:
Has patch:

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

duplicated by TYPO3.Fluid - Feature #3297: flash message Closed 2009-05-14

Associated revisions

Revision d4a8bf81
Added by Karsten Dambekalns about 6 years ago

FLOW3:
  • added flash message handling to AbstractController and ActionController, resolves #2819
Blog:
  • removed preliminary flash message handling, replaced by solution for #2819

History

#1 Updated by Sebastian Kurfuerst over 6 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 about 6 years ago

  • Status changed from New to Accepted
  • Assigned To set to Robert Lemke

#3 Updated by Robert Lemke about 6 years ago

  • Assigned To changed from Robert Lemke to Karsten Dambekalns
  • % Done changed from 0 to 10

#4 Updated by Karsten Dambekalns about 6 years ago

  • % Done changed from 10 to 80

Done, needs better tests before commit.

#5 Updated by Karsten Dambekalns about 6 years ago

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

Applied in changeset r2334.

Also available in: Atom PDF