What about HABTM Fields? I can only get them to work with the Security
component if I disable them with something like "$this->Security-
>disabledFields = array('Image.Image');" The views are pretty much
what had been baked. Is this a current limitation of the Security
component? If not I'll have to dig deeper into my code to see why it
isn't working.... Otherwise I'll just leave the disabled on for now.
Thanks for the heads-up...

:jcs


On 3 Mai, 22:23, "Larry E. Masters aka PhpNut" <[EMAIL PROTECTED]>
wrote:
> I should have said the hidden fields and their values can not be altered.
> The rest of the forms values do not matter it is only the
> data['ModelName']['fields'] that can not change or be added to.
>
> --
> /**
> * @author Larry E. Masters
> * @var string $userName
> * @param string $realName
> * @returns string aka PhpNut
> * @access  public
> */
>
> >https://trac.cakephp.org/changeset/4968
> >https://trac.cakephp.org/changeset/4969
> >https://trac.cakephp.org/changeset/4978
>
> > If you are trying to alter the form fields or are setting any fields in
> > your form without using $form-> methods in the helper the form will be
> > considered invalid or tampered with. The only way to disable this would be
> > like the example in the third link.
>
> > Hidden fields can not be altered in anyway if you do not disable them
> > using the example code in a before filter.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to