I have a number of shell scripts and they share common functions so I
though it would be smart to have a common base class MyShell that
extends Shell and have all my classes extend MyShell. Well, it turns
out if I do so, initialize() method of subclasses is not getting
called. See line 316 in the
iFeghali,
I have a somewhat similar problem. I have spent today an hour or two
looking into how Cake handles db queries for hasMany vs. hasOne or
belongsTo relationships. Hopefully this will help you to understand
why are you seeing what you are seeing.
Cake processes hasMany and hasOne,
My colleague just pointed out to me that afterFind() passes another
parameter $primary that is supposed to help (see
http://book.cakephp.org/view/681/afterFind).
However I see it unitialized when it is supposed to be true.
On Sep 16, 5:23 pm, vb13 val.brod...@gmail.com wrote:
iFeghali,
I
I have a User Edit page that submits data over https /user/edit. The
controller saves data and redirects via http to /user/view.
In the process I use php session to read/write some data. If I access
session data using Cake Session component, I loose my session. As a
result I get redirected to a
Yes, I am doing this to save a find in a view. You are good Brian :).
Except that the find is not a database call, it calls Salesforce via
an API so I want to save a couple of seconds of a user's time.
Still do not understand why Cake does this while I can use $_SESSION
directly and everything
No, not to my knowledge
On Jan 8, 5:46 pm, Gwoo gwoo.cake...@gmail.com wrote:
Can you pinpoint where the change happened? I am not aware of any
changes to form between RC3 and Final that would affect the usage.
Perhaps you were using form-hidden() before?
Hi all,
I have an interesting problem regarding pagination.
I develop a system to display reports sourced by a 3d party (jasper,
although this is not important). I have 1 reports controller and
Reports model (and a Jasper datasource). The controller retrieves
reports by name. The model
HI all,
there is already a thread
http://groups.google.com/group/cake-php/browse_thread/thread/fb93a2e5241c719/cc219332a9756281?lnk=gstq=now()#cc219332a9756281
that recommends using a cake 'escape' !-' to use now() function
literally, and not quoted but this does not work in RC2. The value is
.htaccess? Do you mean rewriting the URL's? This will not work,
because I want the Client to post to https. Or am I missing something?
On Jan 24, 1:57 am, francky06l [EMAIL PROTECTED] wrote:
You can use .htaccess to force an https connection for the desired
url's.
On Jan 23, 6:34 pm, vb13
Hi all,
I am struggling with the following (I hope simple) issue in 1.2
I have a login form that has to post via https. I would like to use
cake controller/action url notation and let the framework generate a
full https://... URL.
I.e. in my template I have code
Form
10 matches
Mail list logo