Package org.apache.tapestry

Examples of org.apache.tapestry.EventContext


        {
            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);
View Full Code Here


            if (_componentClassResolver.isPageName(pageName))
            {
                String[] context = atEnd ? new String[0] : convertActivationContext(path
                        .substring(nextslashx + 1));

                EventContext activationContext
                        = new URLEventContext(_contextValueEncoder, context);

                PageRenderRequestParameters parameters = new PageRenderRequestParameters(pageName, activationContext);

                _handler.handle(parameters);
View Full Code Here

        if (nestedComponentId == null && eventType == null) return false;

        if (!_componentClassResolver.isPageName(activePageName)) return false;

        EventContext eventContext = decodeContext(matcher.group(CONTEXT));

        // Initialize the request encoding BEFORE accessing any query parameters
        // (TAPESTRY-1605)

        _requestEncodingInitializer.initializeRequestEncoding(activePageName);

        EventContext activationContext = decodeContext(request.getParameter(InternalConstants.PAGE_CONTEXT_NAME));

        // The event type is often omitted, and defaults to "action".

        if (eventType == null) eventType = TapestryConstants.ACTION_EVENT;
View Full Code Here

    {
        if (!_componentClassResolver.isPageName(pageName)) return false;

        String[] values = convertActivationContext(pageActivationContext);

        EventContext activationContext
                = new URLEventContext(_contextValueEncoder, values);

        PageRenderRequestParameters parameters = new PageRenderRequestParameters(pageName, activationContext);

        _handler.handle(parameters);
View Full Code Here

TOP

Related Classes of org.apache.tapestry.EventContext

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.