This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » development » Feature requests » A tuto or snippet on how embeding filer forms in the main filter form of the Admin Gen !
A tuto or snippet on how embeding filer forms in the main filter form of the Admin Gen ! [message #90855] Tue, 05 January 2010 15:06
shopoto
Messages: 19
Registered: July 2009
Junior Member
HI everyone!


Is it possible to have a tuto on how doing this?

I've explained my problem in these posts:
http://forum.symfony-project.org/index.php/t/24598/
http://forum.symfony-project.org/index.php/t/24622/

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 :
http://trac.symfony-project.org/ticket/6531
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!!!

Razz
Previous Topic:Customizable class between Doctrine Records and Symfony
Next Topic:IDE for Symfony
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software