DMXzone Database Updater PHP Support Product Page

Answered

Redirect back to appropriate master page from detail page

Asked 08 Feb 2016 15:38:25
2
have this question
08 Feb 2016 15:38:25 David Woolley posted:
I have a master page with a list of records - each record listed has an edit button that links to a separate detail page for updating the record selected. I'm using a URL parameter for the ID field to connect the 2 pages.

After updating the record, the detail page should redirect back to the master list at the same page .

In other words, say the record is on page 3 of a long list of results - edit the record on the detail page, then go back to page 3 of the results. Is this possible using the data bindings on the master page?
e.g. @currentpage in the repeat region of the master page could be used.

What is the best way of redirecting to another page with the Updater?
In the old Dreamweaver Update Record behavior, the redirect is built in with the $updateGoTo statement just after the update code. With the DMXzone DB Updater do you just put the link on the button with the update action?

Any suggestions?

Replies

Replied 08 Feb 2016 16:07:06
08 Feb 2016 16:07:06 Teodor Kuduschiev replied:
Hello David,
Redirect to a specific page of the results on the master page will be possible in about two or three weeks, when a huge update of the server connect, html5 data bindings and the rest of the database tools is coming.
Replied 08 Feb 2016 17:19:43
08 Feb 2016 17:19:43 David Woolley replied:
Thanks Teodor
I'll look forward to the update.
Will the update include server validations?
Dave
Replied 08 Feb 2016 17:24:31
08 Feb 2016 17:24:31 Teodor Kuduschiev replied:
Yes, the validation is coming immediately after this update.
Replied 22 Mar 2016 14:24:29
22 Mar 2016 14:24:29 Greta Garberini replied:
Is the redirect page option already available? Maybe I overlooked it after the last update. One solution would to fire up a notify message like "update successful" and a button to return -> well its not very nice but better than staying on the page without any notice
Replied 22 Mar 2016 14:41:28
22 Mar 2016 14:41:28 Teodor Kuduschiev replied:
Well just use the Go To URL behavior, integrated in DW.
onSuccess -> Go To URL
Replied 22 Mar 2016 14:56:43
22 Mar 2016 14:56:43 David Woolley replied:
My original question was about redirecting to a specific page in a paged results list. I don't think the 'Go to URL' would do this - it would return to the first page.
Dave
Replied 24 Mar 2016 13:30:40
24 Mar 2016 13:30:40 Teodor Kuduschiev replied:
Hello David, that would be possible with the release of the HTML5 State Manager extension:
www.youtube.com/watch?v=w-KmNmuoPb4&feature=youtube_gdata

Reply to this topic