[Building Sakai] Open tool from tool

Tania Tritean TTritean at loi.nl
Wed Feb 2 23:51:37 PST 2011


Hello,

Thanks for reply.

My problem is that id don't want to reload only the iframe, but also the portal tabs and nav menu(because maybe I changed the site and the tool, so I want the tabs and active tool to be updated for consistancy)

Can I notify the portal to rerender with a specific context?
In this way I can avoid the 'open in parent' thing.

Thanks

Tania


-----Original Message-----
From: azeckoski at gmail.com [mailto:azeckoski at gmail.com] On Behalf Of Aaron Zeckoski
Sent: Wednesday, February 02, 2011 2:59 PM
To: Tania Tritean
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Open tool from tool

The tool URL you are generating is meant to be clicked on by a user.
In other words, it will cause the entire page to reload with the
complete portal context maintained and the specific page in the tool
loaded.

Example URL:
http://server:port/portal/site/siteId/page/pageId?toolstate-toolpid=/view?thing=value

from:
https://source.sakaiproject.org/svn/entitybroker/trunk/api/src/java/org/sakaiproject/entitybroker/DeveloperHelperService.java

If you are only trying to refresh the iframe then you do not need the
complete tool view url.

-AZ


On Wed, Feb 2, 2011 at 3:01 AM, Tania Tritean <TTritean at loi.nl> wrote:
> Hello,
>
> I am using sakai 2.6.2 and I want to open a tool from another tool.
> In tool A I have a link that should open tool B(maybe from another site).
> How can I do this?
>
>
> At the moment I am using
> developerHelperService.getToolViewURL(toolregId, localView, params,
>                                        locationReference);
> And open the url in the parent frame with a js function (because I don't want to have the entire portal opened in the portal's iframe).
>
> But this is causing a UI flicker that is ugly.
>
> How can I achieve this behavior in another way?
>
> Thanks,
>
> Tania
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>



-- 
Aaron Zeckoski - Software Engineer - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list