Package org.apache.tapestry.internal.pageload

Examples of org.apache.tapestry.internal.pageload.PageKey


     * @return The unique key for ths specified page and current {@link java.util.Locale}.
     */

    protected PageKey buildKey(IEngine engine, String pageName)
    {
        return new PageKey(pageName, engine.getLocale());
    }
View Full Code Here


     * @return The unique key for the specified page instance.
     */

    protected PageKey buildKey(IPage page)
    {
        return new PageKey(page.getPageName(), page.getLocale());
    }
View Full Code Here

    }

    public Object makeObject(Object key)
      throws Exception
    {
        PageKey pageKey = (PageKey) key;

        _pageSpecificationResolver.resolve(_cycle, pageKey.getPageName());

        // The loader is responsible for invoking attach(),
        // and for firing events to PageAttachListeners

        return _loader.loadPage(_pageSpecificationResolver.getSimplePageName(),
View Full Code Here

        page.detach();

        Tapestry.checkMethodInvocation(Tapestry.ABSTRACTPAGE_DETACH_METHOD_ID, "detach()", page);

        PageKey key = buildKey(page);

        try
        {
            _pool.returnObject(key, page);
View Full Code Here

     * @return The unique key for ths specified page and current {@link java.util.Locale}.
     */

    protected PageKey buildKey(IEngine engine, String pageName)
    {
        return new PageKey(pageName, engine.getLocale());
    }
View Full Code Here

     * @return The unique key for the specified page instance.
     */

    protected PageKey buildKey(IPage page)
    {
        return new PageKey(page.getPageName(), page.getLocale());
    }
View Full Code Here

    }

    public Object makeObject(Object key)
      throws Exception
    {
        PageKey pageKey = (PageKey) key;

        _pageSpecificationResolver.resolve(_cycle, pageKey.getPageName());

        // The loader is responsible for invoking attach(),
        // and for firing events to PageAttachListeners

        return _loader.loadPage(_pageSpecificationResolver.getSimplePageName(),
View Full Code Here

        page.detach();

        Tapestry.checkMethodInvocation(Tapestry.ABSTRACTPAGE_DETACH_METHOD_ID, "detach()", page);

        PageKey key = buildKey(page);

        try
        {
            _pool.returnObject(key, page);
View Full Code Here

     * @return The unique key for ths specified page and current {@link java.util.Locale}.
     */

    protected PageKey buildKey(IEngine engine, String pageName)
    {
        return new PageKey(pageName, engine.getLocale());
    }
View Full Code Here

     * @return The unique key for the specified page instance.
     */

    protected PageKey buildKey(IPage page)
    {
        return new PageKey(page.getPageName(), page.getLocale());
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.internal.pageload.PageKey

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.