Re: dateTimeOptionTag Saving Error in Cake 1.1.10

2007-01-07 Thread Samuel DeVore
it's what it is for ;) http://api.cakephp.org/class_controller.html#43aea5e84ef8550cf3ae8a97ca18ec1e I'm surprised it's not in the manual, so I entered a ticket in trac Sam D On 1/7/07, ERic ZoU <[EMAIL PROTECTED]> wrote: It is works. BUT, how come? Why should add this before saving? >

Re: dateTimeOptionTag Saving Error in Cake 1.1.10

2007-01-07 Thread ERic ZoU
It is works. BUT, how come? Why should add this before saving? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: dateTimeOptionTag Saving Error in Cake 1.1.10

2007-01-07 Thread Samuel DeVore
Try using $this->cleanupFields('ModelName'); in your controller before doing the save Sam D On 1/7/07, ERic ZoU <[EMAIL PROTECTED]> wrote: Hi, everyone, As the title, I cant save the $dateTimeOptionTag for my edit function. In my add fuction, it works great. I can add it and save it into

dateTimeOptionTag Saving Error in Cake 1.1.10

2007-01-07 Thread ERic ZoU
Hi, everyone, As the title, I cant save the $dateTimeOptionTag for my edit function. In my add fuction, it works great. I can add it and save it into mysql. When I use edit, I can retrive the data. BUT, when I try to save it, I cant save the dateTime only. The rest all works great. I set core