Welcome, Guest
Username: Password: Remember me

TOPIC: [CLOSED] Pagination and Ajax loading not working

[CLOSED] Pagination and Ajax loading not working 08 May 2012 10:07 #2281

  • ahv
  • ahv's Avatar
  • Offline
  • New Member
  • \o/ A
  • Posts: 18
  • Thank you received: 2
  • Karma: 0
Dear Admin

Once again, brilliant functionality that you are bringing to J-Cook, keep up the good work.

I've just tried the Ajax loading, however, when I make a combo-box and toggle that it should use Ajax loading, my component will not load, when I try to access the component on my site it just keeps loading - Does it need to be applied in some special way?

So I debugged and returned to the load settings with no ajax loading, but now the pagination in my component is not working.

I'm looking very much forward to the new functionality.

Thanks
Alexander
\o/ A
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 08 May 2012 13:21 #2285

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
I developped this new feature thinking forgiving definitively 1.5 Versions. (For the moment I am not decided)

1.5 is using MooTools 1.1, and the problem comes from Request Class that doesn't exist in this version (not under Request class name)

I now start to debug this.

Ajax has'nt been yet officially announced in the website for this reason.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 08 May 2012 13:23 #2286

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
About pagination, maybe it works now.

I've just fixed something about statesVars.

Try again please.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 08 May 2012 16:19 #2287

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Ajax should be solved now. can you confirm please ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 09 May 2012 00:22 #2291

  • ahv
  • ahv's Avatar
  • Offline
  • New Member
  • \o/ A
  • Posts: 18
  • Thank you received: 2
  • Karma: 0
Dear Admin

Pagination is still not working

If I put ajax loading in a grid, that will make the component load, however I see no ajax effect (not sure how to see it in my grid anyway).

Whenever I set an ajax loading in any of my filtering options the component does still not load.

Best wishes
Alexander
\o/ A
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 13 May 2012 23:10 #2334

  • ahv
  • ahv's Avatar
  • Offline
  • New Member
  • \o/ A
  • Posts: 18
  • Thank you received: 2
  • Karma: 0
Dear Admin

I'm not sure if you have looked more into the problems, but they are still not working - Ajax loading will make my component load now, but no ajax functionality is seen.

Pagination is still not working.

Looking very much forward to the full functionality of Ajax!

Best wishes
Alexander
\o/ A
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 14 May 2012 07:46 #2338

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
I am currently rewriting the whole controller and models structure files.

I am taking this is consideration. Please be patient. Next week it should be working.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 28 May 2012 13:58 #2426

  • xovox
  • xovox's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
The same problem - paginaton is not working :( In Url I can see "?start=5", and on page only 5 result present, but when I try to click "2" or "3" or "latest" - no effect, only in url i see "?start=10" or "?start=15".
World is wonderful!
Last Edit: 28 May 2012 14:00 by xovox. Reason: mistake
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 30 May 2012 18:40 #2449

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Same problem here... A solution maybe, while waiting for the new version ?
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 01 Jun 2012 09:27 #2462

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Solved.


Please regenerate.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 01 Jun 2012 09:35 #2465

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Dear admin,
Could you tell me what changed, because my generated component is deeply modified and i would like not to have to do it all over again.
Thanks,
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 01 Jun 2012 14:35 #2467

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
classes/jmodel.list.php

Replace the getUserStateFromRequest() function.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: BTB300

Re: Pagination and Ajax loading not working 01 Jun 2012 16:09 #2470

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
You're the greatest
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 02 Jun 2012 10:45 #2471

  • ahv
  • ahv's Avatar
  • Offline
  • New Member
  • \o/ A
  • Posts: 18
  • Thank you received: 2
  • Karma: 0
Thank you, everything is working great! I'm looking very much forward to the new 2.0 verison of Cook. Keep up the good work.
\o/ A
The administrator has disabled public write access.

Re: Pagination and Ajax loading not working 17 Jul 2012 08:32 #2806

  • BTB300
  • BTB300's Avatar
  • Online
  • Moderator
  • Posts: 415
  • Thank you received: 131
  • Karma: 47
VeCrea wrote:
Dear admin,
Could you tell me what changed, because my generated component is deeply modified and i would like not to have to do it all over again.
Thanks,

Thanks as well - I'm in the same boat have made a lot of modifications outside the cook environment... And the "heads up" on what changed is a life saver :)
The administrator has disabled public write access.
Time to create page: 0.130 seconds

Get Started