Package org.geomajas.command.dto

Examples of org.geomajas.command.dto.SearchAttributesRequest


  @Qualifier(LAYER_ID)
  private VectorLayer layer;

  @Test
  public void testSearchAttributes() throws Exception {
    SearchAttributesRequest request = new SearchAttributesRequest();
    request.setLayerId(LAYER_ID);
    request.setAttributePath("manyToOneAttr");
    SearchAttributesResponse response = (SearchAttributesResponse) dispatcher.execute(
        SearchAttributesRequest.COMMAND, request, null, "en");
    if (response.isError()) {
      response.getErrors().get(0).printStackTrace();
    }
View Full Code Here


    this.attributePath = attributePath;
  }

  public void getAttributes(final CallBack callBack) {
    GwtCommand command = new GwtCommand(SearchAttributesRequest.COMMAND);
    command.setCommandRequest(new SearchAttributesRequest(serverLayerId, attributePath));
    GwtCommandDispatcher.getInstance().execute(command, new CommandCallback() {

      public void execute(CommandResponse response) {
        if (response.isError()) {
          callBack.onError(response.getErrorMessages());
View Full Code Here

TOP

Related Classes of org.geomajas.command.dto.SearchAttributesRequest

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.