Method to leave the page without saving.<p>

@param targetUri the new URI to call
348540
public void leaveUnsaved(String targetUri) {

        setPageChanged(false, true);
        CmsDebugLog.consoleLog("assigning window location: " + targetUri);
        Window.Location.assign(targetUri);
    }
881407
public void setTargetDestination(String targetDestination) 
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "setTargetDestination", targetDestination);

    this.targetDestination = targetDestination;

    if (tc.isEntryEnabled())
      SibTr.exit(tc, "setTargetDestination");
  }
402800
public static void releaseMemoryURL(final URL u) {
		try {
			final Class c = ClassLoader.getSystemClassLoader().loadClass(
					"org.allcolor.yahp.converter.CMemoryURLHandler");
			final Method m = c.getDeclaredMethod("releaseMemoryURL",
					new Class[] { URL.class });
			m.setAccessible(true);
			m.invoke(null, new Object[] { u });
		} catch (final Exception ignore) {
			ignore.printStackTrace();
		}
	}
92008
public void delete(URI uri, String assertedUserId) throws IOException {
		delete(uri, assertedUserId, null);
	}
733094
public void leave() throws NotConnectedException, InterruptedException, NoResponseException, XMPPErrorException {
        HashMap<Jid, MUCLightAffiliation> affiliations = new HashMap<>();
        affiliations.put(connection.getUser(), MUCLightAffiliation.none);

        MUCLightChangeAffiliationsIQ changeAffiliationsIQ = new MUCLightChangeAffiliationsIQ(room, affiliations);
        IQ responseIq = connection.createStanzaCollectorAndSend(changeAffiliationsIQ).nextResultOrThrow();
        boolean roomLeft = responseIq.getType().equals(IQ.Type.result);

        if (roomLeft) {
            removeConnectionCallbacks();
        }
    }
1138536
public void invalidate(@Nullable Uri uri) {
    if (uri != null) {
      cache.clearKeyUri(uri.toString());
    }
  }
36401
protected void onClose(boolean reload) {

        if (reload) {
            Scheduler.get().scheduleDeferred(new ScheduledCommand() {

                public void execute() {

                    String url = Window.Location.getHref();
                    m_menuHandler.leavePage(url);

                }
            });
        }
    }
457010
public void leave(Address mbr) {
        if(mbr == null) {
            if(log.isErrorEnabled()) log.error(Util.getMessage("MemberSAddressIsNull"));
            return;
        }
        ViewHandler<Request> vh=gms.getViewHandler();
        vh.add(new Request(Request.COORD_LEAVE, mbr)); // https://issues.jboss.org/browse/JGRP-2293
        // If we're the coord leaving, ignore gms.leave_timeout: https://issues.jboss.org/browse/JGRP-1509
        long timeout=(long)(Math.max(gms.leave_timeout, gms.view_ack_collection_timeout) * 1.5);
        vh.waitUntilComplete(timeout);
    }
291462
protected static void removeViewer(Page page, boolean close) {
        IHelpViewer viewer = (IHelpViewer) page.removeAttribute(VIEWER_ATTRIB);

        if (viewer != null && close) {
            viewer.close();
        }
    }
1119452
public void cancel() {

        CmsObject cms = A_CmsUI.getCmsObject();
        String link = OpenCms.getLinkManager().substituteLinkForUnknownTarget(
            cms,
            CmsWorkplaceLoginHandler.LOGIN_HANDLER,
            false);
        A_CmsUI.get().getPage().setLocation(link);
    }
383657
protected void masonryRemove(Widget target) {
        this.target = target;
        if (target != sizerDiv) {
            super.remove(target);
            reload();
        }
    }
508649
public static void exit(TraceComponent tc, String methodName) {
    if(isTracing()) SibTr.exit(tc, methodName);

  }
575137
public final void closeSession (final String targetName) throws NoSuchSessionException , TaskExecutionException {

        getSession(targetName).logout();
        // TODO Test the removal from the map.
        sessions.remove(targetName);

        LOGGER.info("Closed the session to the iSCSI Target '" + targetName + "'.");
    }
338178
private void uninstallLayout(JRootPane root) {
        if (savedOldLayout != null) {
            root.setLayout(savedOldLayout);
            savedOldLayout = null;
        }
    }
1300804
public function setTargetUri(string $target_uri) : self
    {
        $this->target_uri           = $target_uri;
        $this->addHeader('location', $target_uri);
        $this->setBody(new Stream('php://temp', 'w+b'))->getBody()->write(sprintf('
            <!DOCTYPE html>
            <html>
                <head>
                    <meta charset="UTF-8" />
                    <meta http-equiv="refresh" content="0;url=%1$s" />

                    <title>Redirecting to %1$s</title>
                </head>
                <body>
                    Redirecting to <a href="%1$s">%1$s</a>.
                </body>
            </html>',
            htmlspecialchars($target_uri, ENT_QUOTES, 'UTF-8')
        ));
        $this->getBody()->rewind();
        return $this;
    }
1335115
public void dismiss() {
        mPopup.dismiss();
        removePromptView();
        mPopup.setContentView(null);
        mDropDownList = null;
        mHandler.removeCallbacks(mResizePopupRunnable);
    }
634142
public boolean shouldCache(String requestUri) {
		String uri = requestUri.toLowerCase();
		return checkContains(uri, cacheIdentifiers) || checkSuffixes(uri, cacheSuffixes);
	}