[Building Sakai] Creating a link to your tool from the LHS nav bar

Matthew Buckett matthew.buckett at oucs.ox.ac.uk
Thu Apr 16 13:50:27 PDT 2009


On Thu, Apr 16, 2009 at 9:40 AM, Patrick Fong <pfong at unimelb.edu.au> wrote:
> Hi all
>
> I'm interested in loading my custom developed tool in a new window as
> opposed to the iframe normally. I'm using Apache Wicket to display
> dynamically generated content.
>
> The client wants the Sakai tool to launch as a pop-up window.
>
> My question is how do you create a link from the LHS nav bar, that
> references your tool in a URL that will open a new window? How do you
> identify your tool?

A site has a number of pages and when the site is displayed through
the portal they appear on the left hand site with names such as Site
Info and Home. Any page can be set to be displayed as a popup.

org.sakaiproject.site.api.SitePage.setPopup(boolean)

Web Content allows users to set if the tool should be a popup through
the UI and your tool could take a similar approach.

org.sakaiproject.web.tool.IFrameAction.doConfigure_update(RunData, Context)

I don't think tool registration supports the ability to specify your
tool should always appear as a popup, but I could be wrong.

-- 
  Matthew Buckett


More information about the sakai-dev mailing list