[symfony-users] Getting doctrine objects attributtes inside a Validator

2009-08-17 Thread jaime

Hi.

I'm ussing a class that extends a validator, specifically it extends
the sfValidatedFile.

What I need is to get the attributes of the Doctrine Object that is
been saved. For example, something like $job->getName(), or $job->getId
().

I don't know how to access that object, anyone knows?

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] Re: sfWidgetFormDoctrineChoice with i18n

2009-08-17 Thread afilina

That code works perfectly. Thank you very much!
--~--~-~--~~~---~--~~
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] Re: sfWidgetFormDoctrineChoice with i18n

2009-08-17 Thread Andrei Dziahel
Hi.

Here is an excerpt from my blablaForm::setup():

> $this->setWidget('country',
>   new sfWidgetFormDoctrineSelect(array('model' => 'Country',
>   'query' => Doctrine::getTable('Country')->
> createQuery('c')->leftJoin('c.Translation ct')->orderBy('c.order DESC,
> ct.name ASC';
>


2009/8/18 afilina 

>
> Could you please demonstrate how to use this method? I didn't find
> anything useful in the documentation to help me. Say I want to get a
> list of products with their names from within my controller.
>
> Thanks,
> Anna
> >
>


-- 
With the best regards, Andy.

--~--~-~--~~~---~--~~
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] Re: sfWidgetFormDoctrineChoice with i18n

2009-08-17 Thread afilina

Could you please demonstrate how to use this method? I didn't find
anything useful in the documentation to help me. Say I want to get a
list of products with their names from within my controller.

Thanks,
Anna
--~--~-~--~~~---~--~~
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] Re: Connect MySQL database

2009-08-17 Thread Eno

On Mon, 17 Aug 2009, JorgeContreras wrote:

> If anybody knows how to enable it I would aprecciate advice. Thanks in
> advance.


pecl install -a pdo_mysql



-- 



--~--~-~--~~~---~--~~
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] Re: Connect MySQL database

2009-08-17 Thread Gábor Fási

Check your php.ini, the extensions part, you'll find it there,
uncomment the neccesary line.

On Mon, Aug 17, 2009 at 19:42, JorgeContreras wrote:
>
> When I try to connect to a MySQL database I get an error message:
> Unable to open PDO connection [wrapped: could not find driver]
>
> Then I execute the getAvailableDrivers() function I get this result:
> Array ( [0] => sqlite2 [1] => sqlite )
>
> I guess I have to install or enable the MySQL driver but I dont know
> how to do it.
> I'm using Mac OS X Leopard.
>
> If anybody knows how to enable it I would aprecciate advice. Thanks in
> advance.
>
> Jorge Contreras
>
> >
>

--~--~-~--~~~---~--~~
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] Connect MySQL database

2009-08-17 Thread JorgeContreras

When I try to connect to a MySQL database I get an error message:
Unable to open PDO connection [wrapped: could not find driver]

Then I execute the getAvailableDrivers() function I get this result:
Array ( [0] => sqlite2 [1] => sqlite )

I guess I have to install or enable the MySQL driver but I dont know
how to do it.
I'm using Mac OS X Leopard.

If anybody knows how to enable it I would aprecciate advice. Thanks in
advance.

Jorge Contreras

--~--~-~--~~~---~--~~
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] Re: symfony cache lifetime

2009-08-17 Thread Szabolcs Heilig
Hi,

As of Symfony 1.1 you can pass an sfCache object to the constructor.
I think, sfFileCache doesn't do anything with expiration, but sfMemcache
does.


> how can I set the function cache entries' lifetime?
>

Heilig Szabolcs

--~--~-~--~~~---~--~~
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] symfony cache lifetime

2009-08-17 Thread Hofferek Attila

Hi,

how can I set the function cache entries' lifetime?

--~--~-~--~~~---~--~~
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] Re: Using the Admin Generator for a Plugin

2009-08-17 Thread Richtermeister

Hey Chris,

I found the quickest way is to use the generate-admin task to create a
new admin generator based on a particular model, and then move that
generated module into a plugin. The only thing you need to watch out
for is to register the routes "manually", because you can't package a
routing.yml with the plugin. When you look at the sfGuardPlugin you
can see how that's done.

Daniel



