I was surprised to find changes in 7.6 that made it seemingly impossible
to configure toolkit sites with code alone, so attached file-out corrects the situation to allow you to do the following, WebSiteConfiguration configureEmpty. site := VisualWave.WebSiteConfiguration globalConfiguration addSite: (VisualWave.WebSite new: 'realtime'). params := Dictionary new. config := (Dictionary new) at: 'environment' put: 'DeepCoveLabs'; at: 'description' put: 'Real Time API'; at: 'directory' put: ObjectMemory imageDirectory asString; at: 'debuggable' put: 'true'; at: 'enabled' put: 'true'; at: 'registeredServlets' put: 'true'; yourself. logicals := (Dictionary new) at: 'myservlet' put: 'servlet/MyServlet'; yourself. params at: 'configuration' put: config. params at: 'logical-names' put: logicals. site initializeFrom: params. I hope this can be integrated at some point if others consider this flexibility as something they'd want. We always include things like these in codebase to allow juggling versions back and forth without thinking about some external configuration files. Cheers! -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4 [hidden email] CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc WebSiteConfiguration-configureEmpty.st (1K) Download Attachment |
+1
Giorgio On Fri, Apr 18, 2008 at 8:40 PM, Boris Popov <[hidden email]> wrote: I was surprised to find changes in 7.6 that made it seemingly impossible _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |