$10
Paginate embedded forms
Ideas?
leftrock | 11/02/11 at 1:41pm
| Edit
(3) Possible Answers Submitted...
-

Last edited:
11/02/11
1:47pmLuis Cordova says:yes there is a bundle for this https://github.com/craue/CraueFormFlowBundle
- 11/02/11 1:53pm
leftrock says:This is a symfony 1.4 project with doctrine
- 11/02/11 1:54pm
Luis Cordova says:oh no that sucks, you should check the symfony1.4 docu online, it has a study on that
- 11/02/11 1:53pm
-

Last edited:
11/02/11
2:08pmAmer Trkić says:You have psPageableFormPlugin for this:
http://www.symfony-project.org/plugins/psPageableFormPlugin
Its easy to use...- 11/02/11 2:15pm
leftrock says:Hmmm...it sees like thats more helpful when you want to separate forms into pages right..so if there is a login form then a profile form..you can separate the login form into page one and the login into page 2....but what if there are a "100" login forms...I actually want to paginate those (they aren't different form objects)
- 11/02/11 2:30pm
Amer Trkić says:You can configure these 100 logins form in your pageable form, for examle in MyPageableForm write logic that handle and add your 100 forms by $this->addForm();
Also you can write this login in action.class, you can dynamically add forms ...
In template you can easy create pager when you have MyPageableForm object.
You have methods that can help you to create pager:
- getNumberOfForms
- setCurrentPageNumber
- getCurrentForm
Sorry for my bad english :(
- 11/02/11 2:15pm
-

Last edited:
11/04/11
1:39pmMilena Dimitrova says:Why don't you use a normal pager (sfPropelPager or sfDoctrinePager) iterating the form objects and implement an ajax form for each object (on every row)?
You will achieve something like an 'editable grid' in this way (see the attachment). Is this close to what you want to achieve?
This question has expired.
Luis Cordova voted on this question.
Current status of this question: Completed





