Display Local tasks from one page to another
I kinda managed to to this by using the following piece of code:

$path = drupal_get_normal_path('path-where-local-tasks-are-displayed');
if($path) {
  menu_tree_set_path("navigation", $path);
  menu_set_active_item($path);
}