i'm pretty sure it would be. i am starting with the basics and getting my core cake development down before i start down the ajax track. something to look forward to.
i'm sure there might be a tutorial in the wiki. or you could use the cake search to see if anyone has posted something about it. a couple of good resources: http://wiki.cakephp.org/ http://www.cakephp.org/search/ http://www.cakephpforum.com/discussion/8/cakephp-useful-resources/#Item_0 the forum link includes a few more links to other resources. i'm sure someone has done it! good luck. freedom On 23/08/06, Ámon Tamás <[EMAIL PROTECTED]> wrote: > > Mikee Freedom írta: > > it's just gone 9am down here in NZ :) > > > > you can deinfe the functions in /app/app_model.php if you think they > > will be used by multiple models e.g. unique. or you can place them in > > the particular model that requires that validation method > > /app/models/example_model.php. > > > > i've changed the validation a little bit and i actually pass the data > > array to be validated to the loadValidation function. if nothing is > > passed then i fall back on the $_POST array. so, using this method you > > could pass data from multiple objects and use that for your > > validation. > > > > so within your controller you can grab data from multiple models and > > pass it to your loadValidation method of your model. then use that > > data in your validation methods. > > > > do you know what i mean? > Yes :) > > And an other question. Is it easy to change this validation to some AJAX > validation? > > -- > Ámon Tamás > http://amon.hu > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
