Re: [symfony-users] Re: Filtering a list from the action

2010-02-26 Thread Javier Garcia
I finally get it works with this: $this-filter = new BirthdayFormFilter(array('name'=array('text'='Peter'))); Javi On 02/16/2010 05:35 PM, Javier Garcia wrote: I give you more code: I have this code below in the index template. The filter form (without Peter as default value, of course..)

Re: [symfony-users] Re: Filtering a list from the action

2010-02-16 Thread Javier Garcia
On 02/16/2010 04:19 PM, Florian wrote: What is the error? Have you cleared your navigation history/cache ? ( firefox seems to keep the selected values... ) Yes, i cleared it but the default value is not showed.. There isn't any error. -- You received this message because you are

Re: [symfony-users] Re: Filtering a list from the action

2010-02-16 Thread Javier Garcia
On 02/16/2010 04:26 PM, Tom Ptacnik wrote: Or you need to set this in the action? Yes, i need to set this in the action. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To

Re: [symfony-users] Re: Filtering a list from the action

2010-02-16 Thread Javier Garcia
I give you more code: I have this code below in the index template. The filter form (without Peter as default value, of course..) and Peter are showed. ?php use_helper('Form'); ?. ?php echo form_tag('birthday/filtrar') ? ?php echo $filter; ? div?php echo submit_tag('Filter') ?/div /form