Can someone please tell me how to unsubscribe ????
Thx,
L.
-----Original Message-----
From: sandeshmakam(a)gmail.com [mailto:sandeshmakam@gmail.com]
Sent: 03 October 2006 19:29
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] calling a class method using a template
hi can anybody tell me how i can call this class so that i can try to
read a topic map in a template created
will this work
$UTopicMaps.readTopicMapFromFile()
my class is...
public
static void readTopicMapFromFile()
{
File tmFile = TM4LStore.
tmFile;
try
{
// This better be moved to an initialization step - to be run just once
when the application starts
setProviderFactory ();
TopicMapSource src =
new SerializedTopicMapSource(tmFile);
topicMap = provider.addTopicMap(src);
// TM4LStore.topicMapName = topicMap.getName();
TM4LStore.
tmBaseLocator = topicMap.getBaseLocator();
TM4LStore.
topicMap = topicMap;
}
Visit our website at
http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.