There is this option: http://book.cakephp.org/view/198/options-error
But is not very good to do things different from the patterns

2010/5/23 Ed Propsner <crotchf...@gmail.com>

> It returns exactly what I would expect it to:
>
> Array ( [ProfileAttribute] => Array ( [gender] => Male ) )
>
> Everything with the data seems to be fine, the model is even validating as
> expected.
> The $this->validateErrors array is loaded with the error messages, they are
> just not displaying.
>
> I'm assuming it's  something I did because all of my original forms that I
> made before the problem started all work just fine, no probs.
>
>
> On Sun, May 23, 2010 at 1:38 AM, Filipe Teles Rodrigues <
> filipe.t2...@gmail.com> wrote:
>
>> This is strange. Put here the output of pr($this->data) before the
>> validation.
>>
>> 2010/5/23 Ed Propsner <crotchf...@gmail.com>
>>
>> The models were all baked originally but edited as I went along.
>>> One of the tests was with a freshly baked model and controller but the
>>> view was not.
>>> The view in that case only consisted of a form, one field, and a submit
>>> button ... it still didn't work.
>>>
>>> I'm not quite sure what got changed or altered but I've been through 4
>>> more forms since and with every
>>> one of them I had to manually display the validation errors.
>>>
>>> I guess I broke it 8-)
>>>
>>>
>>> On Sun, May 23, 2010 at 1:13 AM, Filipe Teles Rodrigues <
>>> filipe.t2...@gmail.com> wrote:
>>>
>>>> Have you done these models with bake? If not, you could bake a model and
>>>> see how it makes the forms, views, validations, etc. Maybe it helps.
>>>>
>>>> 2010/5/22 Ed Propsner <crotchf...@gmail.com>
>>>>
>>>> Now I'm really stumped. The new form I just created is having the same
>>>>> problem with validation errors.
>>>>> What am I overlooking here?
>>>>>
>>>>>
>>>>> On Sat, May 22, 2010 at 1:54 PM, Ed Propsner <crotchf...@gmail.com>wrote:
>>>>>
>>>>>> Yup, I did and there was no problems with it.
>>>>>>
>>>>>> I think I'm to the point where I'm going to kick the entire problem to
>>>>>> the curb.
>>>>>> I manually pulled the errors from $this->validationErrors array and
>>>>>> displayed them that way.
>>>>>>
>>>>>> I'll be starting another model, controller, etc. for another form
>>>>>> shortly and if the problem persists ... well, I dunno 8-)
>>>>>> I was convinced it was something I was doing wrong because I have a
>>>>>> handful of other forms that all function flawlessly with validation 
>>>>>> errors -
>>>>>> this is the only one I had problems with.
>>>>>>
>>>>>> - Ed
>>>>>>
>>>>>>
>>>>>> On Sat, May 22, 2010 at 1:45 PM, John Andersen <j.andersen.lv@
>>>>>> gmail.com> wrote:
>>>>>>
>>>>>>> Ok :)
>>>>>>> Have you tried to use the method described by Master Ram, just so it
>>>>>>> can be confirmed that the validation errors do get to the form
>>>>>>> helper?
>>>>>>> Enjoy,
>>>>>>>   John
>>>>>>>
>>>>>>> On May 22, 8:39 pm, Ed Propsner <crotchf...@gmail.com> wrote:
>>>>>>> > @john,
>>>>>>> >
>>>>>>> > Sorry about that. I was grasping at straws and scrapped everything
>>>>>>> and
>>>>>>> > started over since my original post.
>>>>>>> > The names are  consistent across MVC. It now uses
>>>>>>> "ProfileAttribute"
>>>>>>> >
>>>>>>> > - Ed
>>>>>>> [snip]
>>>>>>>
>>>>>>> Check out the new CakePHP Questions site http://cakeqs.org and help
>>>>>>> others with their CakePHP related questions.
>>>>>>>
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "CakePHP" group.
>>>>>>> To post to this group, send email to cake-php@googlegroups.com
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>>>>>>  more options, visit this group at
>>>>>>> http://groups.google.com/group/cake-php?hl=en
>>>>>>>
>>>>>>
>>>>>>
>>>>>  Check out the new CakePHP Questions site http://cakeqs.org and help
>>>>> others with their CakePHP related questions.
>>>>>
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "CakePHP" group.
>>>>> To post to this group, send email to cake-php@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>>>>  more options, visit this group at
>>>>> http://groups.google.com/group/cake-php?hl=en
>>>>>
>>>>
>>>>  Check out the new CakePHP Questions site http://cakeqs.org and help
>>>> others with their CakePHP related questions.
>>>>
>>>> You received this message because you are subscribed to the Google
>>>> Groups "CakePHP" group.
>>>> To post to this group, send email to cake-php@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>>>  more options, visit this group at
>>>> http://groups.google.com/group/cake-php?hl=en
>>>>
>>>
>>>  Check out the new CakePHP Questions site http://cakeqs.org and help
>>> others with their CakePHP related questions.
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "CakePHP" group.
>>> To post to this group, send email to cake-php@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>>  more options, visit this group at
>>> http://groups.google.com/group/cake-php?hl=en
>>>
>>
>>  Check out the new CakePHP Questions site http://cakeqs.org and help
>> others with their CakePHP related questions.
>>
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To post to this group, send email to cake-php@googlegroups.com
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>  more options, visit this group at
>> http://groups.google.com/group/cake-php?hl=en
>>
>
>  Check out the new CakePHP Questions site http://cakeqs.org and help
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to