Package org.apache.tapestry.internal.services

Examples of org.apache.tapestry.internal.services.PageLinkTarget


     *            The name of the page to be rendered.
     * @return The DOM created. Typically you will assert against it.
     */
    public Document renderPage(String pageName)
    {
        return invoke(new ComponentInvocation(new PageLinkTarget(pageName), new String[0], null));
    }
View Full Code Here


     *            The name of the page to be rendered.
     * @return The DOM created. Typically you will assert against it.
     */
    public Document renderPage(String pageName)
    {
        return invoke(new ComponentInvocation(new PageLinkTarget(pageName), new String[0], null));
    }
View Full Code Here

     *            The name of the page to be rendered.
     * @return The DOM created. Typically you will assert against it.
     */
    public Document renderPage(String pageName)
    {
        return invoke(new ComponentInvocation(new PageLinkTarget(pageName), new String[0], null));
    }
View Full Code Here

    {
        try
        {
            InvocationTarget target = invocation.getTarget();

            PageLinkTarget pageLinkTarget = (PageLinkTarget) target;

            EventContext activationContext
                    = new URLEventContext(_contextValueEncoder, invocation.getContext());
            PageRenderRequestParameters parameters = new PageRenderRequestParameters(pageLinkTarget.getPageName(),
                                                                                     activationContext);

            _pageRenderRequestHandler.handle(parameters);

            return _markupWriterFactory.getLatestMarkupWriter().getDocument();
View Full Code Here

    {
        try
        {
            InvocationTarget target = invocation.getTarget();

            PageLinkTarget pageLinkTarget = (PageLinkTarget) target;

            _pageRenderRequestHandler.handle(pageLinkTarget.getPageName(), invocation.getContext());

            return _markupWriterFactory.getLatestMarkupWriter().getDocument();
        }
        finally
        {
View Full Code Here

     *            The name of the page to be rendered.
     * @return The DOM created. Typically you will assert against it.
     */
    public Document renderPage(String pageName)
    {
        return invoke(new ComponentInvocation(new PageLinkTarget(pageName), new String[0], null));
    }
View Full Code Here

    {
        try
        {
            InvocationTarget target = invocation.getTarget();

            PageLinkTarget pageLinkTarget = (PageLinkTarget) target;

            _pageRenderRequestHandler.handle(pageLinkTarget.getPageName(), invocation.getContext());

            return _markupWriterFactory.getLatestMarkupWriter().getDocument();
        }
        finally
        {
View Full Code Here

     *            The name of the page to be rendered.
     * @return The DOM created. Typically you will assert against it.
     */
    public Document renderPage(String pageName)
    {
        return invoke(new ComponentInvocation(new PageLinkTarget(pageName), new Object[0]));
    }
View Full Code Here

     *            The name of the page to be rendered.
     * @return The DOM created. Typically you will assert against it.
     */
    public Document renderPage(String pageName)
    {
        return invoke(new ComponentInvocation(new PageLinkTarget(pageName), new String[0], null));
    }
View Full Code Here

    {
        try
        {
            InvocationTarget target = invocation.getTarget();

            PageLinkTarget pageLinkTarget = (PageLinkTarget) target;

            _pageRenderRequestHandler.handle(pageLinkTarget.getPageName(), invocation.getContext());

            return _markupWriterFactory.getLatestMarkupWriter().getDocument();
        }
        catch (IOException ex)
        {
View Full Code Here

TOP

Related Classes of org.apache.tapestry.internal.services.PageLinkTarget

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.