On Aug 16, 2:55 pm, Chris Renfrow  wrote:
> What I am trying to do is convert my commonly used modules and
> converting them into plugins. I want to install these plugins on the
> servers symfony installation / lib / plugins level so that all my
> website applications can access the same plugins.
>
> I have the fontend work, I am able to make calls to my plugin and its
> working out great. However I am having a hard time getting my plugins
> to work with the admin generator. I tried to see how  sfGuard is doing
> it but did not get very far with that approach. What is the best
> approach to getting a module into the "Admin" App so that I can create
> new records and edit those records? I would prefer for the "admin" for
> the plugin to be the same for each site and I would really like it I
> just had to edit the apps/admin/config/settings.yml  to include the
> plugins admin module and then setup routing and be set.
>
> Any advice or links would be awesome, been searching and hacking at
> this for the past 4 hours, thought it was about time to ask for help.
>
> 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] Re: day 16: Integrity constraint violation: 1048 Column 'affiliate_id' cannot be null

2009-08-17 Thread luigi

Hi,
I downloaded the svn version file of  schema.yaml
Now ti's all ok.
Try this.
JobeetCategory:
  actAs:
Timestampable: ~
Sluggable:
  fields: [name]
  columns:
name:
  type: string(255)
  notnull:  true

JobeetJob:
  actAs:
Timestampable: ~
  columns:
category_id:
  type: integer
  notnull:  true
type:
  type: string(255)
company:
  type: string(255)
  notnull:  true
logo:
  type: string(255)
url:
  type: string(255)
position:
  type: string(255)
  notnull:  true
location:
  type: string(255)
  notnull:  true
description:
  type: string(4000)
  notnull:  true
how_to_apply:
  type: string(4000)
  notnull:  true
token:
  type: string(255)
  notnull:  true
  unique: true
is_public:
  type: boolean
  notnull:  true
  default:  1
is_activated:
  type: boolean
  notnull:  true
  default:  0
email:
  type: string(255)
  notnull:  true
expires_at:
  type: timestamp
  notnull:  true
  relations:
JobeetCategory:
  local:  category_id
  foreign:  id
  foreignAlias: JobeetJobs

JobeetAffiliate:
  actAs:
Timestampable: ~
  columns:
url:
  type: string(255)
  notnull:  true
email:
  type: string(255)
  notnull:  true
  unique: true
token:
  type: string(255)
  notnull:  true
is_active:
  type: boolean
  notnull:  true
  default:  0
  relations:
JobeetCategories:
  class: JobeetCategory
  refClass: JobeetCategoryAffiliate
  local: affiliate_id
  foreign: category_id
  foreignAlias: JobeetAffiliates

JobeetCategoryAffiliate:
  columns:
category_id:
  type: integer
  primary:  true
affiliate_id:
  type: integer
  primary:  true
  relations:
JobeetCategory:
  onDelete: CASCADE
  local:  category_id
  foreign:  id
JobeetAffiliate:
  onDelete: CASCADE
  local:  affiliate_id
  foreign:  id

ord download from
http://svn.jobeet.org/doctrine/tags/release_day_16/config/doctrine/
by.
Luigi Massa

On 7 Ago, 11:20, Verhavert Maarten  wrote:
> Hey Guys,
>
> I'm having the same problem. Always getting that error when i try to use
> fixtures.
> Does anyone have a solution.
> grtz
>
> Maarten
>
> luigi schreef:
>
> > Yes,
> > I can't use fixtures.
>
> > On 3 Ago, 23:29, Eno  wrote:
>
> >> On Mon, 3 Aug 2009, luigi wrote:
>
> >>> at the begin of the day, tutorial ask to change schema and fixture.
> >>> When I execute doctrine:data-load after rebuild the db, Symfony shows
> >>> this message:
>
> >>> Integrity constraint violation: 1048 Column 'affiliate_id' cannot be
> >>> null
>
> >>> How can I resolve it? I searched in forums and google. I found only
> >>> this post.http://www.developpez.net/forums/d707479/php/bibliotheques-f
> >>> rameworks/symfony/tuto-jobeet-day-16-reintegration-donnees/.
>
> >>> Actually I loaded manually datas.
>
> >> So you're not using fixtures?
>
> >> --
--~--~-~--~~~---~--~~
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] Re: style sheet issue

2009-08-17 Thread Jérome Vandenende
if the css is in the generated HTML, check if you can access the css file
manually by doing : http://yourlocalwebsite/css/main.css

If you get an 404 error, it may be an permission issue.


On Mon, Aug 17, 2009 at 4:18 PM, Eno  wrote:

