[symfony-users] Re: sfGuard problem

2009-05-23 Thread Alexandru-Emil Lupu
symfony cc ? On Sun, May 24, 2009 at 6:58 AM, murthy wrote: > > Hello, > I am using Propel ORM. > > On May 20, 5:11 pm, "Jan De Coster" wrote: > > What ORM are you using ? > > > > Kr, > > > > -Oorspronkelijk bericht- > > Van: symfony-users@googlegroups.com [mailto: > symfony-us...@goog

[symfony-users] Re: sfGuard problem

2009-05-23 Thread murthy
Hello, I am using Propel ORM. On May 20, 5:11 pm, "Jan De Coster" wrote: > What ORM are you using ? > > Kr, > > -Oorspronkelijk bericht- > Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] > Namens murthy > Verzonden: woensdag 20 mei 2009 13:58 > Aan: symfony u

[symfony-users] Re: Best Practices for Schema Changes

2009-05-23 Thread Sherif
Lawrence, propel:data-dump and propel-build-all-load works great for a small database. Once your database reaches a certain size, this method is no longer feasible as you continue to get php out of memory errors. With a php.ini max memory set to 128mb, Ive found I usually reach this limit when th

[symfony-users] Reading status after redirect with JS/jQuery

2009-05-23 Thread Eric
Hi there, In my action I got the following: public function executeUpdate(sfWebRequest $request) { ... if ($this->form->isValid()) { ... $this->redirect('@messages'); } else {

[symfony-users] Re: Best Practices for Schema Changes

2009-05-23 Thread Lawrence
On May 20, 9:50 am, slinky66 wrote: > I have not been able to find a best practice approach in the Symfony > docs for dealing with > schema changes as it relates to rebuilding the data model. Can someone > give me some guidance with this scenario? > > Site is up and running and a few weeks late

[symfony-users] Re: Propel and 1:1 relationships

2009-05-23 Thread Richtermeister
Hey Crafty, ah I see. Thanks for walking me through that, I think that makes perfect sense. I'll have to look at your solution in detail, may need that myself one of these days :) Have a great weekend, Daniel On May 23, 3:08 am, Crafty_Shadow wrote: > Hey Richtermeister (damn, I tried sayin

[symfony-users] Re: Propel and 1:1 relationships

2009-05-23 Thread Crafty_Shadow
Hey Richtermeister (damn, I tried saying your name out loud 3 times and I bit my tongue ) You are right in assuming that normally this should be one model. I however decided to divide it, seeing as the two parts do vastly different work. The division is purely for the sake of making the code and

[symfony-users] Re: How to access the object of an embedded form

2009-05-23 Thread esion
Oups, another tip : Don't forget that echo $form will display all the form and embedded ones, It's really helpfull to design forms. Cheers, David. On May 23, 11:26 am, esion wrote: > Hi, > > First, I'm not sure that works  : > >   >           >            renderLabel() ?> td> >             >  

[symfony-users] Re: How to access the object of an embedded form

2009-05-23 Thread esion
Hi, First, I'm not sure that works : renderLabel() ?> It doesn't match with what you wrote in your form, what do you have in your action file? You should have in your view something like that : getEmbeddedForms() as $cartItemFo

[symfony-users] Re: backend

2009-05-23 Thread Alexandru-Emil Lupu
Yes. Check your executeIndex() from what i remember, executeIndex has a redirect to the list method. Alecs On Sat, May 23, 2009 at 1:50 AM, Lithium wrote: > > hi, i've generated admin using propel:generte-admin command, then show > me a list with actions edit an delete for each record and i nee