[symfony-users] Why is this bug still not fixed?

2010-03-11 Thread SymfonyNewbie
http://groups.google.com/group/symfony-devs/browse_thread/thread/73bf59078347a57b/9ea00a7ebaa591de It's posted by someone very long ago,single action per file is not going to be fully supported? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-pro

[symfony-users] Re: How to customize the save process of many-to-many relation in symfony form framework?

2010-03-05 Thread SymfonyNewbie
b->prepare($sql); >  $stmt->execute(array($name)); > > On Mar 5, 8:37 am, Tom Ptacnik wrote: > > > > > I'm not good at doctrine at all, but I think that i you don't know how > > to write this in DQL (Doctrine Query Language) there is a way how

[symfony-users] Re: How to customize the save process of many-to-many relation in symfony form framework?

2010-03-03 Thread SymfonyNewbie
y... > > On 3 bře, 13:07, SymfonyNewbie wrote: > > > > > The relation between posts and tags is n2m, > > > the pure mysql solution is like this: > > >     $dml = "insert into tags(name) value('$name') on duplicate key > > upadte count=count

[symfony-users] How to customize the save process of many-to-many relation in symfony form framework?

2010-03-03 Thread SymfonyNewbie
The relation between posts and tags is n2m, the pure mysql solution is like this: $dml = "insert into tags(name) value('$name') on duplicate key upadte count=count+1"; mysql_query($dml); $dml = "insert into tagowner(post,tag) value($postid,$tagid)"; mysql_query($dml); How to do s

[symfony-users] A suggestion for javscript plugin/widget of the symfony community

2010-03-01 Thread SymfonyNewbie
It's only classified by symfony version, in order for it to be practically reusable, I think it should also need to be grouped by the library(prototype,jquery,yui) and version(1.3,1.4...) What's your opinion? -- If you want to report a vulnerability issue on symfony, please send it to securit

[symfony-users] Re: How to include javascript files in web/js/ui/ in symfony?

2010-03-01 Thread SymfonyNewbie
last). > > On 1 mar, 17:12, SymfonyNewbie wrote: > > > > > Oh,this time it works. > > > Why it doesn't work when I set  the location explicitly? > > > On 3月1日, 下午11时36分, jp_morvan wrote: > > > > Hi, > > > Did you try this : > >

[symfony-users] Re: How to include javascript files in web/js/ui/ in symfony?

2010-03-01 Thread SymfonyNewbie
Oh,this time it works. Why it doesn't work when I set the location explicitly? On 3月1日, 下午11时36分, jp_morvan wrote: > Hi, > Did you try this : >   use_javascript('ui/jquery.ui.core.js'); > > symfony add 'js/' > > On 1 mar, 16:00

[symfony-users] How to include javascript files in web/js/ui/ in symfony?

2010-03-01 Thread SymfonyNewbie
I tried this: use_javascript('jquery.ui.core.js','/js/ui/'); But it reports: The position "/js/ui/" does not exist -- 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 Goo

[symfony-users] How does the local field for relation work ?

2010-02-24 Thread SymfonyNewbie
Dinner: columns: date: { type: timestamp, notnull: true } nb_presents: { type: integer, notnull: true } relations: Marks: class:Criteria local:dinner_id foreign: criteria_id refClass: Mark type: many

[symfony-users] Why are useful commands like "doctrine:build-all-reload" removed in symfony 1.4?

2010-02-24 Thread SymfonyNewbie
Here is all the commands: Available tasks for the "doctrine" namespace: :build :build-db :build-filters :build-forms :build-model :build-schema :build-sql :clean-model-files :create-model-tables :data-dump :data-load :delete-model-files :dql :drop-db :generate-admin