[symfony-users] sfGuardUserFormFilter Customization

2009-07-23 Thread Germana Oliveira

I tried what you tell me but this error comes out:

Unable to set the label on an unexistant widget (from_date).




something like this should work.

$this - widgetSchema - setLabel(from_date, From);

Daniel


On Jul 22, 8:08 pm, Germana Oliveira germanaolivei...@gmail.com
wrote:
 Hi!!

 Im trying to customize my  UserFormFilter, so i have this in my  setWidget:
 ...
  'created_at'= new
 sfWidgetFormFilterDate(array('from_date' = new sfWidgetFormDate(),
 'to_date' = new sfWidgetFormDate(), 'with_empty' = true)),
  ...

 How can i change the labels of: 'from_date' and 'to_date' ???

 Thanks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] sfGuardUserFormFilter Customization

2009-07-22 Thread Germana Oliveira

Hi!!

Im trying to customize my  UserFormFilter, so i have this in my  setWidget:
...
 'created_at'= new 
sfWidgetFormFilterDate(array('from_date' = new sfWidgetFormDate(), 
'to_date' = new sfWidgetFormDate(), 'with_empty' = true)),
 ...

How can i change the labels of: 'from_date' and 'to_date' ???

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---