Hi to all bakers!

1.I would like to ask how form submision work with model which has
associated models ? I mean are there only defined form fields updated
(when saving $this->data) or all associated model/field are updated ? I
mean if I have TABLE( has many FIELD) model and FIELD model( belongs to
TABLE) and I update/add new TABLE if FIELDs get updated too or not on
$this->TABLE->save() ?

2. How may I pass custom variables to controller via form submit ?
because for e.g. when I use html->checkbox (selectTag) I want to set
custom variables, and pass them to controller and than edit and assign
them to appropriette MODEL/FIELD . But when I use checkbox/selectTag I
am forced to use object model in MODEL/FIELD format, otherwise it
display offset error. But there are cases when I DO NOT want to assign
these values strictly to MODEL/FIELD format, but rather oserve these
values/edit them and after that maybe assign them to MODEL/FIELD for
saving to DB. So my question is if there is such possibility or not in
CAKEPHP ?

3. Is it possible to nest e.g. view2 inside view1 transparently ? I
mean I will have view1 with ExampleController and view1 action, and
same for View2, now what I want to realize is nest view2 inside view1
but with correct Controller/action linking ...Is this possible ?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to