Package org.apache.tapestry.engine

Examples of org.apache.tapestry.engine.DirectServiceParameter


            listenerParams = new Object[1];
        }

        listenerParams[0] = getClientId();

        ILink updateLink = getEngineService().getLink(isStateful(), new DirectServiceParameter(this, listenerParams));
        parms.put("updateUrl", updateLink.getURL());

        PageRenderSupport pageRenderSupport = TapestryUtils.getPageRenderSupport(cycle, this);
        getScript().execute(this, cycle, pageRenderSupport, parms);
    }
View Full Code Here


        { embedded.getIdPath() };

        // Build a URL to select that component, as if by the captive
        // component itself (it's a Direct).

        DirectServiceParameter dsp = new DirectServiceParameter(this, serviceParameters);
        ILink link = service.getLink(false, dsp);

        writer.begin("span");
        writer.attribute("class", "jwc-tag");
View Full Code Here

        { embedded.getIdPath() };

        // Build a URL to select that component, as if by the captive
        // component itself (it's a Direct).

        DirectServiceParameter dsp = new DirectServiceParameter(this, serviceParameters);
        ILink link = service.getLink(false, dsp);

        writer.begin("span");
        writer.attribute("class", "jwc-tag");
View Full Code Here

    private ILink getLink(IRequestCycle cycle, String actionId)
    {
        if (isDirect())
        {
            Object parameter = new DirectServiceParameter(this);
            return getDirectService().getLink(true, parameter);
        }

        // I'd love to pull out support for the action service entirely!
View Full Code Here

        trainGetLinkCheckIgnoreParameter(
                direct,
                cycle,
                true,
                new DirectServiceParameter(form),
                link);

        trainRender(support, link, render, null);

        delegate.setFormComponent(null);
View Full Code Here

        trainGetLinkCheckIgnoreParameter(
                direct,
                cycle,
                true,
                new DirectServiceParameter(form),
                link);

        trainRender(support, link, render, "https");

        delegate.setFormComponent(null);
View Full Code Here

        trainGetLinkCheckIgnoreParameter(
                direct,
                cycle,
                true,
                new DirectServiceParameter(form),
                link);

        trainRender(support, link, render, null, null);

        delegate.setFormComponent(null);
View Full Code Here

        trainGetLinkCheckIgnoreParameter(
                direct,
                cycle,
                true,
                new DirectServiceParameter(form),
                link);

        trainRender(support, link, render, "https", new Integer(443));

        delegate.setFormComponent(null);
View Full Code Here

    protected ILink getLink(IRequestCycle cycle, String actionId)
    {
        if (isDirect())
        {
            Object parameter = new DirectServiceParameter(this);
            return getDirectService().getLink(true, parameter);
        }

        // I'd love to pull out support for the action service entirely!
View Full Code Here

     * @since 1.0.3
     */

    private ILink getLink(IRequestCycle cycle)
    {
        Object parameter = new DirectServiceParameter(this);
       
        return getDirectService().getLink(true, parameter);
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.engine.DirectServiceParameter

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.