[symfony-users] Re: Symfony 2 Online Conference

2010-06-23 Thread Christian Schaefer

For those unfortunate enough to have missed the conference I tried to
wrap it all up here:

State of #Symfony 2 online conference - a killer feature revealed! -
http://bit.ly/cU5KOi

Cheers
/Christian


On Jun 23, 4:58 am, Eno symb...@gmail.com wrote:
 Anyone attending the online conference tomorrow? I didn't receieve any
 technical info on how to join the conference and my email asking for info
 bounced back (with an error message in French malheureusement!).

 Maybe someone at Sensio can help me?

 --

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: backend module

2010-06-23 Thread slau
Hi,

for 1) see
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_templates_customization

you can copy out of your cache folder
/cache/APP/ENV/modules/MODULENAME/templates/_list_actions.php
to your module template folder and then remove the link


for 2) then just change the filter in the corresponding class by
replacing the widget
$this-widgetSchema['user_id'] = new
sfWidgetFormFilterInput(array('with_empty' = false))


Hope that helps
Susan

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: fieldset

2010-06-23 Thread slau
well, depends on your needs. can you share more details?

since $form prints you only list-elements, you can always decorate it
with a fieldset by yourself.

if you want it more advanced and automatically, you could create your
own decorator.
Have a look into this post:
http://www.thatsquality.com/articles/7-days-of-symfony-1-1-forms-widgets-and-validators-day7

this is still valid for symfony 1.4


for a checkbox list with different labels you could create something
like this:

