March 31, 2006

Maven Plugin

Plugin versions are not Sakai versions. You can see what version we are using from the master/project.properties:

sakai.plugin.version=2.2

Try with the latest version number:

maven plugin:download -DgroupId=sakaiproject -DartifactId=sakai -Dversion=2.2

Also, as a reminder, use the new SVN:

maven.repo.remote = http://source.sakaiproject.org/maven/

one-stop shopping for all your Sakai needs.

- Glenn

Glenn R. Golden
Software Architect, University Of Michigan
ggolden@umich.edu

Posted by csev at 11:52 AM

March 28, 2006

How instant updates happen...

How do the tabs at the top get updated right away... Is there a better way?

If this puzzle is solvable - there is one less frame... I think I have an idea.

legacy/tool-support/src/java/org/sakaiproject/cheftool/VelocityPortletPaneledAction.java

protected void schedulePeerFrameRefresh(String id)
{
ToolSession session = SessionManager.getCurrentToolSession();

// add to (or create) our set of ids to refresh
Set soFar = (Set) session.getAttribute(ATTR_FRAME_REFRESH);
if (soFar == null)
{
soFar = new HashSet();
session.setAttribute(ATTR_FRAME_REFRESH, soFar);
}
soFar.add(id);
}

Set ids = (Set) session.getAttribute(ATTR_FRAME_REFRESH);
if (ids != null)
{
setVmReference("frameRefresh", ids, request);
session.removeAttribute(ATTR_FRAME_REFRESH);
}

legacy/tools/src/webapp/VM_chef_library.vm

#if ($frameRefresh)
#foreach ($id in $frameRefresh)