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

TOPIC:

[FIXED] Reuse functionality do not work 13 Sep 2012 01:22 #3563

  • tr4ding
  • tr4ding's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 42
  • Thank you received: 0
Hi folks!! Really really nice this beta :)

Here is the problem.....

In my layout form, my original setting allowed me to pass to a second form after saving data. Now, after saving data I'm redirected to the main data collection instead of moving forward to the second form.

You can verify on your own in my sandbox.

Any help? thanks

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

Last edit: by admin.

Reuse functionality do not work 14 Sep 2012 12:39 #3621

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Wich PTL ? (Project / Table / Layout)
Coding is now a piece of cake

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

Reuse functionality do not work 14 Sep 2012 12:55 #3623

  • tr4ding
  • tr4ding's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 42
  • Thank you received: 0
Project: Rizemap v2
Table: POI
Layout: Aggiungi un POI (both front-end and back-end)

TASK: SAVE button with redirection to another layout (table: poi_profile; layout: associa un profilo ad un POI)

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

Reuse functionality do not work 14 Sep 2012 13:42 #3626

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I think we already talked about that.
poi_profile is not the same table, so the cid is flushed (security)

Two possibilities :

If poi_profile is 1:1 (Extension table)
- You have a mistake. id_poi shouldn't exist. Use the default id to identifiate it
- all you have to do is : reuse : cid



If poi_profile contain a FK to Poi (1:N) :
TODO :
reuse : filter_id_poi

So when a 'Poi' is saved, the id of the current item is used to prefill the form value for the FK to Poi.

Right ?
Coding is now a piece of cake

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

Re: Reuse functionality do not work 14 Sep 2012 14:06 #3631

  • tr4ding
  • tr4ding's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 42
  • Thank you received: 0
No.....there was a misunderstanding between us :)

The problem is that, when I click on SAVE button I should be redirected to another form....instead I'm redirected into the collection view of POI table :(

Before the introduction of the BETA, it worked.....

Reuse functionality is a secondary "problem" for me atm......

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

Re: Reuse functionality do not work 14 Sep 2012 17:51 #3644

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.097 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started