Package org.apache.tapestry.internal.structure

Examples of org.apache.tapestry.internal.structure.ComponentPageElement.triggerContextEvent()


        Page containerPage = _cache.get(parameters.getContainingPageName());

        ComponentPageElement element = containerPage.getComponentElementByNestedId(parameters.getNestedComponentId());

        element.triggerContextEvent(parameters.getEventType(), parameters.getEventContext(), callback);

        if (callback.isAborted()) return;

        if (!_response.isCommitted()) _generator.generateResponse(activePage);
    }
View Full Code Here


        Page containerPage = _cache.get(parameters.getContainingPageName());

        ComponentPageElement element = containerPage.getComponentElementByNestedId(parameters.getNestedComponentId());

        element.triggerContextEvent(parameters.getEventType(), parameters.getEventContext(), callback);

        if (callback.isAborted()) return;

        JSONObject reply = new JSONObject();
View Full Code Here

        ComponentPageElement element = containerPage.getComponentElementByNestedId(parameters.getNestedComponentId());

        _environment.push(ComponentEventResultProcessor.class, _resultProcessor);

        element.triggerContextEvent(parameters.getEventType(), parameters.getEventContext(), callback);

        _environment.pop(ComponentEventResultProcessor.class);

        if (callback.isAborted()) return;
View Full Code Here

        // In many cases, the triggered element is a Form that needs to be able to
        // pass its event handler return values to the correct result processor.

        _environment.push(ComponentEventResultProcessor.class, _resultProcessor);

        element.triggerContextEvent(parameters.getEventType(), parameters.getEventContext(), callback);

        _environment.pop(ComponentEventResultProcessor.class);

        if (_queue.isPartialRenderInitialized())
        {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.