Using VW 7.3.1 -- I see the following problem sometimes ...
A tag of the form <cg:form name="abc" > is looked up in the taglib, and found because another session had created it. So it just does a "copy" of that tag instance. However, my "setName: ..." method had in fact done things, specifically added the name "abc" to the session dictionary. Since the setName: is in fact not invoked, the value does not get set into the session dictionary and subsequent tags blow up. Questions 1. is this expected behavior? I am using tiny-http at the moment, with two invocations from the same machine, one IE and one Firefox. 2. is my doing things in a setXxx: just "wrong"? 3. am I missing something totally? -- Dennis Smith [hidden email] Cherniak Software Development Corporation +1 905.771.7011 400-10 Commerce Valley Dr E Fax: +1 905.771.6288 Thornhill, ON Canada L3T 7N7 http://www.CherniakSoftware.com |
Anyone have thoughts on my post below?
Dennis Smith wrote: > Using VW 7.3.1 -- I see the following problem sometimes ... > > A tag of the form > <cg:form name="abc" > > is looked up in the taglib, and found because another session had > created it. So it just does a "copy" of that tag instance. > > However, my "setName: ..." method had in fact done things, > specifically added the name "abc" to the > session dictionary. Since the setName: is in fact not invoked, the > value does not get set into the session dictionary > and subsequent tags blow up. > > Questions > 1. is this expected behavior? I am using tiny-http at the moment, > with two invocations from the same machine, > one IE and one Firefox. > 2. is my doing things in a setXxx: just "wrong"? > 3. am I missing something totally? > > -- Dennis Smith [hidden email] Cherniak Software Development Corporation +1 905.771.7011 400-10 Commerce Valley Dr E Fax: +1 905.771.6288 Thornhill, ON Canada L3T 7N7 http://www.CherniakSoftware.com |
Hi,
I'm using VW 7.5 to do some Seaside work. Here's the version info: VisualWorks®, Pre-Release 7.5 (apr06.1) of April 26, 2006 So, I'm trying to set the default SMTP server so I can use the MailMessage class to send email. When I send the message I get a popup that says: "You need to update Tools->Network Setting.. for default outgoing mail server." I cannot seem to figure out where to do this. If I look under the Tools menu in the Transcipt or at the Systems->Settings view I see nothing for messages or mail, etc. Is there a cross platform way for VW to get this kind of information from the OS? Thanks, -Carl Gundel, author of Liberty BASIC http://www.libertybasic.com |
You need to load the NetConfigTool package and set in
System->Setting->Net a mail server. Tamara Kogan Smalltalk Development Cincom Systems > -----Original Message----- > From: Carl Gundel [mailto:[hidden email]] > Sent: Friday, June 09, 2006 10:13 PM > To: VWNC, > Subject: [7.5]Net client. Setting default SMTP > > Hi, > > I'm using VW 7.5 to do some Seaside work. Here's the version info: > > VisualWorks(r), Pre-Release 7.5 (apr06.1) of April 26, 2006 > > So, I'm trying to set the default SMTP server so I can use the > class to send email. When I send the message I get a popup that says: > "You > need to update Tools->Network Setting.. for default outgoing mail server." > > I cannot seem to figure out where to do this. If I look under the Tools > menu in the Transcipt or at the Systems->Settings view I see nothing for > messages or mail, etc. > > Is there a cross platform way for VW to get this kind of information from > the OS? > > Thanks, > > -Carl Gundel, author of Liberty BASIC > http://www.libertybasic.com > |
Thanks! That was quick. I did think to look at what parcels weren't loaded
and that did it for me only after my post. I thought I had everything I needed just because MailMessage and NetClient were loaded. Oops. :-/ Now it works. I *love* Smalltalk! -Carl ----- Original Message ----- From: "Kogan, Tamara" <[hidden email]> To: "Carl Gundel" <[hidden email]>; "VWNC, " <[hidden email]> Sent: Friday, June 09, 2006 10:21 PM Subject: RE: [7.5]Net client. Setting default SMTP You need to load the NetConfigTool package and set in System->Setting->Net a mail server. Tamara Kogan Smalltalk Development Cincom Systems > -----Original Message----- > From: Carl Gundel [mailto:[hidden email]] > Sent: Friday, June 09, 2006 10:13 PM > To: VWNC, > Subject: [7.5]Net client. Setting default SMTP > > Hi, > > I'm using VW 7.5 to do some Seaside work. Here's the version info: > > VisualWorks(r), Pre-Release 7.5 (apr06.1) of April 26, 2006 > > So, I'm trying to set the default SMTP server so I can use the > class to send email. When I send the message I get a popup that says: > "You > need to update Tools->Network Setting.. for default outgoing mail server." > > I cannot seem to figure out where to do this. If I look under the Tools > menu in the Transcipt or at the Systems->Settings view I see nothing for > messages or mail, etc. > > Is there a cross platform way for VW to get this kind of information from > the OS? > > Thanks, > > -Carl Gundel, author of Liberty BASIC > http://www.libertybasic.com > |
In reply to this post by Kogan, Tamara
I'm going to need to support serial communications in my VisualWorks
application for Windows, Mac and Linux. I'd be interested in comments from anyone who has experience on any or all of these platforms. Thanks, -Carl Gundel, author of Liberty BASIC http://www.libertybasic.com |
Hi, Carl,
there was a package (only for the windows platform) done by Travis. I used it long time ago (around 5.x ). If I'm not worng, the name is NTOSSupport or something close. Ciao Giorgio -----Messaggio originale----- Da: Carl Gundel [mailto:[hidden email]] Inviato: lunedì 19 giugno 2006 3.08 A: VWNC, Oggetto: [Win][OS X][Linux86]Serial communications I'm going to need to support serial communications in my VisualWorks application for Windows, Mac and Linux. I'd be interested in comments from anyone who has experience on any or all of these platforms. Thanks, -Carl Gundel, author of Liberty BASIC http://www.libertybasic.com |
In reply to this post by Carl Gundel
Hi Carl,
Load parcel Serial.pcl (Goodies/parc), it has support for Linux and Win, I don't know about Mac. Best regards Janko Carl Gundel wrote: > I'm going to need to support serial communications in my VisualWorks > application for Windows, Mac and Linux. I'd be interested in comments > from anyone who has experience on any or all of these platforms. > > Thanks, > > -Carl Gundel, author of Liberty BASIC > http://www.libertybasic.com > |
In reply to this post by Dennis smith-4
I'm thoroughly jet-lagged at the moment, however my first guess would be that this is related to you using "name" as an attribute name, and that this doesn't agree with the way the objects involved in tag processing think of name. I know that <cg:form name="abc" > will create a tag occurrence object which has a name that is "form". Their internal idea of a name ought not conflict with an attribute, but I can imagine that it might. If using a different attribute name than "name" helps, that would support my theory.
I also suspect that doing things in a setXYZ method might not be optimal. Why not just do it at the beginning of the doStart method, or somewhere similar. But that might also just mask other symptoms of the same problem. I've created AR 50948 for this. At 11:20 AM 08/06/2006, Dennis Smith wrote: >Using VW 7.3.1 -- I see the following problem sometimes ... > >A tag of the form > <cg:form name="abc" > >is looked up in the taglib, and found because another session had >created it. So it just does a "copy" of that tag instance. > >However, my "setName: ..." method had in fact done things, specifically added the name "abc" to the >session dictionary. Since the setName: is in fact not invoked, the value does not get set into the session dictionary >and subsequent tags blow up. > >Questions > 1. is this expected behavior? I am using tiny-http at the moment, with two invocations from the same machine, > one IE and one Firefox. > 2. is my doing things in a setXxx: just "wrong"? > 3. am I missing something totally? > > >-- >Dennis Smith [hidden email] >Cherniak Software Development Corporation +1 905.771.7011 >400-10 Commerce Valley Dr E Fax: +1 905.771.6288 >Thornhill, ON Canada L3T 7N7 http://www.CherniakSoftware.com -- Alan Knight [|], Cincom Smalltalk Development [hidden email] [hidden email] http://www.cincom.com/smalltalk "The Static Typing Philosophy: Make it fast. Make it right. Make it run." - Niall Ross |
Free forum by Nabble | Edit this page |