[V8/Seaside] Server control panel wants to save changes

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

[V8/Seaside] Server control panel wants to save changes

Postby jtuchel » Fri Jun 26, 2009 12:36 am

Hi there

just a small annoyance;
Every time the seaside server console is closed, it asks if I want to save changes, just like any other workspace.
I almost never want to. Keep that question away from me ;-)

Joachim
jtuchel
[|]
 
Posts: 245
Joined: Fri Oct 05, 2007 1:05 am
Location: Ludwigsburg, Germany

Re: [V8/Seaside] Server control panel wants to save changes

Postby benvandijk » Thu Jul 02, 2009 4:14 am

Hi Joachim,

I have a simple fix for this:

set the confirmClose option to false by changing the following method in class WASstServerMonitor

Code: Select all
windowClose: aWidget clientData: clientData callData: callData
   "Process the windowCloseCallback from the shell.
    The window will close unless the doit: field is
    set to false in the callData.
   
    Ensure the refreshProcess is terminated so it doesn't try to update the closed window."

   self removeManagerCallbacks.
   self terminateRefreshProcess.
   self confirmClose: false.
   
   super windowClose: aWidget clientData: clientData callData: callData
benvandijk
 
Posts: 45
Joined: Sun Feb 25, 2007 7:14 am
Location: Arnhem, Netherlands

Re: [V8/Seaside] Server control panel wants to save changes

Postby wembley » Thu Jul 16, 2009 11:07 am

Fixed in V8.0.1
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest