home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!murignis!horus.ap.mchp.sni.de!breslau!david
- From: david@breslau.ap.mchp.sni.de (David Smyth)
- Newsgroups: comp.windows.x
- Subject: Re: WCL templates are causing us trouble (version 2.3)
- Date: 17 Nov 1992 09:15:24 GMT
- Organization: Siemens-Nixdorf AG
- Lines: 57
- Message-ID: <1ead7cINN88l@horus.ap.mchp.sni.de>
- References: <LARRY.92Nov12165508@shark.mitra.com>
- NNTP-Posting-Host: breslau.ap.mchp.sni.de
-
- larry@shark.mitra.com (Larry Williamson) writes:
- >
- >I have not had any luck getting templates to work properly with Wcl
- >versions greater than 2.1. They work okay in version 2.1.
- >
- >I had not been able to install version 2.2 since our applications
- >needed templates and we could never workout just why they stopped
- >working. I tried to install 2.3, but no luck!
- >
- >The Mri test using templates fails as well as our own applications.
- >Everything else works as advertised.
- >
- >Error messages from Mri are always ...
- >
- > Wcl Warning: Mri.main.table.15.wcCreate resource missing - need class or constructor
- >
- >Our environment is a SunOS 4.1.2, X11R5 (fix-12), Motif 1.1.3.
-
- It works for me in my test environments, one of which is the same
- as yours (Sun,R5,Mot). The specific Mri test "PerTem" which does
- the "Motif Periodic Table" using templates works on all our R5 platforms.
-
- R5 is an absolute must of course: Wcl cannot enumerate the database
- before R5.
-
- Here is what you can try in R5 to better see just what the @&%$ is going
- on: you can see all template definition resources using this library
- wide resource:
-
- *wclTraceTemplateDef: True
-
- You can see the resources which apply to a widget during creation
- using the widget instance resources:
-
- *foo.wcPreCreateDumpResources: True
- *foo.wcTraceTemplate: True
- *foo.wcPostTemplateDumpResources: True
-
- and once the widget is created, and therefore Wcl can reliably
- determine the widget class (in case a constructor is used), you can
- use the post-creation instance resource:
-
- *foo.wcPostCreateDumpResources: True
-
- This last one shows every resource fetched by the widget instance
- from the Xrm database, which are found due to a name match or due
- to a widget class name match.
-
- These resources are all covered in detail in the Wcl man page.
-
- If there is a problem, I want to know!
-
- ---------------------------------------------------------------------------
- David E. Smyth David.Smyth@ap.mchp.sni.de
- Object/X Researcher AP 154, Carl-Wery-Str 22, Munich 83 Germany
- Research Grant provided by Esprit Investments Ltd,
- major sponsor Siemens Nixdorf Informationssysteme AG
-