Examples of form()


Examples of br.com.caelum.seleniumdsl.Page.form()

    Browser browser = new DefaultBrowser(selenium);
    browser.open("/");
    selenium.stop();

    Page currentPage = browser.currentPage();
    Form form = currentPage.form("id");
    Field field = form.field("fieldName");
  }
}
View Full Code Here

Examples of com.bj58.argo.client.ClientContext.form()

        BeatContext beat = beat();

        ClientContext client = beat.getClient();

        Preconditions.checkState(Strings.isNullOrEmpty(client.form("company")));
        Preconditions.checkState(Strings.isNullOrEmpty(client.form("address")));

        client.queryString("name");

        Preconditions.checkState(Strings.isNullOrEmpty(client.queryString("name")));
View Full Code Here

Examples of com.gistlabs.mechanize.document.AbstractDocument.form()

    addPageRequest("http://test.com",
        newHtml("Test Page", "<form action=\"form\" id=\"form\"></form>"));
   
    AbstractDocument page = agent().get("http://test.com");
   
    assertNull(page.form("foo"));
    assertNotNull(page.form("form"));
  }

}
View Full Code Here

Examples of com.gistlabs.mechanize.document.AbstractDocument.form()

        newHtml("Test Page", "<form action=\"form\" id=\"form\"></form>"));
   
    AbstractDocument page = agent().get("http://test.com");
   
    assertNull(page.form("foo"));
    assertNotNull(page.form("form"));
  }

}
View Full Code Here

Examples of com.github.kevinsawicki.http.HttpRequest.form()

    if (getCache().exists(pBankRequest)) {
      return getCache().get(pBankRequest);
    }
    HttpRequest request = createRequest(pBankRequest, pMethod);
    if (HttpRequest.METHOD_POST.equals(pMethod)) {
      request.form(pBankRequest.getParams());
    }
    request.code();
    BankResponse response = new DefaultBankResponse(request);
    getCache().put(pBankRequest, response);
    return response;
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.form()

                                // can be inlined indeed

                                // write form="..." if necessary
                                if(unqualified) {
                                    if(elementFormDefault.isEffectivelyQualified)
                                        eref.form("unqualified");
                                } else {
                                    if(!elementFormDefault.isEffectivelyQualified)
                                        eref.form("qualified");
                                }
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.schemagen.xmlschema.LocalElement.form()

                                // can be inlined indeed

                                // write form="..." if necessary
                                if(unqualified) {
                                    if(elementFormDefault.isEffectivelyQualified)
                                        eref.form("unqualified");
                                } else {
                                    if(!elementFormDefault.isEffectivelyQualified)
                                        eref.form("qualified");
                                }
View Full Code Here

Examples of io.higgs.http.client.POST.form()

        URI uri = newParams().forURL(config.newAPIEndpointURI(UPDATE));
        POST request = config.http()
                .POST(uri, new PageReader(newRequestCallback(future, new PushSubscription(), config)))
                .form("id", id);
        for (Map.Entry<String, String> e : connector.parameters().verifyAndGet().entrySet()) {
            request.form(e.getKey(), e.getValue());
        }
        if (name != null && !name.isEmpty()) {
            request.form("name", name);
        }
        applyConfig(request).execute();
View Full Code Here

Examples of org.apache.cxf.jaxrs.client.WebClient.form()

   
    @Test
    public void testPostEmptyForm() throws Exception {
        String address = "http://localhost:" + PORT + "/bookstore/emptyform";
        WebClient wc = WebClient.create(address);
        Response r = wc.form(new org.apache.cxf.jaxrs.ext.form.Form());
        assertEquals("empty form", r.readEntity(String.class));
    }
   
    @Test
    public void testPostEmptyFormAsInStream() throws Exception {
View Full Code Here

Examples of org.primefaces.util.AjaxRequestBuilder.form()

                .onsuccess(source.getOnsuccess())
                .oncomplete(source.getOncomplete())
                .params(component);

        if(form != null) {
            builder.form(form.getClientId(context));
        }

        builder.preventDefault();

        return builder.build();
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.