Is it possible to have a tuto on how doing this?
I've explained my problem in these posts:
Trying to embed sub filter form in the main filter form of a class based Admin generated module only leads to some facts:
- Embeded filter form are not bound when we trye to filter the list has the main filter form is.
- Even if I force the binding of sub filter form I came up to a sub filter form invalid, a _csrf_token [Required.] error on the sub filter forma appears.
Sound weird that sf ask me the token in the sub form cause I know that is actually present in the main filter form!
-Any way I try to use the patch :
In order that sfForm::renderHiddenFields() render the hidden field (the token) in embed forms but with no successs..
-So I try to force the inclusion of the token in the sub form I fall on a _csrf_token [CSRF attack detected.]...!!!
So for the heaven sake is it possible to embed filter form in the main filter form of and admin gen module?
If someone has resolve this pb, I ll be very glad to know how you didi this!!!
If not, I ask to the Sf team:
Explain us how to to do that please!!!