From: Gerd M. <ge...@sm...> - 2001-09-25 07:07:33
|
On Mon, 24 Sep 2001 14:40:40 +0100 "Murray Woodman" <mwo...@ho...> wrote: > > Problem: > I am working on a simple web application which requires the creation of a > link to a topic. As far as I can see I need the base URL of the parent > TopicMap and the id of the Topic to make the link. Getting a reference to > the parent topic map is proving difficult given that the method making the > link only has access to the topic itself, ie no references available to the > parent topic map or to a topic map manager. It would be cleaner if I could > avoid passing the parent TopicMap to the method as well as the Topic. > > Question: > Given a Topic instance is it possible to gain a reference to the parent > TopicMap without searching for the topic in the various topicmaps listed in > the manager? Each topic has a member m_parent that points to the parent topicmap. Unfortunatly there is no getParent() method. Perhaps we should add it ? Best Regards, Gerd -- ________________________________________________________________ Gerd Mueller ge...@sm... SMB GmbH http://www.smb-tec.com |