10 Dec 2011 18:22
Re: Aida Digest, Vol 54, Issue 3
Bill Torres <wtorres7 <at> yahoo.com>
2011-12-10 17:22:38 GMT
2011-12-10 17:22:38 GMT
what AIDA stand for?
From: "aida-request <at> aidaweb.si" <aida-request <at> aidaweb.si>
To: aida <at> aidaweb.si
Sent: Monday, November 21, 2011 6:00 AM
Subject: Aida Digest, Vol 54, Issue 3
Send Aida mailing list submissions to
aida <at> aidaweb.si
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
aida-request <at> aidaweb.si
You can reach the person managing the list at
aida-owner <at> aidaweb.si
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."
Today's Topics:
1. Re: How to force a page refresh after Ajax call (Janko Miv?ek)
----------------------------------------------------------------------
Message: 1
Date: Sun, 20 Nov 2011 21:45:44 +0100
From: Janko Miv?ek <janko.mivsek <at> eranova.si>
Subject: Re: [aida] How to force a page refresh after Ajax call
To: Aida/Web general discussion list <aida <at> aidaweb.si>
Message-ID: <4EC966F8.1000406 <at> eranova.si>
Content-Type: text/plain; charset=UTF-8
Hi Scott,
Sorry for late answer. Page refresh from Ajax call is possible in Aida
6.3, which is not yet ported to Dolphin.
In 6.3 you can do something like:
(e addButtonText: 'Refresh')
onSubmitDo: [self page redirectTo: self observee]
This will Ajax submit the form, then reload the same page by redirecting
to it.
Best regards
Janko
S, Scott McWilliams pi?e:
> Anyone have any ideas on this?
>
> Thanks,
> Scott
>
> ------------------------------------------------------------------------
> From: scottmcwilliams <at> hotmail.com
> To: aida <at> aidaweb.si
> Date: Fri, 30 Sep 2011 10:19:02 -0500
> Subject: [aida] How to force a page refresh after Ajax call
>
> All,
>
> What is the proper way to force a page refresh after an Ajax call? I
> have button which displays a popup dialog that asks the user to confirm
> an action (save, logout, etc) and then (possibly) redirect based on
> their choice.
>
> If the button is configured to use #ajaxSubmit, the popup confirmation
> appears correctly and the above code does redirect to the correct view
> if the user so chooses, but it does not force a refresh of the page and
> displays the contents of the redirected view above the contents of the
> current view (i.e does not clear the contents of the current browser
> window). If I manually refresh the browser, the view is displayed
> correctly.
>
> If the button is not configured to use #ajaxSubmit, the contents of the
> current view disappear altogether and the popup confirmation does not
> appear at all.
>
> Both views are configured with #aidaDontCache = true.
>
> If it makes a difference, I am using the Dolphin port.
>
> Any and all ideas welcomed.
>
> Thanks,
> Scott
>
> _______________________________________________ Aida mailing list
> Aida <at> aidaweb.si http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>
> _______________________________________________
> Aida mailing list
> Aida <at> aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
--
Janko Miv?ek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
------------------------------
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
End of Aida Digest, Vol 54, Issue 3
***********************************
To: aida <at> aidaweb.si
Sent: Monday, November 21, 2011 6:00 AM
Subject: Aida Digest, Vol 54, Issue 3
Send Aida mailing list submissions to
aida <at> aidaweb.si
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
aida-request <at> aidaweb.si
You can reach the person managing the list at
aida-owner <at> aidaweb.si
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."
Today's Topics:
1. Re: How to force a page refresh after Ajax call (Janko Miv?ek)
----------------------------------------------------------------------
Message: 1
Date: Sun, 20 Nov 2011 21:45:44 +0100
From: Janko Miv?ek <janko.mivsek <at> eranova.si>
Subject: Re: [aida] How to force a page refresh after Ajax call
To: Aida/Web general discussion list <aida <at> aidaweb.si>
Message-ID: <4EC966F8.1000406 <at> eranova.si>
Content-Type: text/plain; charset=UTF-8
Hi Scott,
Sorry for late answer. Page refresh from Ajax call is possible in Aida
6.3, which is not yet ported to Dolphin.
In 6.3 you can do something like:
(e addButtonText: 'Refresh')
onSubmitDo: [self page redirectTo: self observee]
This will Ajax submit the form, then reload the same page by redirecting
to it.
Best regards
Janko
S, Scott McWilliams pi?e:
> Anyone have any ideas on this?
>
> Thanks,
> Scott
>
> ------------------------------------------------------------------------
> From: scottmcwilliams <at> hotmail.com
> To: aida <at> aidaweb.si
> Date: Fri, 30 Sep 2011 10:19:02 -0500
> Subject: [aida] How to force a page refresh after Ajax call
>
> All,
>
> What is the proper way to force a page refresh after an Ajax call? I
> have button which displays a popup dialog that asks the user to confirm
> an action (save, logout, etc) and then (possibly) redirect based on
> their choice.
>
> If the button is configured to use #ajaxSubmit, the popup confirmation
> appears correctly and the above code does redirect to the correct view
> if the user so chooses, but it does not force a refresh of the page and
> displays the contents of the redirected view above the contents of the
> current view (i.e does not clear the contents of the current browser
> window). If I manually refresh the browser, the view is displayed
> correctly.
>
> If the button is not configured to use #ajaxSubmit, the contents of the
> current view disappear altogether and the popup confirmation does not
> appear at all.
>
> Both views are configured with #aidaDontCache = true.
>
> If it makes a difference, I am using the Dolphin port.
>
> Any and all ideas welcomed.
>
> Thanks,
> Scott
>
> _______________________________________________ Aida mailing list
> Aida <at> aidaweb.si http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>
> _______________________________________________
> Aida mailing list
> Aida <at> aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
--
Janko Miv?ek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
------------------------------
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
End of Aida Digest, Vol 54, Issue 3
***********************************
<div><div> <div><span>what AIDA stand for?</span></div> <div><br></div> <div> <div> <div class="hr" contenteditable="false" readonly></div> <span>From:</span> "aida-request <at> aidaweb.si" <aida-request <at> aidaweb.si><br><span>To:</span> aida <at> aidaweb.si <br><span>Sent:</span> Monday, November 21, 2011 6:00 AM<br><span>Subject:</span> Aida Digest, Vol 54, Issue 3<br> <br> Send Aida mailing list submissions to<br> <a href="mailto:aida <at> aidaweb.si" ymailto="mailto:aida <at> aidaweb.si">aida <at> aidaweb.si</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://lists.aidaweb.si/mailman/listinfo/aida<br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:aida-request <at> aidaweb.si" ymailto="mailto:aida-request <at> aidaweb.si">aida-request <at> aidaweb.si</a><br><br>You can reach the person managing the list at<br> <a href="mailto:aida-owner <at> aidaweb.si" ymailto="mailto:aida-owner <at> aidaweb.si">aida-owner <at> aidaweb.si</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Aida digest..."<br><br><br>Today's Topics:<br><br> 1. Re: How to force a page refresh after Ajax call (Janko Miv?ek)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 20 Nov 2011 21:45:44 +0100<br>From: Janko Miv?ek <<a href="mailto:janko.mivsek <at> eranova.si" ymailto="mailto:janko.mivsek <at> eranova.si">janko.mivsek <at> eranova.si</a>><br>Subject: Re: [aida] How to force a page refresh after Ajax call<br>To: Aida/Web general discussion list <<a href="mailto:aida <at> aidaweb.si" ymailto="mailto:aida <at> aidaweb.si">aida <at> aidaweb.si</a>><br>Message-ID: <<a href="mailto:4EC966F8.1000406 <at> eranova.si" ymailto="mailto:4EC966F8.1000406 <at> eranova.si">4EC966F8.1000406 <at> eranova.si</a>><br>Content-Type: text/plain; charset=UTF-8<br><br>Hi Scott,<br><br>Sorry for late answer. Page refresh from Ajax call is possible in Aida<br>6.3, which is not yet ported to Dolphin.<br><br>In 6.3 you can do something like:<br><br> (e addButtonText: 'Refresh')<br> onSubmitDo: [self page redirectTo: self observee]<br><br>This will Ajax submit the form, then reload the same page by redirecting<br>to it.<br><br>Best regards<br>Janko<br><br><br>S, Scott McWilliams pi?e:<br>> Anyone have any ideas on this?<br>> <br>> Thanks,<br>> Scott<br>> <br>> ------------------------------------------------------------------------<br>> From: <a href="mailto:scottmcwilliams <at> hotmail.com" ymailto="mailto:scottmcwilliams <at> hotmail.com">scottmcwilliams <at> hotmail.com</a><br>> To: <a href="mailto:aida <at> aidaweb.si" ymailto="mailto:aida <at> aidaweb.si">aida <at> aidaweb.si</a><br>> Date: Fri, 30 Sep 2011 10:19:02 -0500<br>> Subject: [aida] How to force a page refresh after Ajax call<br>> <br>> All,<br>> <br>> What is the proper way to force a page refresh after an Ajax call? I<br>> have button which displays a popup dialog that asks the user to confirm<br>> an action (save, logout, etc) and then (possibly) redirect based on<br>> their choice.<br>> <br>> If the button is configured to use #ajaxSubmit, the popup confirmation<br>> appears correctly and the above code does redirect to the correct view<br>> if the user so chooses, but it does not force a refresh of the page and<br>> displays the contents of the redirected view above the contents of the<br>> current view (i.e does not clear the contents of the current browser<br>> window). If I manually refresh the browser, the view is displayed<br>> correctly.<br>> <br>> If the button is not configured to use #ajaxSubmit, the contents of the<br>> current view disappear altogether and the popup confirmation does not<br>> appear at all.<br>> <br>> Both views are configured with #aidaDontCache = true.<br>> <br>> If it makes a difference, I am using the Dolphin port.<br>> <br>> Any and all ideas welcomed.<br>> <br>> Thanks,<br>> Scott<br>> <br>> _______________________________________________ Aida mailing list<br>> <a href="mailto:Aida <at> aidaweb.si" ymailto="mailto:Aida <at> aidaweb.si">Aida <at> aidaweb.si</a> <a href="http://lists.aidaweb.si/mailman/listinfo/aida" target="_blank">http://lists.aidaweb.si/mailman/listinfo/aida</a><br>> <br>> <br>> <br>> _______________________________________________<br>> Aida mailing list<br>> <a href="mailto:Aida <at> aidaweb.si" ymailto="mailto:Aida <at> aidaweb.si">Aida <at> aidaweb.si</a><br>> <a href="http://lists.aidaweb.si/mailman/listinfo/aida" target="_blank">http://lists.aidaweb.si/mailman/listinfo/aida</a><br><br>-- <br>Janko Miv?ek<br>Aida/Web<br>Smalltalk Web Application Server<br>http://www.aidaweb.si<br><br><br>------------------------------<br><br>_______________________________________________<br>Aida mailing list<br><a href="mailto:Aida <at> aidaweb.si" ymailto="mailto:Aida <at> aidaweb.si">Aida <at> aidaweb.si</a><br><a href="http://lists.aidaweb.si/mailman/listinfo/aida" target="_blank">http://lists.aidaweb.si/mailman/listinfo/aida</a><br><br><br>End of Aida Digest, Vol 54, Issue 3<br>***********************************≤br><br><br> </div> </div> </div></div>
RSS Feed