Redirect Problem

I wrote thee following peice of code to redirect from a UI1 to UI2:

Page.getCurrent().setLocation("UI2");

It works fine in Chrome and Opera, nut not in Firefox and IE.

The code has been written inside a LinkActivatedListener of an ActiveLink.