Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

Nested FK 04 May 2013 19:37 #7134

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Nested FK does not work properly in "item form"

Please Log in or Create an account to join the conversation.

Re: Nested FK 04 May 2013 20:56 #7136

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
What do you mean ?
Ajax groups ?

Wich PTL ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Nested FK 05 May 2013 13:24 #7140

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
It seems it is ajax group.
PTL: Nutrients, nutrients_scheds, nutrients_sched
Right the first FK in the item form

Edit:
this component exists 3x in sandbox, please remove the redundant same components

Edit:
yes, definitely it is ajax issue. I tried out without ajax loading and it works

Please Log in or Create an account to join the conversation.

Last edit: by etc.

Re: Nested FK 16 May 2013 16:56 #7195

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Hi,

any update?

Please Log in or Create an account to join the conversation.

Re: Nested FK 16 Jun 2013 12:45 #7488

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
UNFORTUNATELY it still does not work.
Ajax in forms is problematic (foreign key). This issue persists from the begining.
With no ajax it works correctly.

Please Log in or Create an account to join the conversation.

Re: Nested FK 16 Jun 2013 14:54 #7495

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi,

Today, I ve made my project changes into the new cook2.5 interface.

I use a lot this Ajax grouping with success. this is a nice new feature for me when managing huge datas list.
It works into SandBox for CMS30.

Please Log in or Create an account to join the conversation.

Re: Nested FK 16 Jun 2013 17:50 #7497

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Sorry I did not mean filter in grid, but combo in item form. Filter in grid works for me too.

Please Log in or Create an account to join the conversation.

Re: Nested FK 17 Jun 2013 07:14 #7505

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I will have a look today.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Nested FK 18 Jun 2013 05:02 #7536

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Hi,

Is there any update on this? Could you be so kind to check what wrong is.
It is still blocking me to going forward.

thank you very much

Please Log in or Create an account to join the conversation.

Re: Nested FK 20 Jun 2013 21:28 #7583

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Can you point me somehow what wrong is in my project or this issue is in builder?
This was announced 6 weeks ago with no solution yet.

please help
thanks

Please Log in or Create an account to join the conversation.

Re: Nested FK 20 Jun 2013 23:03 #7584

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Hi etc,

Sorry you are not alone in this case. I have to manage priorities.
I will try tomorry. Promise.

Kind Regards.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Nested FK 21 Jun 2013 15:24 #7592

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ok, I got it (but still not fixed online)

The problem is that your ajax field is missing. (not a big deal)
models/fields/ckajax.php

Work around :
Instance an ajax group on a filter, and the file will be created.
Or : find this file from another project. (static file)

I cannot upgrade now because I am also improving performances (memory), and I have done a LOT OF CHANGES today.

Must do all required tests before to upgrade.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Nested FK 23 Jun 2013 09:57 #7617

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Thanks, it helped. But still something is missing. When I need to edit existing record ajax will load but the ajax fields are empty.
I think that some coding need to be add in tmpl/some_form.php and in view.html.php

Please Log in or Create an account to join the conversation.

Re: Nested FK 24 Jun 2013 13:31 #7625

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

Cook is writting the strict necessary, so it was working, but not when AJAX was instancied only in form.
www.j-cook.net/index.php/docs/versions/77-2-5-3
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Nested FK 12 Oct 2013 12:22 #11376

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Hi,

I can not get it work right now in J3. There is only shown spinner loading and loading ..... I do not understand. It works in sandbox. I also created completely new testing component for this purpose and in sandbox it is fine. Unfortunately not on my web again.

any advice what can be wrong?
thanks a lot

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.096 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started