How about if you show us your form code.
On May 17, 10:55 pm, mike mwu...@gmail.com wrote:
hmm... but if I add the input type file, when I call the save method
in the action, it tries to persist the object to the database and I
get a sql error
On May 8, 10:52 pm, Trevor Fitzgerald
Which platform? I've been using Safari 4 on Mac OS X (10.4.11) for a
month or two now with no issues. I'm using database sessions for both
development and production and have yet to be logged out
unexpectedly.
Which browsers/versions do you have working?
On May 17, 2:05 am, Kyle Decot
I try to create something part by part. When I try to check that part,
the message The requested URL was not found on this server. If you
entered the URL manually please check your spelling and try again.
appeared in my browser..
for example : I create a blog. I save view.thml in /views/posts/.
I'm using Mac 10.5.7 I can't remember my app logging me out like this
in the past. It just started doing this about a month ago. I'm afraid
it's something that I modified, added or deleted from my code but I've
changed so much stuff lately, I'm not sure where to begin looking. Any
ideas on what I
Oh, I didn't see that you had asked which browsers I had working. I've
tested it on the following w/ no problems:
Firefox 3 (mac)
Camino 1.6 (mac)
Safari 3 (mac)
On May 18, 2:14 am, Kyle Decot kdec...@gmail.com wrote:
I'm using Mac 10.5.7 I can't remember my app logging me out like this
in
Notice (8): Undefined property: CakeErrorController::$js_vars [APP/
app_controller.php, line 103]
Code
{
$this-set('meta_for_layout', Configure::read('meta'));
$this-set('js_vars_for_layout', $this-js_vars);
AppController::beforeRender() - APP/app_controller.php, line 103
CakePHP has the function a, which is an alias of array:
http://api.cakephp.org/file/basics.php#function-a
Is that along the lines of what you're looking at?
On Sun, May 17, 2009 at 8:11 PM, Bysa amin...@gmail.com wrote:
On May 17, 8:00 pm, Marcelo Andrade mfandr...@gmail.com wrote:
On
I describe you my situation:
My model is :
Teams, Template and Format
The triple relation can be expressed in this way:
Each team has access to a set of pairs template-format.
A template can be associated with some format.
In the table relative to this triple relation I have:
id
team-id
Did you use signUpText as a msgid in your language files? I had this
previously when using generic labels for language strings, and the
corresponding language file for the environment set in the visitors web
browser was not available. You can solve this problem by setting the default
language -
Hello,
I was just wondering how we can run a function of a controller
using the console. Like normal PHP Scripts we can run the scripts
using the following syntax:
[COMMAND PROMPT] php test.php
Thanks,
Muhammad Ammad Saleem
--~--~-~--~~~---~--~~
You
Check for whitespaces in app_controller and the other controllers.This was
caused from copy-paste.
Think i may helped!
Cheers
2009/5/18 Braydenstyles brayden.sty...@gmail.com
Warning (2): Cannot modify header information - headers already sent
by (output started at
Yeah Andy i tried this but still nothing.Dunno what else i have to do.Thx
anyway for your idea!
2009/5/18 andy andy.baugh...@gmail.com
I may be wrong, but I believe '$this-Auth-user()' would look for the
function 'user()' within Auth rather than an array value. Have you
tried
// routes.php
Router::connect('/:productType/:category/:season',
array('controller' = 'products', 'action' = 'index', 'season'
= null),
array('pass' = array('productType', 'category', 'season')));
// view:
echo $html-link('',
hi guys... a view days ago as far as i know, my code ran well
i try to set a variable in custom app_controller class
$this-set('Auth',$this-Auth-user());
i did this because i plan to use that variable in views.
mybe like print_r($Auth)
now my code display warning that says..
*Notice* (8)
hi all,,
what i have to do, so both my before_filter function that found in
xxx_controller and app_controller executed?
--
---
I Don't Know Who/What I Am Yet, But I Know Who/What I Am Not!
--
Marojahan M.T. Sigiro
maroja...@gmail.com
GTalk : marojahan
Y! :
argh
i think yes it is.
i wonder why i didnt seen anyone use it when they were passing the
argument, and used the array() instead.
thanks for show me this.
On May 18, 11:53 am, Richard rclay...@gmail.com wrote:
CakePHP has the function a, which is an alias of
Hello Marojahan,
Monday, May 18, 2009, 12:11:02 PM, you wrote:
what i have to do, so both my before_filter function that found in
xxx_controller and app_controller executed?
Put parent::beforeFilter(); in your WhateverController beforeFilter method,
then the beforeFilter of
Yes it's a varchar and I utilised bake, I've got it working now by
setting recursive to 2 and amending the views to use the other models
field, I just wondered if there was a more efficient way of doing it
as I should imagine it is a common thing to do, but if not, not to
worry - thanks for the
Hi people,
I am wonder if there is an example of using httpsocket and xml.In my
app i want to have a page with a search textfield (and search button)
as well as a page with the results which i receive in XML format.In
particular i want to put a destination (town,country) and from this
site
If you print_r($this-Auth), what keys/values are included in the
array?
On May 18, 4:09 am, paulos nikolo paulitosthe...@gmail.com wrote:
Yeah Andy i tried this but still nothing.Dunno what else i have to do.Thx
anyway for your idea!
2009/5/18 andy andy.baugh...@gmail.com
I may be
Hey,
if you want to use Auth info in your views it is very simple.
Try this in your view: pr($session-read('Auth.User')); //assuming User is
your login model, otherwise try pr($session-read('Auth'));
Hope you find this handy,
Faifas
On Mon, May 18, 2009 at 12:59, Marojahan M.T. Sigiro
in cakephp the view has extension .ctp.. you should put the view in
/view/posts/view.ctp
On Mon, May 18, 2009 at 5:26 AM, eantz eantz.z...@gmail.com wrote:
I try to create something part by part. When I try to check that part,
the message The requested URL was not found on this server. If you
Hey,
actually the most annoying thing is that we cannot download separate parts
of Cake. It would be cool if advanced users could choose what do they need
for their project, just like mootools made in their download page. I
certainly understand that this is just *wishful thinking* because Cake's
it prints this
AuthComponent Object
(
[_loggedIn] =
[components] = Array
(
[0] = Session
[1] = RequestHandler
)
[authenticate] =
[authorize] = controller
[ajaxLogin] =
[userModel] = User
[userScope] = Array
(
)
What about create a true poll for it?
First create a poll for all suggestions, after create a poll to vote on that
suggestions and voilá =)
Henrique Machado
2009/5/18 Aivaras faifas1...@gmail.com
Hey,
actually the most annoying thing is that we cannot download separate parts
of Cake. It
Hello!
How can I embed image in HTML mail send trough Email component?
Regards Andraž
--~--~-~--~~~---~--~~
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
Hello,
I have a debug code that prints out values of
$this-Auth-user('id')
$this-Auth-user('name')
inside a controller's beforeRender().
When I login, it shows that I'm logged in as a person.
However, when I logout, it shows that I'm still logged in as the
person I was logged in.
This only
What name are you trying to get? Looks like you have Style.name
already available in your result.
If there is a Gender.name you are trying to see you can set the
recursive to a higher number before the find:
$this-Style-recursive = 2;
Or use the Containable behavior as mentioned above.
On
nvm.
I found what I did wrong.
I forgot to allow 'logout'.
Also, for my ACL tables, it let admin to do anything, whereas other
users were limited.
Problem solved :)
On May 18, 6:17 am, Brian Lee brianleeu...@gmail.com wrote:
Hello,
I have a debug code that prints out values of
I am using the tree behaviour in conjunction with the jQuery tree at
www.jstree.com to create a admin interface for a forum that allows
multiple and unlimited subforums.
It is working quite well.
The only problem is that jstree doesn't tell you how far a node has
been moved, but rather gives a
On May 18, 4:12 pm, Walther waltherl...@gmail.com wrote:
I am using the tree behaviour in conjunction with the jQuery tree
atwww.jstree.comto create a admin interface for a forum that allows
multiple and unlimited subforums.
It is working quite well.
The only problem is that jstree
Hello,
I get an error undefined variable $left_content. This variable has been
defined in beforeFilter() of app_controller.php. In beforeFilter(), the code is:
$this-set(left_content,$left_content);
Somehow the variable is not passed on to the view files.. Any clues??
Thanks,
Try reversing it. debug:3 in the core and turn it off beforeRender if
you're NOT admin.
On May 17, 4:41 pm, JamesF usaexportexpe...@gmail.com wrote:
hello all, i love cakephp's built in table that shows the sql queries
that are running. my site is now live but i need a way to check under
the
What is Session.checkAgent set to in your app/config/core.php? If it's
true, try setting it to false. I believe this has helped with random
log-out. Not sure if these were browser specific, but it might just do
the trick. Good luck!
Any ideas on what I can do to diagnose the problem?
Hi all,
Is it possible use 'or' in the conditions resulting from a call to
paginate? I have tried a whole load of variations (based on conditions
that work in a call to find('all'), but to no avail.
Thanks in advance,
Toby
--~--~-~--~~~---~--~~
You received
On May 18, 5:26 pm, toby1kenobi toby.math...@gmail.com wrote:
Hi all,
Is it possible use 'or' in the conditions resulting from a call to
paginate?
resulting? How are you getting paginate to give you conditions.
I have tried a whole load of variations (based on conditions
that work in a
Thanks for the quick response! I was just about to follow up that post
and say that it's almost working, but not quite (and maybe the error
is mine).
Here's (a slightly simplified version of) my code:
$findParams = array(
'or' = array(
Hello,
1. NO NEED TO WRITE LIKE THIS IN THE SUBJECT
2. Are you overriding your beforeFilter() in your other controllers?
If true, are you calling parent::beforeFilter()? If not, do it now.
3. If step no.2 didn't help, did you try calling debug($this-
viewVars) in your view to see what's going on
I think I might have just found a bug, or the condition is not
formated correctly.
CakePHP doesn't handle the between operator correctly (Converts it to
`lft BETWEEN` IN ('19', '1') instead of `lft` BETWEEN` '19' AND '1').
On May 18, 4:37 pm, AD7six andydawso...@gmail.com wrote:
On May 18,
Nope, no bug.
To use between you type BETWEEN ? AND ? and not just BETWEEN.
Thanks for the help AD7six!
On May 18, 5:44 pm, Walther waltherl...@gmail.com wrote:
I think I might have just found a bug, or the condition is not
formated correctly.
CakePHP doesn't handle the between operator
Here's another interesting kick in the Matt Groening.
Inability to use FormHelper::error() to show our own errors on the
fly, i.e. $form-error('Arse.biscuits', 'A pair of women's knickers is
missing'); regardless of whether I'm using a model to create a form or
not.
Workaround:
Hello all,
I'm having a little trouble with a particular installation of cake
(1.2.3.8166) I have it running fine on my windows machine but on my
Centos machine I get a strange error when renaming the
database.php.sample to database.php
The messages appear but the wrapper and any associated
Hej all!
I've been trying to find a solution for this, and maybe I'm
approaching it wrong. This is the case:
For my site I need make graphs out of data in a table. I have picked
JQuery FLOT for making the graphs. However, FLOT needs data in a
jQuery array build like:
[[xaxis, yaxis]
[xaxis,
Hi guys!
I using a custom php configuration on dreamhost and works fine with
standalone php files.
But i can't get it working with cakephp(Cakephp works fine without the
custom php.ini but i need it to increase te max upload size)
The thing is when i try to use the custom config with
Hi,
Before I start: creating a user with an email gives no problem, but
updating a user, gives a validation error: 'email left blank'.
I have this array and I want to save the updated data
Array
(
[User] = Array
(
[firstname] = data[User][firstname]
That might be undesirable since any notices or errors before
beforeRender will be in his output.
@JamesF:
Did you put the if-clause at the top of beforeFilter or at the bottom?
Your if will return false if Auth has not had a chance to do it's
thing. Check that you did NOT put it before Auth
It's the underscores that are doing it; this has bitten me before.
Have a look at the source for Controller::set().
Try:
$this-set(compact('left_content'), false);
This is essentially the same as doing:
$this-set(array('left_content' = $left_content), false);
By passing in an array as the
Maybe it's because you're not passing 'season' to $html-link(), even
if null. Because it's defined in the route, I'll bet that the reverse
routing is thrown off when it's missing from the link creation.
On Mon, May 18, 2009 at 5:38 AM, Bogdan I. Bursuc
bogdanbursu...@gmail.com wrote:
//
Hi,
Try looking at JavascriptHelper::object()
http://api.cakephp.org/class/javascript-helper#method-JavascriptHelperobject
It will help you render a javascript object of any data you have in
php.
...or just parse out your data to a string yourself and set it as a
javascript variable. (= use php
So, here is how my application works:
1. I have users (just like any other apps)
2. I have courses that each user can create
Upon login, user will view the list of courses that she created.
I got that to work.
However, now the problem is, I don't know the simple, neat way to
block user from
You could use the JavascriptHelper to create the array, or any other
block of JS code.
On Mon, May 18, 2009 at 12:10 PM, Céryl c.a.h.wilt...@student.tue.nl wrote:
Hej all!
I've been trying to find a solution for this, and maybe I'm
approaching it wrong. This is the case:
For my site I
You can either use ACL or, simpler, just check the User.id when
fetching the courses. You can either fetch the course by ID, then
check its user_id matches $this-Auth-user('id') (if you're using
Auth). Or, use find() instead of read() and add another condition:
'Course.id' = $id,
Hi Brian, i assume that each course have an user_id right? so when you
list, edit or view the courses just use a condition to search all the
courses of the current user... ex:
$cond = array('Course.user_id' = $Current_user_id);
$this-set('courses', $this-paginate('Course', $cond));
Brian Lee
requestAction should work.
--~--~-~--~~~---~--~~
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
What have you tried? There a re several examples in the test cases.
--~--~-~--~~~---~--~~
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
Hi there
How does the TreeBehaviour scope work? I imagine that it is meant to
allow seperating of trees according to a certain external entity, and
thereby allow you to have more then one tree inside a single table.
But, it does not look like that is in fact what it is doing.
How do you go
I didnt try anything yetbut i want some example code to help me start if
you know any
2009/5/18 Gwoo gwoo.cake...@gmail.com
What have you tried? There a re several examples in the test cases.
--~--~-~--~~~---~--~~
You received this message because you
@Martin
even if i remove the conditional and set Configure::write('debug', 2)
in beforeFilter on its own...still no sql is shown. says
(default) 0 query took ms
On May 18, 12:22 pm, Martin Westin martin.westin...@gmail.com wrote:
That might be undesirable since any notices or errors before
Hey Faza and Rick thanks for your reply. Yes, I am trying to get
Gender.name. So what Im trying to do is get my array to show up
something like:
[Product] = Array
(
[id] = 21
[color_id] = 3
[image_thumb] = aw_ls_black.png
[price] = 27.95
But how does this prevent user from accessing a random course?
such as typing localhost/courses/view/123
and hoping to see what he gets for course_id 123.
I know that paginate would restrict what I would like to list;
however, that does not prevent the user from typing the actual url to
access
never mind. I get it!
Thanks!
On May 18, 12:05 pm, Brian Lee brianleeu...@gmail.com wrote:
But how does this prevent user from accessing a random course?
such as typing localhost/courses/view/123
and hoping to see what he gets for course_id 123.
I know that paginate would restrict what I
Awesome! I set it to false an it fixed the problem. Thanks so much!
On May 18, 11:03 am, ChicagoPlanesTrains myronhay...@gmail.com
wrote:
What is Session.checkAgent set to in your app/config/core.php? If it's
true, try setting it to false. I believe this has helped with random
log-out. Not
I'm stuck trying to construct a URL using the html helper that points
to an jpeg sitting in an 'uploads' folder in my webroot folder. I've
tried the following.
$html-link($html-image('/uploads/main_demo.jpg'), array($html-url('/
uploads/main_zoom.jpg', true)), array('title' = 'hello', 'escape' =
I have a working app that runs with no errors on my local machine.
When I upload it to my production server (DreamHost) the app works
fine in the browser, but I have a shell script that I run through the
console that gives me errors on the production server.
The errors I'm getting seem to have
Hej all!
Since my good advice just ago, I got to another bottleneck.
I have a form in which the user selects two times (a start- and an end-
time). The form works perfectly and the times get stored in the table
as hh:mm:ss.
However, I have a 3th row in the database that must hold the elapsed
Hi Celso,
perhaps I could be wrong, but i think this:
GLOBAL DATABASE
User
Group
Aro
APP DATABASE
aco
aros_acos
In APP-Model file, the var $useTable is useful.
will it work?
On 14 maio, 14:38, Celso cels...@gmail.com wrote:
How create a unique ACL for multiples apps? Because we have many
Worked almost a charm... Still, I ended up writing a this codeblock to
manually make-up the output the way I want it:
$i=0;
$output = [;
foreach($data as $key=$val){
if ($i != 0) {$output .= , ;}
$output .= [.$key., .$val.];
$i++;
}
$output .= ];
echo $output;
It makes
Do you have a route beginning with 'uploads'? You could just construct
a regular img tag link (ie. without the helper), seeing as you want
to avoid any controllers that Router might think you're pointing to.
On Mon, May 18, 2009 at 3:50 PM, foldiman vi...@vinceallen.com wrote:
I'm stuck
Are you placing the folder upload somewhere in the webroot folder?
If not, you would want to create your upload folder in the webroot
folder. If they are images getting uploaded you might make a folder
structure like:
webroot/img/photos/mediagallery/uploads/
Then your image helper would look
On Sun, May 17, 2009 at 8:59 PM, Mr-Yellow meisteryel...@gmail.com wrote:
They might be, I'm an asshole for sure :-)
No need to explain. We get it.
Thing is I wasn't the person who decided I wanted to work for fame and
recognition. I'm on the cash side of things rather then the open-
In methods of controllers, there are usually many checks for doing
the right thing.
For instance, I check if user is accessing the right data.
However, I'm wondering what is the best way to return or exit from
these methods when errors do occur. I've been using just simple return
statement, but
I've found a few other posts where people are having similar problems,
but all of them seem to be solving their problems by realizing that
they are running PHP4 on the production server. In my case, I am
definitely running PHP5 - and I don't have any errors using Cake
classes and methods through
thanks will search for the white spaces..
cheers
B
On May 18, 2:04 am, paulos nikolo paulitosthe...@gmail.com wrote:
Check for whitespaces in app_controller and the other controllers.This was
caused from copy-paste.
Think i may helped!
Cheers
2009/5/18 Braydenstyles
You could calculate the time difference on the fly with mysql TIMEDIFF
function
[http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_timediff]
instead of store it in the db
And this [http://www.gidnetwork.com/b-16.html] may help to store the
time difference.
Hey.
I am pretty confused with CakePHP's Tree, I actually do not have a
clue how to categorize my content with tree. I tried a few ways,
almost did it, but still having trouble with it.
Maybe someone could write a tutorial or link me to a tutorial outside
cakePHP's bakery.
Thankyou.
Ok, im not sure what I was doing wrong but it was just as simple as
you mentioned. I just added $this-Product-recursive = 2; and viola,
everything was fetched properly.
Thanks a million!
On May 18, 11:55 am, justclint justcl...@gmail.com wrote:
Hey Faza and Rick thanks for your reply. Yes, I
You are definitely right indeed.
Faifas
On Mon, May 18, 2009 at 18:54, dr. Hannibal Lecter lecter...@gmail.comwrote:
Here's another interesting kick in the Matt Groening.
Inability to use FormHelper::error() to show our own errors on the
fly, i.e. $form-error('Arse.biscuits', 'A pair of
On Mon, May 18, 2009 at 4:52 PM, the...@gmail.com the...@gmail.com wrote:
Hey.
I am pretty confused with CakePHP's Tree, I actually do not have a
clue how to categorize my content with tree. I tried a few ways,
almost did it, but still having trouble with it.
Maybe someone could write a
Check your apache2 setup has mod_rewrite installed and your directory
permissions.
If you still have trouble with MT Centos setup I'd suggest asking the
MT framework forum as a number of people use Cake on DV.
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
This passes the ID for the Promotion properly but not for the
associated title and body:
-
$this-Promotion-id = $id; // Set the IDs so we update rows instead
of creating new ones.
$current =
So, I added a submit and a cancel button to my ajax form and it
doesn't matter which you press, it always returns the submit button,
not the cancel.
The view code has this at the bottom (I stopped using helpers to see
if raw HTML would help, it didn't):
input name=Submit value=submit
Hello,
I'm having some problems with my routing, let's go straight to
business:
When accessing this url: http://localhost/somecompany/home
1. With route setup:
Router::connect('/:company/:controller/*');
Result:
Works ok, get's routed to /app/controllers/home_controller.php
2.
i think what this issue is coming down to is me working off an alias
of my live site and keeping that in debug modethis is probably for
the best since my site is live now and i shouldn't be mucking around
while people are using it.
On May 18, 2:51 pm, JamesF usaexportexpe...@gmail.com wrote:
On Mon, May 18, 2009 at 7:40 PM, doze doze...@gmail.com wrote:
Hello,
I'm having some problems with my routing, let's go straight to
business:
When accessing this url: http://localhost/somecompany/home
1. With route setup:
Router::connect('/:company/:controller/*');
Result:
Maybe the server has a version 4.x CLI installed as well as a 5.x
Apache module. If you have terminal access, type: php -v
On Mon, May 18, 2009 at 5:11 PM, Jason jasf...@gmail.com wrote:
I've found a few other posts where people are having similar problems,
but all of them seem to be solving
I have done more tests with these and got little bit further, but
still having issues.. Here's the current state:
With these routes:
Router::connect('/:company/:controller/:action/', array('controller'
= 'home', 'action' = 'index'));
Router::connect('/:company/:controller/',
It depends. If the method is not an action, but a private method
called from within the controller (eg. $this-__whatever()) then
returning false is a good idea. It really depends on wht you want from
the method.
If it's an action (ie. called directly through the request) you're
better off
When a submitted form fails a validation rule, the form is presented
back to the user with their values intact. This is obviously a good
thing, as the user doesn't have to fill the whole thing in again.
I have a form where I need to compare two of the submitted values to
make sure they're not
Jules, have a look at my reply a moment ago to msg, 'returning or
exiting from methods of controllers'. The reason the form is
redisplayed empty is because you're redirecting. This causes a new
request to be made, so $this-data is empty and FormHelper has nothing
to fill in the form with.
If
Got it to work finally!! These are the final routes:
Router::connect('/:company/:controller/:action', array('controller'
= 'home', 'action' = 'index'));
Router::connect('/:company/:controller/:action/*', array('controller'
= 'home', 'action' = 'index'));
I'm creating an application with the following two tables:
posts:
- id
- title
- body
comments:
- id
- post_id
- comment
I was able to bake this app and all the links are working. Now I would
like to customize the app so that, when a comment is added from the
post:
- the post id (list) is not
On Mon, May 18, 2009 at 10:22 PM, Jorge Garifuna garif...@gmail.com wrote:
I'm creating an application with the following two tables:
posts:
- id
- title
- body
comments:
- id
- post_id
- comment
I was able to bake this app and all the links are working. Now I would
like to
It is obvious - no js_vars found in error controller class!
If you add new properties to controllers do not forget to define them
in AppController definition. Same for models. Same for helpers.
Otherwise you see such error.
On May 18, 2:22 pm, Braydenstyles brayden.sty...@gmail.com wrote:
Thank you Brian, I wasn't aware that you could write a custom
validation function.
However, I've tried both methods, and am still having the same
problem. In both cases, the form comes back with fresh data in it.
I have confirmed that the custom validation rule is firing.
what version of PHP is the centos machine running ?
have you got all the required .htaccess files and mod_rewrite
installed in apache2 ?
-
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hello,
Just to let you know that I got this setup working.. Thank you very
very much for the help.
I'll write up some article about the setup as I think it can help
somebody other some day.
Thanks!
On May 18, 6:44 am, Dr. Loboto drlob...@gmail.com wrote:
How do you define a link between
How can i use table raw_06 and model can anyone help me
--~--~-~--~~~---~--~~
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,
+1 with Matt Curry on this:
Remove Model::recursive. All find calls would return just the model
and if you wanted associated models you HAVE TO use Containable.
- Built in functionality for custom find types. Right now there are
some nice hacks that you can put into your AppModel to define
Please show the code in which you create the buttons, together with
the surrounding form code!
Then we may be able to assist you :)
John
On May 19, 2:11 am, Nancy nancy.milli...@gmail.com wrote:
So, I added a submit and a cancel button to my ajax form and it
doesn't matter which you press,
Use reset or button NOT submit type for the cancel button.
input name=Cancel value=cancel type=reset or input name=Cancel
value=cancel type=button
Nancy escribió:
So, I added a submit and a cancel button to my ajax form and it
doesn't matter which you press, it always returns the submit
1 - 100 of 102 matches
Mail list logo