A Yeti
 // home  ::Features::  ::Screenshots::  ::FAQ::  ::Manual::  ::Forums:: 
 FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in
 Javascript Calls in Applet View next topic
View previous topic
Post new topicReply to topic
Author Message
OliD
Newbie


Joined: 20 Jan 2010
Posts: 1

PostPosted: Wed Jan 20, 2010 13:42 Reply with quoteBack to top

Hi all,

a customer of mine wants to open a GroupChat via Java Script. Is this possible? If yes, does this work in all browsers? If not, how can I implement this myself?

Thanks!

Oliver Denzel
View user's profileSend private message
eric
Site Admin


Joined: 15 Sep 2004
Posts: 696

PostPosted: Sun Jan 24, 2010 11:32 Reply with quoteBack to top

The applet can not do that right now

If you want to add it you need to modify the source code
in package nu.fw.jeti.applet you need to add a method to start the groupchat,
just copy openChat to openGroupChat

and in the secureMethod runner run method

add after
if(m.equals("openChat")) backend.getMain().startChat((JID)method[1]);

else if (m.equals("openChat")) LoadGroupChat.startGroupchat((JID)method[1],backend);

Then you should be able to open a groupchat with javascript just as with openchat. I guess it works with all browsers, but it might have changed so I'm not sure
View user's profileSend private messageSend e-mail
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: Theme by Daz :: All times are GMT + 1 Hour