[symfony-users] Re: possible to get object from form without save? propel nested set insert problem

2010-05-03 Thread Tofuwarrior
:-)

It's tough work! that's why  apparently my brain doesn't work anymore.

On Apr 30, 7:44 pm, Eno symb...@gmail.com wrote:
 On Fri, 30 Apr 2010, Tofuwarrior wrote:
  How embarrassing.

  -getObject();

  erm.

  shuffles off to read API again.

 Stop fighting that tofu! :-)

 --

 --
 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 
 athttp://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] Re: possible to get object from form without save? propel nested set insert problem

2010-04-30 Thread Tofuwarrior
How embarrassing.

-getObject();

erm.

shuffles off to read API again.



On Apr 30, 4:49 pm, Tofuwarrior p...@clearintent.co.uk wrote:
 Hi All,

 I'm using the propel nested set stuff in 1.5 which is great APART from

 When an object is saved with$folder=$form-save() if I then try to
 $parent-addChild($folder); or $folder-insertAsLAstChildOf($parent)
 to place it in the tree

 The tree data isn't saved with the object.

 If I create a new object that hasn't been saved to the db then it
 works fine.

 So the problem is that I am currently getting the $folder back from
 $form-save() which of course saves it and returns it.?
 I can then call save once I've done the nested set stuff, or is there
 another way?

 Cheers,

 Paul

 --
 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 
 athttp://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


Re: [symfony-users] Re: possible to get object from form without save? propel nested set insert problem

2010-04-30 Thread Eno
On Fri, 30 Apr 2010, Tofuwarrior wrote:

 How embarrassing.
 
 -getObject();
 
 erm.
 
 shuffles off to read API again.

Stop fighting that tofu! :-)




-- 


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