getting SQL statement

2009-05-05 Thread Krish

Hi, I want to see wat sql statement made in back by cake ORM? How can
I get that?

--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: error in executing consecutive ajax calls

2009-04-07 Thread Krish

yes brain. when i click my add/delete button second time, its doing
nothing. the ajax request is not made. As i am new to cakephp i am not
able to resolve this error.

Any samples working with jquery and cakephp will help me lot...

Thanks


On Apr 6, 8:35 am, brian  wrote:
> By "not working" do you mean that the request is not made? I suspect
> it's a javascript event binding issue. Are you updating the page?
> Specifically, the "add comment" button/form?
>
> I can't go into details of how to deal with this, though, as I use
> jQuery and so never use Cake's ajax helper stuff. If you use Firebug,
> you can at least see if the javascript is firing when you click the
> button. An alert() will work in a pinch, though.
>
> On Sun, Apr 5, 2009 at 3:45 PM, Krish  wrote:
>
> > Hi All,
>
> > I have a form in which I have add and delete operations for comments
> > section. I am implementing them using Ajax.
>
> > My first Ajax operation (i.e. either add/ delete) is working fine.
> > when i go for my second Ajax operation it is not working.
>
> > For Ex:
> >               step 1: Adding a new comment using 'Add
> > Comment' .                           // Ajax call is working fine.
> >               step 2: When i click 'Add Comment' again, It is not
> > adding new data.       // Ajax call is not working.
>
> > Note: when I refresh /reload  the page manually, again my first Ajax
> > call is executing. second call is not working.
>
> > Can anyone help me to over come this issue...
>
> > I am using CakePHP's built in Ajax helpers with prototype/
> > scriptaculous for my Ajax operations.
>
> > Thanks in advance...
>
> > Regards,
> > Krish
--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



error in executing consecutive ajax calls

2009-04-06 Thread Krish

Hi All,

I have a form in which I have add and delete operations for comments
section. I am implementing them using Ajax.

My first Ajax operation (i.e. either add/ delete) is working fine.
when i go for my second Ajax operation it is not working.

For Ex:
   step 1: Adding a new comment using 'Add
Comment' .   // Ajax call is working fine.
   step 2: When i click 'Add Comment' again, It is not
adding new data.   // Ajax call is not working.

Note: when I refresh /reload  the page manually, again my first Ajax
call is executing. second call is not working.

Can anyone help me to over come this issue...

I am using CakePHP's built in Ajax helpers with prototype/
scriptaculous for my Ajax operations.

Thanks in advance...

Regards,
Krish

--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: beginning Ajax with cakephp 1.2

2009-04-04 Thread Krish

Hi Jim,

Thanks for your quick reply. let me go through the links



On Apr 3, 2:33 pm, Jimmy Bourassa  wrote:
> Krish,
> I have not used it really myself so far, but since you asked for
> starting points I might as well feed you with some links.
>
> Teknoid wrote some a couple articles on using jQuery with CakePHP 
> :http://teknoid.wordpress.com/2009/01/19/jquery-in-the-cakephp-world-p...http://teknoid.wordpress.com/2009/01/21/jquery-in-the-cakephp-world-p...
>
> From the Book, using Prototype and Scriptaculous 
> :http://book.cakephp.org/view/212/Methods
>
> Hope it helps,
> Jimmy
>
> On Apr 3, 2:54 pm, Krish  wrote:
>
> > Hi All,
>
> > I am novice to CakePHP. I am using version 1.2. I have to submit a
> > from (which is a part of my page) to the database and update the page
> > information with newly saved data without refreshing the page(using
> > Ajax).
>
> > I am planning to use any of the javascript libraries like JQuery/
> > Prototype.
>
> > Can anybody help in this by providing the details from where i have to
> > start and go ahead with it.
>
> > any sample codes/links to the tutorials would help me lot to do this.
>
> > Thanks in Advance
>
> > Regards,
> > Krish

--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



beginning Ajax with cakephp 1.2

2009-04-03 Thread Krish

Hi All,

I am novice to CakePHP. I am using version 1.2. I have to submit a
from (which is a part of my page) to the database and update the page
information with newly saved data without refreshing the page(using
Ajax).

I am planning to use any of the javascript libraries like JQuery/
Prototype.

Can anybody help in this by providing the details from where i have to
start and go ahead with it.


any sample codes/links to the tutorials would help me lot to do this.

Thanks in Advance

Regards,
Krish

--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---