$this-widgetSchema['member_type'] = new sfWidgetFormChoice(array(
'choices' = array(
'B' = 'Boss',
'U' = 'User'
),
'expanded' = true,
'renderer_options' = array('template' = 'strong%group%/
strong %options%')
));

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: Day 1 - jobeet problem

2010-06-23 Thread pghoratiu
Try with frontend_dev.php because index.php (the production
controller) does not print out error messages.
Also try to put there a phpinfo.php that prints out the phpinfo() so
you can check if all your settings are allright.

gabriel


On Jun 22, 7:30 pm, Christian chri...@gmail.com wrote:
 Hi!

 my name is christian and i'm new with symfony framework.

 I found this step by step 
 tutorial:http://www.symfony-project.org/jobeet/1_2/Propel/it/01

 i have troubles during the apache configuration...

 this is my httpd.conf

 ___ __
 # Be sure to only have this line once in your
 #configuration
 NameVirtualHost 127.0.0.1:8080

 # This is the configuration for your project
 Listen 127.0.0.1:8080

 VirtualHost 127.0.0.1:8080
   DocumentRoot /home/chris/public_html/jobeet/web
   DirectoryIndex index.php
   Directory /home/chris/public_html/jobeet/web
     AllowOverride All
     Allow from All
   /Directory

   Alias /sf /home/chris/public_html/jobeet/web/lib/vendor/symfony/data/
 web/sf
   Directory /home/chris/public_html/jobeet/web/lib/vendor/symfony/
 data/web/sf
     AllowOverride All
     Allow from All
   /Directory
 /VirtualHost
 ___

 where public_html is my apcahe DocumentRoot in whitch i have a lot of
 directory with different site, but when i put this link in my 
 browser:http://localhost:8080/index.php(as the tutorial say) i can't see
 anything...only a blank page...

 can you help me please?

 thanks
 Chris

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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


Re: [symfony-users] Symfony 2 Online Conference

2010-06-23 Thread Fabien Potencier


On 6/23/10 4:58 AM, Eno wrote:


Anyone attending the online conference tomorrow? I didn't receieve any
technical info on how to join the conference and my email asking for info
bounced back (with an error message in French malheureusement!).

Maybe someone at Sensio can help me?


I will take care of that.

Fabien

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: Day 1 - jobeet problem

2010-06-23 Thread Christian
i opened it and this is the log:

[Wed Jun 23 13:47:30 2010] [error] [client 127.0.0.1] PHP Warning:
require_once(/home/chris/public_html/jobeet/web/config/
ProjectConfiguration.class.php): failed to open stream: No such file
or directory in /home/chris/public_html/jobeet/web/index.php on line 4
[Wed Jun 23 13:47:30 2010] [error] [client 127.0.0.1] PHP Fatal
error:  require_once(): Failed opening required '/home/chris/
public_html/jobeet/web/config/
ProjectConfiguration.class.php' (include_path='.:/usr/share/php:/usr/
share/pear') in /home/chris/public_html/jobeet/web/index.php on line 4
[Wed Jun 23 13:47:30 2010] [error] [client 127.0.0.1] PHP Warning:
require_once(/home/chris/public_html/jobeet/web/config/
ProjectConfiguration.class.php): failed to open stream: No such file
or directory in /home/chris/public_html/jobeet/web/index.php on line 4
[Wed Jun 23 13:47:30 2010] [error] [client 127.0.0.1] PHP Fatal
error:  require_once(): Failed opening required '/home/chris/
public_html/jobeet/web/config/
ProjectConfiguration.class.php' (include_path='.:/usr/share/php:/usr/
share/pear') in /home/chris/public_html/jobeet/web/index.php on line 4

i fixed the link but when i restart apache the log answer is:

[Wed Jun 23 13:50:52 2010] [error] [client 127.0.0.1] script '/home/
chris/public_html/jobeet/index.php' not found or unable to stat
[Wed Jun 23 13:50:53 2010] [error] [client 127.0.0.1] File does not
exist: /home/chris/public_html/jobeet/favicon.ico

and localhost:8080/index.php is always blank...


On 23 Giu, 03:13, Eno symb...@gmail.com wrote:
 On Tue, 22 Jun 2010, Christian wrote:
  where public_html is my apcahe DocumentRoot in whitch i have a lot of
  directory with different site, but when i put this link in my browser:
 http://localhost:8080/index.php(as the tutorial say) i can't see
  anything...only a blank page...

  can you help me please?

 Look at your Apache error log.

 --

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: Route does not add a parameter when its defined as a default one.

2010-06-23 Thread Ivo Az.
These are just example routes, there are no routes with the same name.
Why should order of route matter when I use it's name in the url
helper (e.g. link_for(5 '@blog?page=5'))?
For Route 3 this should output http://localhost/blog/page/5, but the
output is http://localhost/blog.

On Jun 23, 4:38 am, Eno symb...@gmail.com wrote:
 Remember the orderf of routes *does* matter, so you should have most
 specific route to least specific routes, e.g. using a wildcard will
 match all routes that start /blog so probably that route should be last.

 On Tue, 22 Jun 2010, Ivo Az. wrote:
  Here's examples:

   Link 
  ?php echo link_to($page, '@blog?page='.$page) ?

   Route 1
  blog:
    url:             /blog/*
    param:       { module: blog, action: list }

  Output:http://localhost/blog/page/2

   Route 2
  blog:
    url:             /blog/:page
    param:       { module: blog, action: list, page: 1 }

  Output:http://localhost/blog/2

   Route 3
  blog:
    url:             /blog/*
    param:       { module: blog, action: list, page: 1 }

  Output:http://localhost/blog

  Why in 3rd case the url does not contain the page parameter as in
  first example?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: Day 1 - jobeet problem

2010-06-23 Thread Christian
same thing with frontend_dev.php...

On 23 Giu, 08:55, pghoratiu pghora...@gmail.com wrote:
 Try with frontend_dev.php because index.php (the production
 controller) does not print out error messages.
 Also try to put there a phpinfo.php that prints out the phpinfo() so
 you can check if all your settings are allright.

     gabriel

 On Jun 22, 7:30 pm, Christian chri...@gmail.com wrote:



  Hi!

  my name is christian and i'm new with symfony framework.

  I found this step by step 
  tutorial:http://www.symfony-project.org/jobeet/1_2/Propel/it/01

  i have troubles during the apache configuration...

  this is my httpd.conf

  ___ 
  __
  # Be sure to only have this line once in your
  #configuration
  NameVirtualHost 127.0.0.1:8080

  # This is the configuration for your project
  Listen 127.0.0.1:8080

  VirtualHost 127.0.0.1:8080
    DocumentRoot /home/chris/public_html/jobeet/web
    DirectoryIndex index.php
    Directory /home/chris/public_html/jobeet/web
      AllowOverride All
      Allow from All
    /Directory

    Alias /sf /home/chris/public_html/jobeet/web/lib/vendor/symfony/data/
  web/sf
    Directory /home/chris/public_html/jobeet/web/lib/vendor/symfony/
  data/web/sf
      AllowOverride All
      Allow from All
    /Directory
  /VirtualHost
  ___

  where public_html is my apcahe DocumentRoot in whitch i have a lot of
  directory with different site, but when i put this link in my 
  browser:http://localhost:8080/index.php(asthe tutorial say) i can't see
  anything...only a blank page...

  can you help me please?

  thanks
  Chris

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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


Re: [symfony-users] Abridged summary of symfony-users@googlegroups.com - 44 Messages in 23 Topics

2010-06-23 Thread joost . farla
Beste,

Tot en met 27 juni ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met Wout Withagen: 
w...@freshheads.com of 013 5448761.

Met vriendelijke groet,

Joost Farla
joost.fa...@freshheads.com

- -

freshheads grafisch ontwerp en internet applicaties
Dunantstraat 1c | 5017 KC Tilburg | Nederland
tel. +31 (0)13 5448761 | fax. +31 (0)13 5448762
i...@freshheads.com | www.freshheads.com


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: How to pass PHP values to addJavascript() (or something else) ?

2010-06-23 Thread Massimiliano Arione
On 22 Giu, 10:03, François franc...@robichet.com wrote:
 I'd like to pass values to my JS script when I call it. So I look the
 API for the addJavascript() method, herre is it :

You shouldn't pass variables from php to javascript.
Javascript should be always unobtrusive, so the only point of contact
between your html (and php) and your javascript should be the DOM.
Just insert your php variables somewhere in your page (e.g. in a
hidden field of a form), then retrieve them with javascript (with
jQuery, it's really simple)

cheers
Massimiliano

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: Get record id and set it into form

2010-06-23 Thread titiyoyo
i used mergeForm()

i used id_table_a as foreign key.
so if i change it to table_a_id symfony would act as you described ?


On 21 juin, 12:48, glmasw glen.swinfi...@gmail.com wrote:
 When you say 'merged two forms' did you use the embedForm() or
 mergeForm() or did you do this manually?

 Assuming that the table_a_id is the foreign key for the record in
 table b, Symfony will deal with this for you if you use merged or
 embedded forms - see Doing More With Symfony - Advanced 
 Forms:http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-F...

 On Jun 21, 8:00 am, Tom Ptacnik to...@tomor.cz wrote:



  I think that the solution might be owerwriting the doSave method .. or
  some method where the saving of the object is done. You need to save
  the foreign object first - to obtain the id from the database, then
  save the main object.

  On 19 čvn, 12:24, titiyoyo terence.pi...@gmail.com wrote:

   Hi there,

   i'm new to symfony and am bumping into a problem here.
   I merged two forms from 2 different models and need to get a foreign
   key from table A to put in this table B form.

   Basically, i have to
   - create a record in table A and get this record's id
   - create a record in table B an set it's table_a_id to the value i
   just got
   - fill out the rest of the info that will be put in table B

   My question is :
   how can i get the needed id ?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] I18n in form filter

2010-06-23 Thread HAUSa
Is it possible to use fields from the i18n object table in the form
filter?
So can I embed the UserI18nFormFilter class in my UserFormFilter?

The normal embedI18n function from the sfForm class doesn't work...

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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


Re: [symfony-users] change label in ahDoctrineEasyEmbeddedRelationsPlugin

2010-06-23 Thread Daniel Lohse
I'll have to take a look at that — please ping me again in a little while (this 
evening or tomorrow morning).


Daniel

Sent from my iPad

On Jun 23, 2010, at 10:29 AM, slau susan@gmx.de wrote:

 Hi everybody,
 
 I am using ahDoctrineEasyEmbeddedRelationsPlugin  to embed pictureForms 
 within a let's say galleryForm. Each picture has a field title, which I use 
 also as return value for the __toString() method.
 
 in my galleryForm the related photos are listed. But each photo form is 
 labeled again with the object-name. See screen.gif , title=wom appears on the 
 left side as form name again.
 
 How can I turn off or at least replace the label with something else?
 
 My widget looks right now like that:
 
$this-embedRelations(array(
  'Photos' = array(
'considerNewFormEmptyFields'= array('title', 'file'),
'noNewForm' = false,  // false - show new form
'newFormLabel'  = 'Add new photo',
'newFormClass'  = 'JCropPhotoForm',
'newFormClassArgs'  = array(array('article_id' = 
 $this-getOption('id'))),
'displayEmptyRelations' = true,
'formClass' = 'JCropPhotoForm',
'formClassArgs' = 
 array(array('ah_add_delete_checkbox' = true )),
'newFormAfterExistingRelations' = true,  //moves new photo form after 
 the existing photo lists
'formFormatter' = null,
'multipleNewForms'  = true, // needs to be true if 
 newFormsInitialCount  1
'newFormsInitialCount'  = 1, // number of new forms, if 
 multipleNewForms is true
'newFormsContainerForm' = '',// pass BaseForm object here 
 or we will create ahNewRelationsContainerForm
'newRelationButtonLabel'= '+ add photo', // seems not to 
 work, but the button shows up only, when multipleNewForms is true
'newRelationAddByCloning'   = true,
'newRelationUseJSFramework' = 'jQuery'
  )
));
 
 
 
 Susan
 
 -- 
 If you want to report a vulnerability issue on symfony, please send it to 
 security at symfony-project.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
 screen.gif

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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


Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin bug when sfWidgetFormInputFile used?

2010-06-23 Thread Daniel Lohse
Yes, this is — regrettably — a known and documented shortcoming of this plugin. 
I'll have to spend some time getting this to work. :(


Daniel

Sent from my iPad

On Jun 23, 2010, at 5:21 PM, slau susan@gmx.de wrote:

 Hi,
 
 bug or feature or developer mistake?
 
 I try to use ahDoctrineEasyEmbeddedRelationsPlugin  for a gallery with 
 multiple pictures. So this is a 1:n relation.
 
 The form works fine as long my embed pictureForm has just standard 
 input-fields. as soon I change the file field to sfWidgetFormInputFile  the 
 empty form for possible new uploads will be saved as well.
 
 did someone else had that problem?
 susan
 
 -- 
 If you want to report a vulnerability issue on symfony, please send it to 
 security at symfony-project.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

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Updating the database with embedded form values

2010-06-23 Thread bretth
Hi all,

i've got a question regarding where to put the code that actually
saves the values in an embedded form.

My scenario: I have a business object and a business_category object
as well as a business_business_category object which ties
business_categories to a business in a many to many relationship.

I have created a custom form (businessCategoriesSelectionForm) which
basically does:

--

  $categories = Doctrine::getTable('business_category')-findAll();

  foreach ($categories as $category) {
$this-setWidget($category-getSlug(), new
sfWidgetFormInputCheckbox());
$this-setValidator($category-getSlug(), new
sfValidatorBoolean());
  }

--

to build a list of checkboxes. In the businessForm I then embed this
form:

--

  // Embed the categories form
  $businessCategoriesSelectionForm = new
businessCategoriesSelectionForm();
  $this-embedForm('businessCategoriesSelectionForm',
$businessCategoriesSelectionForm);

--

Everything is good so far; when I am using the admin-generator
backend, I then see the custom form I build appear; with the
checkboxes appearing as they should etc.

So now, my question is: where do I write the code which will delete/
create business_business_category objects to ensure that the business
is linked to which ever categories have been selected in the
checkboxes?

I am used to doing it in the controller, whenever these kinds of
things are done via the front end (ie not using the admin-generator
system). Is this the best way to be doing it?

If so, where does this sort of code go? What method would I use in /
apps/backend/modules/business/actions/actions.class.php? Some sort of
preFoo() method?

I've gotten the impression from the docs that this sort of thing
should actually be done on the form itself; using the updateObject()
method or something. Is that the best place for it? And if so, would I
put it on the businessForm updateObject() or the
businessCategoriesSelectionForm form?

In the past, it's always seemed better to put this kind of stuff in
the controller itself, instead of the form; because to me the form is
more about setting up and validating form's, not so much about
actually updating the database (via the Model layer of course).

Am I way off track here?

And where should that update code go?

thanks a lot!

Brett

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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] Re: Updating the database with embedded form values

2010-06-23 Thread bretth
Additionally to this; I have tried using the doUpdateObject() method;
I figure I can put the update code in there. However, the method isn't
getting called.

In my /lib/form/doctrine/businessForm.class.php, as a method of the
businessForm class, I have:

  protected function doUpateObject($values) {
echo 'why doesnt this work?';
exit('in doUpateObject');
parent::doUpdateObject($values);
  }

However when I use the backend admin generator, and save a business;
this method doesn't get called -- the exit() doesn't get triggered.

What am I missing here?

thanks



On Jun 24, 11:33 am, bretth brett...@gmail.com wrote:
 Hi all,

 i've got a question regarding where to put the code that actually
 saves the values in an embedded form.

 My scenario: I have a business object and a business_category object
 as well as a business_business_category object which ties
 business_categories to a business in a many to many relationship.

 I have created a custom form (businessCategoriesSelectionForm) which
 basically does:

 --

   $categories = Doctrine::getTable('business_category')-findAll();

   foreach ($categories as $category) {
     $this-setWidget($category-getSlug(), new
 sfWidgetFormInputCheckbox());
     $this-setValidator($category-getSlug(), new
 sfValidatorBoolean());
   }

 --

 to build a list of checkboxes. In the businessForm I then embed this
 form:

 --

   // Embed the categories form
   $businessCategoriesSelectionForm = new
 businessCategoriesSelectionForm();
   $this-embedForm('businessCategoriesSelectionForm',
 $businessCategoriesSelectionForm);

 --

 Everything is good so far; when I am using the admin-generator
 backend, I then see the custom form I build appear; with the
 checkboxes appearing as they should etc.

 So now, my question is: where do I write the code which will delete/
 create business_business_category objects to ensure that the business
 is linked to which ever categories have been selected in the
 checkboxes?

 I am used to doing it in the controller, whenever these kinds of
 things are done via the front end (ie not using the admin-generator
 system). Is this the best way to be doing it?

 If so, where does this sort of code go? What method would I use in /
 apps/backend/modules/business/actions/actions.class.php? Some sort of
 preFoo() method?

 I've gotten the impression from the docs that this sort of thing
 should actually be done on the form itself; using the updateObject()
 method or something. Is that the best place for it? And if so, would I
 put it on the businessForm updateObject() or the
 businessCategoriesSelectionForm form?

 In the past, it's always seemed better to put this kind of stuff in
 the controller itself, instead of the form; because to me the form is
 more about setting up and validating form's, not so much about
 actually updating the database (via the Model layer of course).

 Am I way off track here?

 And where should that update code go?

 thanks a lot!

 Brett

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.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