[symfony-users] Why this action from a custom form doesn't take values ...

2009-06-08 Thread Reynier Perez Mira
Hi every: I have this two methods in my class: public function executeFiltrarPorApartamentoForm(sfWebRequest $request) { $this-form = new TbPorApartamentoForm(); $this-setTemplate('porApartamento'); } public function executeFiltrarPorApartamento(sfWebRequest $request) { echo

[symfony-users] Re: Doctrine File upload trouble

2009-06-08 Thread Thomas Rabaix
The error comes from Doctrine Validation feature. You have to set the 'type' field, or disable the feature On Sun, Jun 7, 2009 at 7:44 PM, mlmarius mlmar...@gmail.com wrote: I first provided an array of mime types and after that i tried with the mime category but still nothing, same

[symfony-users] Re: Doctrine File upload trouble

2009-06-08 Thread mlmarius
If you are refering to the mime types , as i've said above , i did set the mime types. If not please be more specific ... to which type are you referring ? On 8 Iun, 10:43, Thomas Rabaix thomas.rab...@gmail.com wrote: The error comes from Doctrine Validation feature. You have to set the 'type'

[symfony-users] Re: functional testing

2009-06-08 Thread esion
You should search on web some informations about css selector The first line is trying to test if the tag below exists ul id=listlia href=#click me/a/li/ul On Jun 4, 6:47 pm, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hi, We are trying to understand the below code written for testing we

[symfony-users] Re: Doctrine File upload trouble

2009-06-08 Thread Johannes Heinen
It is probably not the best solution for your problem, but if you'd use sfFilebasePlugin which supports a few doctrine based asset management capabilities added to various file handling stuff based on SPL, you could help me to improve the plugin and provide a stable assets manager for sf 1.2 +

[symfony-users] Re: Doctrine File upload trouble

2009-06-08 Thread mlmarius
No worries mate ... it's good to hear about the plugin you are working on ... and i may give it a shot some time but i first need to figure out what's wrong with my code. Thanks . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] How to build my own filters

2009-06-08 Thread Reynier Perez Mira
Hi every: I need filter some data and for that nothing better than the filters generated using symfony propel:build-filters or even better using admin-generator filters but I need a special filter for a given role based on user permissions. Does anybody know how to do this? I was thinking and

[symfony-users] Cannot run propel:build-sql with multiple schema XML files?

2009-06-08 Thread Eno
When running propel:build-sql in a symfony 1.2 project, I get this error: Fatal error: Call to a member function addTable() on a non-object in / usr/local/lib/php/symfony/plugins/sfPropelPlugin/lib/vendor/propel- generator/classes/propel/phing/PropelSQLTask.php on line 237 Unfortunately, its

[symfony-users] Doctrine i18n tables

2009-06-08 Thread Salim
Hi everybody I have some troubles with doctrine i18n tables. I have a foo model, with i18n columns, and i want to fetch each row of this table : class FooActions extends sfActions { public function executeIndex() { $this-foos = Doctrine::getTable('Foo')-findAll(); } } But then i have

[symfony-users] Re: Doctrine File upload trouble

2009-06-08 Thread mlmarius
[SOLVED] For who may encounter this problem : allways set your 'path' variable inside sfValidatorFile --~--~-~--~~~---~--~~ 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] Re: Option ids in routing rules?

2009-06-08 Thread Campezzi
Hi Eno, Not sure if this is the best solution, but nothing stops you from creating another rule without the page parameter: url: /getarticle_by_id/:id param: { module: xxx, action: yyy } url: /getarticle_by_id/:id/:page param: { module: xxx, action: zzz } Cheers Thiago Campezzi On Jun 8,

[symfony-users] Adding model behaviors

2009-06-08 Thread Eno
I know you can specify behaviors when writing schema YAML files. But what about if you're using XML? How do you add behaviours then? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] So rare file uploaded problem...

2009-06-08 Thread Gustavo G.
Hi there! I've been all the day with the same problem! Please help! I have this form: class PersonaBatchForm extends sfForm { public function configure() { $this-widgetSchema['csv_file'] = new sfWidgetFormInputFile(array( 'label' = 'Ingrese su archivo csv' ));

[symfony-users] Re: Option ids in routing rules?

2009-06-08 Thread Frank Stelzer
Hi, url: /getarticle_by_id/:id/:page param: { module: xxx, action: zzz } - url: /getarticle_by_id/:id/:page param: { module: xxx, action: zzz, page: 1 } This will do it, however the routing will then generate links in the form: /getarticle_by_id/123/1, however /getarticle_by_id/123 is

[symfony-users] Re: problem on file download

2009-06-08 Thread ctrlming
thank you, I tried many times , but the problem still exist. I think it`s not code`s problem,maybe something else. On 6月7日, 下午10时09分, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote: This is my version which works form me: // Enforce full download and prevent caching

[symfony-users] Re: Session Timeout Issue

2009-06-08 Thread DEEPAK BHATIA
Hi, What is the maximum value of timeout ? Also in case we want to give infinite timeout, what should we do then ? Thanks Deepak Bhatia On Mon, Jun 1, 2009 at 12:35 PM, Tomasz Ignatiuktomek.ignat...@gmail.com wrote: Everything seems to be fine. Maybe try to set this:   storage: