[Building Sakai] How to get siteId from a SAKAI tool

Luiz Antonio Falaguasta Barbosa lafbarbosa at gmail.com
Fri Apr 3 11:33:38 PDT 2009


Ho people,

Please, I need to take siteId to be used in a SAKAI tool.

I've tried in this way:

Placement placement = ToolManager.getCurrentPlacement();
String siteid = placement.getContext();

and got null for siteId(String siteid = placement.getContext();).

Please, could somebody help me?

Thanks in advance!

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090403/c4d96bf3/attachment.html 


More information about the sakai-dev mailing list