Package org.brixcms.web.nodepage

Examples of org.brixcms.web.nodepage.BrixNodeRequestHandler.detach()


     * @throws BrixException if the current request was not for a brix page
     */
    public static String urlForCurrentPage(BrixPageParameters params) {
        IRequestHandler target = new BrixNodeRequestHandler(getCurrentPage(), params);
        String url = RequestCycle.get().urlFor(target).toString();
        target.detach(RequestCycle.get());
        return url;
    }

    /**
     * Returns current brix page being processed. Must only be called within a wicket request.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.