Hi folks,

scenario: user table with FK to department table.

I want to set an hidden field with the FK department id.
This id is rietrieved from the context, session, whatever.
I don't want to access the sfContext in the form configure.

The doctrine/propel form constructor has as first argument the object model
and as second argument an option array.
Should i use the options array for passing/retrieving/setting the default FK
id value during form configuration?
What it is the best way to do that with a doctrine/propel form?

I hope i made myself clear.

thanks
cirpo

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

Reply via email to