Feature #12886

Add possibility to send multiple objects (object storage) to action

Added by Simon Schaufelberger over 10 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2011-02-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Needs Decision

Description

spoken in the case of blog_example, it is not possible to edit multiple blogs at the same time.

What i would like to do is the following:

<f:form controller="Blog" action="multipleedit" name="blog">
<input type="checkbox" value="1" name="tx_blogexample_pi1[blog][]">
<input type="checkbox" value="2" name="tx_blogexample_pi1[blog][]">
<input type="checkbox" value="3" name="tx_blogexample_pi1[blog][]">
<f:form.submit value="Edit"/>
</f:form> 

and have an Action like this in BlogController:

public function multipleeditAction(Tx_Extbase_Persistence_ObjectStorage $blog){
    [...]
}

Also available in: Atom PDF