[Building Sakai] Link to a specific chat room
David Horwitz
david.horwitz at uct.ac.za
Wed Mar 30 05:36:50 PDT 2011
Hi All,
We have a request from an instructor who wants to be able to link
directly to a chat room (i.e. a link that would open a chat in a
specific room). Poking round it would seem that passing "channel" as a
parameter should do the trick. However generating a url like so:
Map<String, String> params = new HashMap<String, String>();
params.put("channel", channelId);
String ret = developerHelperService.getToolViewURL("sakai.chat",
null, params, null);
which generates a url like:
http://localhost:8080/portal/site/c9d69e16-5b5e-48e6-a6d3-e91bcbe24a73/page/fe22f0f8-f2db-41eb-b0df-e04b658a302b?toolstate-62f65683-4872-46d4-aa43-394fa7601f8b=%3Fchannel%3D%2Fchat%2Fchannel%2Fc9d69e16-5b5e-48e6-a6d3-e91bcbe24a73%2F67a38d93-c193-4918-b0bd-fce21d032d28
Just opens on the default room (assuming it expects a channel ref, the
ID also doesn't work).
Has anyone been able to do something like this?
David
More information about the sakai-dev
mailing list