Re: form->create() ::: how can use onSubmit in form->create()

2007-12-14 Thread WordPress Guru
user editable wiki will do the job, or something like php.net which has user contributions as part of the manual. My 2 cents On Dec 14, 11:51 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Dec 14, 2007 10:35 AM, WordPress Guru <[EMAIL PROTECTED]> wrote: >

Re: form->create() ::: how can use onSubmit in form->create()

2007-12-14 Thread WordPress Guru
27; => '...', 'default' => false)); > > generates your form tag with onSubmit="event.returnValue = false; > return false;", which is what you need > > On Dec 14, 2:15 pm, WordPress Guru <[EMAIL PROTECTED]> wrote: > > > > >

form->create() ::: how can use onSubmit in form->create()

2007-12-14 Thread WordPress Guru
Hello , I have a form that I am creating with form->create() , but I dont want the form to be submitted as their is an ajax button in the form that will [hopefully] submit the form. So I want to use onSubmit="return false;" to stop the form from submitting. I have tried the following, that does

baking batch or short cuts

2007-12-01 Thread WordPress Guru
Hello , Is someone of you automated the commonly usage options in bake.php , or if there is a way to force bake.php to use a defined config always. I want to avoid giving the same answers again and again . Regards --~--~-~--~~~---~--~~ You received this message be

Re: How to hand fileds in Model->read ...

2007-11-27 Thread WordPress Guru
the actual model [I hope so :) ] On Nov 27, 2:41 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Nov 27, 2007 1:01 PM, WordPress Guru <[EMAIL PROTECTED]> wrote: > > > > > In the view.thtml of parent entity, it generates code to display > > r

How to hand fileds in Model->read ...

2007-11-27 Thread WordPress Guru
Hello everyone, I am into cakephp for a week so the question I am asking is very basic one for most of you guys. I have a parent child relationship , for which I use belongsTo and hasMany. When I used the bake.php to generate my view.thtml for parent and child. In the view.thtml of parent entit

Re: enforcing a parent

2007-11-23 Thread WordPress Guru
I dont know if the group is moderated. My previous mail did not appear here so I am posting again. Here is my problem , which is very similar to yours Julian. I have a parent-child relationship , and as usual I have baked the controllers and views using scaffolding. Like you

Re: enforcing a parent

2007-11-23 Thread WordPress Guru
Julian, AD I have similar problem. I have a parent-child relationship and I have baked using scafolding as usual. I get the view of parent from where I want to add a a child. So I have placed a link like /child/addToParent/1 This link appears in the view of parent so that a user can click there