Package org.apache.wicket.session.pagemap

Examples of org.apache.wicket.session.pagemap.IPageMapEntry


     */
    public InspectorPage(final PageParameters parameters)
    {
        add(new ApplicationView("application", Application.get()));
        add(new SessionView("session", Session.get()));
        IPageMapEntry entry = null;
        try
        {
            entry = Session.get().pageMapForName(
                    parameters.getString("pageMap").equals("") ? null : parameters
                            .getString("pageMap"), false).getEntry(parameters.getInt("pageId"));
        }
        catch (StringValueConversionException e)
        {
            // Ignore
        }
        catch (NullPointerException e)
        {
            // Ignore
        }
        add(new PageView("page", entry == null ? null : entry.getPage()));
        add(new Image("bug", new ResourceReference(InspectorPage.class, "bug.png")));
        add(new BookmarkablePageLink<Void>("allsessions", LiveSessionsPage.class));
        add(new Label("wicketVersion", getApplication().getFrameworkSettings().getVersion()));
    }
View Full Code Here

TOP

Related Classes of org.apache.wicket.session.pagemap.IPageMapEntry

Copyright © 2018 www.massapicom. 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.