Package org.apache.tapestry.engine

Examples of org.apache.tapestry.engine.DirectServiceParameter


        parms.put("id", getClientId());
       
        JSONObject json = new JSONObject();
        if (!isLocal())
        {
            ILink link = getDirectService().getLink(true, new DirectServiceParameter(this));
            json.put("dataUrl", link.getURL() + "&filter=%{searchString}");
        }
       
        json.put("mode", isLocal() ? MODE_LOCAL : MODE_REMOTE);
        json.put("widgetId", getName());
View Full Code Here


   
    public ILink getLink(IRequestCycle cycle)
    {
        Object[] serviceParameters = constructServiceParameters(getParameters());
       
        DirectServiceParameter dsp = new DirectServiceParameter(this, serviceParameters);
       
        return getEngine().getLink(isStateful(), dsp);
    }
View Full Code Here

           
            json = new JSONObject();
            json.put("async", Boolean.TRUE);
            json.put("json", isJson());
           
            DirectServiceParameter dsp = new DirectServiceParameter(form, null, this);
            json.put("url", getDirectService().getLink(true, dsp).getURL());
        }

        // only if not async - otherwise we have to stop the client side event to prevent normal form submission
        // within the submitbindings client side generated function
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

        { 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(getPage().getRequestCycle(), 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(cycle, true, parameter);
        }

        // I'd love to pull out support for the action service entirely!
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(getPage().getRequestCycle(), 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(cycle, true, parameter);
        }

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

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

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

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

        // I'd love to pull out support for the action service entirely!
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.