>
> On Mon, 17 Aug 2009, sunny wrote:
>
> > i have file main.css and i have included in view.yml.
>
> Show us view.yml.
>
> > but the page doesnot display the main.css file.
>
> Is it in the HTML generated?
>
> What does your layout look like?
>
>
>
> --
>
>
>
> >
>

--~--~-~--~~~---~--~~
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] I18n + doctrine + admin generator = Doctrine_Validator_Exception

2009-08-17 Thread Jérome Vandenende
Hello,
I've a strange problem here with my form.

Here is my schema.yml :

Site:
  actAs:
I18n:
  fields:   [name, description]
Timestampable:  ~
  columns:
stylesheet: { type: string(255) }
favicon:{ type: string(255) }
short_name: { type: string(255), notnull: true, unique: true }
name:   { type: string(255), notnull: true }
description:{ type: string(4000) }
address:{ type: string(255) }
contact_email:  { type: string(255), notnull: true }

When I embed i18n to my form I get the following error:

Validation failed in class SiteTranslation

2 fields had validation errors:

* 1 validator failed on name (notnull)
* 1 validator failed on lang (length)
stack trace

   - at ()
   in
   
SF_ROOT_DIR\lib\vendor\symfony\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Transaction.php
   line 265 ... 
   1. if ($this->_internalNestingLevel == 1) {
 2. $tmp = $this->invalid;
 3. $this->invalid = array();
 4. throw new Doctrine_Validator_Exception(
 $tmp);
 5. }
 6. }
 7. if ($this->_nestingLevel == 1) {
  - at Doctrine_Transaction->commit(null)
   in
   
SF_ROOT_DIR\lib\vendor\symfony\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Connection.php
   line 1410
   1.  */
 2. public function commit($savepoint = null)
 3. {
 4. return $this->transaction->commit($savepoint);
 5. }
 6.
 7. /**
  - at Doctrine_Connection->commit()
   in
   
SF_ROOT_DIR\lib\vendor\symfony\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Connection\UnitOfWork.php
   line 126


If I remove the embedded form, I've no error, everything running fine.

It look exactly the same as this old bug :
http://trac.symfony-project.org/ticket/4907  but I'm running symfony
1.2.8... and the bug was closed long time ago...

--~--~-~--~~~---~--~~
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] Re: style sheet issue

2009-08-17 Thread Eno

On Mon, 17 Aug 2009, sunny wrote:

> i have file main.css and i have included in view.yml.

Show us view.yml.

> but the page doesnot display the main.css file.

Is it in the HTML generated?

What does your layout look like?



-- 



--~--~-~--~~~---~--~~
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] Re: Plesk, psa-pear, and propel

2009-08-17 Thread Pablo Godel

Hi,

That is very weird. What version of Plesk are you running? Is this app
running inside Plesk admin or within a website managed by Plesk?

Pablo

On Mon, Aug 17, 2009 at 5:55 AM, Sid Bachtiar wrote:
>
> Hi all,
>
> I have a frozen symfony 1.0 project that I've installed in Plesk
> environment. At the moment, every time after something is changed in
> Plesk, the website throw this error:
>
> Warning: require_once(propel/om/Persistent.php)
> [function.require-once]: failed to open stream: No such file or
> directory in 
> /var/www/vhosts/xxx/httpdocs/aaa/lib/symfony/vendor/propel/om/BaseObject.php
> on line 23
>
> Fatal error: require_once() [function.require]: Failed opening
> required 'propel/om/Persistent.php'
> (include_path='.:/usr/share/psa-pear') in
> /var/www/vhosts/xxx/httpdocs/aaa/lib/symfony/vendor/propel/om/BaseObject.php
> on line 23
>
> When this happens, restarting plesk fixes it.
>
> Does anyone have similar experience with Plesk environment?
>
> --
> Blue Horn Ltd - System Development
> http://bluehorn.co.nz
>
> >
>



-- 
Pablo Godel
ServerGrove Networks
http://servergrove.com/

--~--~-~--~~~---~--~~
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] R: style sheet issue

2009-08-17 Thread silvio.cimino


maybe, the css file is not available from the web. You could try to open
with your browser the address to the css file and verify if it is loaded.


-Messaggio originale-

i have file main.css and i have included in view.yml.

but the page doesnot display the main.css file.

help needed



--~--~-~--~~~---~--~~
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] about propel insert sql

2009-08-17 Thread sunny

Some problems occurred when executing the
task:
If the exception message is not clear enough, read the output of
the task for more information


where can i read the output of the task for more information
--~--~-~--~~~---~--~~
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] problem in my schema

2009-08-17 Thread sunny

i get this warinig when i use insert sql:

[propel-sql-exec] Failed to execute:

 CREATE TABLE `hr_pr_salary_grade`
 (
 `sal_grd_code` INTEGER  NOT NULL AUTO_INCREMENT,
 `sal_grd_name` VARCHAR,
 `created_by` INTEGER,
 `created_when` DATETIME,
 `modified_by` INTEGER,
 `modified_when` DATETIME,
 PRIMARY KEY (`sal_grd_code`),
 INDEX `hr_pr_salary_grade_FI_1` (`created_by`),
 CONSTRAINT `hr_pr_salary_grade_FK_1`
 FOREIGN KEY (`created_by`)
 REFERENCES `users` (`id`),
 INDEX `hr_pr_salary_grade_FI_2` (`modified_by`),
 CONSTRAINT `hr_pr_salary_grade_FK_2`
 FOREIGN KEY (`modified_by`)
 REFERENCES `users` (`id`)
 )Type=InnoDB
[propel-sql-exec] SQLSTATE[42000]: Syntax error or access violation:
1064 You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near '
 `created_by` INTEGER,
 `created_when` DATETIME,
 `modified_by` INTEGER,
 `modi' at line 4

  Some problems occurred when executing the
task:
If the exception message is not clear enough, read the output of
the task for more information
--~--~-~--~~~---~--~~
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] Re: style sheet issue

2009-08-17 Thread Eno

On Mon, 17 Aug 2009, asim nizam wrote:

> > > i have file main.css and i have included in view.yml.
> > >
> > > but the page doesnot display the main.css file.

What do you mean by 'display'? Web browsers dont normally show CSS...

What does your layout file look like?

Have you looking at the HTML produced? What does it look like?


-- 



--~--~-~--~~~---~--~~
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] Re: style sheet issue

2009-08-17 Thread asim nizam
I have clear cache it still not working

On Mon, Aug 17, 2009 at 5:04 PM, Sid Bachtiar wrote:

>
> symfony cc
>
> On Mon, Aug 17, 2009 at 10:50 PM, sunny wrote:
> >
> > i have file main.css and i have included in view.yml.
> >
> > but the page doesnot display the main.css file.
> >
> > help needed
> > >
> >
>
>
>
> --
> Blue Horn Ltd - System Development
> http://bluehorn.co.nz
>
> >
>

--~--~-~--~~~---~--~~
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] Re: style sheet issue

2009-08-17 Thread Sid Bachtiar

symfony cc

On Mon, Aug 17, 2009 at 10:50 PM, sunny wrote:
>
> i have file main.css and i have included in view.yml.
>
> but the page doesnot display the main.css file.
>
> help needed
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~-~--~~~---~--~~
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] style sheet issue

2009-08-17 Thread sunny

i have file main.css and i have included in view.yml.

but the page doesnot display the main.css file.

help needed
--~--~-~--~~~---~--~~
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] Plesk, psa-pear, and propel

2009-08-17 Thread Sid Bachtiar

Hi all,

I have a frozen symfony 1.0 project that I've installed in Plesk
environment. At the moment, every time after something is changed in
Plesk, the website throw this error:

Warning: require_once(propel/om/Persistent.php)
[function.require-once]: failed to open stream: No such file or
directory in 
/var/www/vhosts/xxx/httpdocs/aaa/lib/symfony/vendor/propel/om/BaseObject.php
on line 23

Fatal error: require_once() [function.require]: Failed opening
required 'propel/om/Persistent.php'
(include_path='.:/usr/share/psa-pear') in
/var/www/vhosts/xxx/httpdocs/aaa/lib/symfony/vendor/propel/om/BaseObject.php
on line 23

When this happens, restarting plesk fixes it.

Does anyone have similar experience with Plesk environment?

-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~-~--~~~---~--~~
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] Re: Custom rendering of widgets

2009-08-17 Thread Ken Marfilla

The formatter also has a serious limitation. Currently, it doesn't
have any idea about the widget it is rendering.

I for example wanted to use a different row format if the widget is an
embedded form, i will not be able to. It's not just extending the
formatter to suit my needs but i will also have to override
sfFormField::renderRow and sfWidgetFormSchema::render to pass the
widget object.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---