stephane ducasse | 4 Nov 13:12 2011
Picon

Re: BestWebFrameworks

I guess that I know who wrote http://www.bestwebframeworks.com/web-framework-review/smalltalk/106/seaside/

:)

On Oct 16, 2011, at 1:56 PM, Janko Mivšek wrote:

> Hi guys,
> 
> Finally a website to congratulate authors, because they put Smalltalk
> right on the first page! Aida and Seaside Smalltalk web frameworks are
> so far mentioned. Go there and rate/review them!
> 
> 	http://www.bestwebframeworks.com/
> 
> 
> Best regards
> Janko
> 
> 
> -- 
> Janko Mivšek
> Aida/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
> _______________________________________________
> seaside mailing list
> seaside <at> lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
(Continue reading)

Picon

Changing Cherokee for a Smalltalk based web server?

Hi all,

I'm getting random "504 gateway error" answers from several sites (using 
Zope and Rails) that are served by Cherokee using a reverse proxy setup. 
This error is an open issue in Cherokee and has been reported and not 
properly patched since 2009:

https://code.google.com/p/cherokee/issues/detail?id=504

I did choose Cherokee because of its easiness to setup and newbie 
friendly interface and character, but with this problem I'm thinking in 
testing another server, may be a Smalltalk based one that have similar 
characteristics and can serve sites in Zope or Rails also. I know about 
Comanche, Swazoo and Zinc, but I don't know which of them is better 
(making load balance and stuff like that) and have proper documentation 
about using it in combination with other software (Zope and Rails in my 
case).

Any advice on this matter is greatly appreciated,

Offray

Scott McWilliams | 19 Nov 00:04 2011
Picon

Re: How to force a page refresh after Ajax call

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

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;}
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
<div><div dir="ltr">
Anyone have any ideas on this?<br><br>Thanks,<br>Scott<span></span><br><br><div>From: scottmcwilliams <at> hotmail.com<br>To: aida <at> aidaweb.si<br>Date: Fri, 30 Sep 2011 10:19:02 -0500<br>Subject: [aida] How to force a page refresh after Ajax call<br><br>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

<div dir="ltr">
All,<br><br>What is the proper way to force a page refresh after an Ajax call?&nbsp; 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.<br><br>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).&nbsp; If I manually refresh the browser, the view is displayed correctly.<br><br>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.<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<span><br></span> 		 	   		  </div>
<br>_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida</div> 		 	   		  </div></div>
Janko Mivšek | 20 Nov 21:45 2011
Picon

Re: How to force a page refresh after Ajax call

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

Gmane