Package org.apache.wicket.page

Examples of org.apache.wicket.page.IPageManager


   *
   * @return {@link IPageManager} instance.
   */
  public final IPageManager getPageManager()
  {
    IPageManager pageManager = Application.get().internalGetPageManager();
    return pageAccessSynchronizer.get().adapt(pageManager);
  }
View Full Code Here


    if (getFlag(FLAG_PREVENT_DIRTY))
    {
      return;
    }

    final IPageManager pageManager = getSession().getPageManager();
    if (!getFlag(FLAG_IS_DIRTY) && (isVersioned() && pageManager.supportsVersioning() ||

    // we need to get pageId for new page instances even when the page doesn't need
    // versioning, otherwise pages override each other in the page store and back button
    // support is broken
      isInitialization))
    {
      setFlag(FLAG_IS_DIRTY, true);
      setNextAvailableId();
      pageManager.touchPage(this);
    }
  }
View Full Code Here

    if (getFlag(FLAG_PREVENT_DIRTY))
    {
      return;
    }

    final IPageManager pageManager = getSession().getPageManager();
    if (!getFlag(FLAG_IS_DIRTY) && (isVersioned() && pageManager.supportsVersioning() ||

    // we need to get pageId for new page instances even when the page doesn't need
    // versioning, otherwise pages override each other in the page store and back button
    // support is broken
      isInitialization))
    {
      setFlag(FLAG_IS_DIRTY, true);
      setNextAvailableId();

      if (isInitialization == false)
      {
        pageManager.touchPage(this);
      }
    }
  }
View Full Code Here

  @Override
  protected void onInitialize()
  {
    super.onInitialize();

    final IPageManager pageManager = getSession().getPageManager();
    pageManager.touchPage(this);
  }
View Full Code Here

   *
   * @return {@link IPageManager} instance.
   */
  public final IPageManager getPageManager()
  {
    IPageManager pageManager = Application.get().internalGetPageManager();
    return pageAccessSynchronizer.get().adapt(pageManager);
  }
View Full Code Here

    if (getFlag(FLAG_PREVENT_DIRTY))
    {
      return;
    }

    final IPageManager pageManager = getSession().getPageManager();
    if (!getFlag(FLAG_IS_DIRTY) &&
      (
        isVersioned() && pageManager.supportsVersioning() ||

        // we need to get pageId for new page instances even when the page doesn't need
        // versioning, otherwise pages override each other in the page store and back button
        // support is broken
        isInitialization
      )
    )
    {
      setFlag(FLAG_IS_DIRTY, true);
      setNextAvailableId();
      pageManager.touchPage(this);
    }
  }
View Full Code Here

   *
   * @return {@link IPageManager} instance.
   */
  public final IPageManager getPageManager()
  {
    IPageManager pageManager = Application.get().internalGetPageManager();
    return pageAccessSynchronizer.get().adapt(pageManager);
  }
View Full Code Here

    if (getFlag(FLAG_PREVENT_DIRTY))
    {
      return;
    }

    final IPageManager pageManager = getSession().getPageManager();
    if (!getFlag(FLAG_IS_DIRTY) && (isVersioned() && pageManager.supportsVersioning() ||

    // we need to get pageId for new page instances even when the page doesn't need
    // versioning, otherwise pages override each other in the page store and back button
    // support is broken
      isInitialization))
    {
      setFlag(FLAG_IS_DIRTY, true);
      setNextAvailableId();

      if (isInitialization == false)
      {
        pageManager.touchPage(this);
      }
    }
  }
View Full Code Here

  @Override
  protected void onInitialize()
  {
    super.onInitialize();

    final IPageManager pageManager = getSession().getPageManager();
    pageManager.touchPage(this);
  }
View Full Code Here

   *
   * @return {@link IPageManager} instance.
   */
  public final IPageManager getPageManager()
  {
    IPageManager pageManager = Application.get().internalGetPageManager();
    return pageAccessSynchronizer.get().adapt(pageManager);
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.page.IPageManager

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.