Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Display all rows in proposalfield
Display all rows in proposalfield [message #1839503] Tue, 23 March 2021 02:43 Go to next message
Pr Nico is currently offline Pr NicoFriend
Messages: 12
Registered: February 2021
Junior Member
Hello, I am trying to setup the autocomplete feature from google maps in a proposal field.
I would to modify my field so the propositions are always refreshed and displayed even if it does not fit exactly what I type, let's say like a droplist.

So for instance if the user type "15 rue de Crimee paris", "15 rue de Crimée, Paris, France" would be proposed as a choice.

What I managed to do so far is this :

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyUAAABsCAYAAAB0Kx2mAAAc3ElEQVR4Xu3dbYwd113H8b9jKEV9kSCjUuIK+wojoiK5VmJLtddExITGSYytROUFaL1q1olktcS7KQVSZdcvdmNRoDRrA5JF7A2yV6SiJWGN8+ASravKdiLZCa5fVSJobQmj1OpKDlAI0KzRmZkzc86Zhztzd+6dO3O/lqpmd+eeOfM5Z1fnd8/DXbW8vHxL+IcAAggggAACCCCAAAIIVCSwilBSkTy3RQABBBBAAAEEEEAAAU+AUEJHQAABBBBAAAEEEEAAgUoFCCWV8nNzBBBAAAEEEEAAAQQQIJTQBxBAAAEEEEAAAQQQQKBSAUJJpfzcHAEEEEAAAQQQQAABBAgl9AEEEEAAAQQQQAABBBCoVIBQUik/N0cAAQQQQAABBBBAAAFCCX0AAQQQQAABBBBAAAEEKhUglFTKz80RQAABBBBAAAEEEECAUEIfQAABBBBAAAEEEEAAgUoFCCWV8nNzBBBAAAEEEEAAAQQQIJTQBxBAAAEEEEAAAQQQQKBSAUJJpfzcHAEEEEAAAQQQQAABBAgl9AEEEEAAAQQQQAABBBCoVIBQUik/N0cAAQQQQAABBBBAAIFVly5dugUDAggggAACCCCAAAIIIFCVADMlVclzXwQQQAABBBBAAAEEEPAECCV0BAQQQAABBBBAAAEEEKhUgFBSKT83RwABBBBAAAEEEEAAAUIJfQABBBBAAAEEEEAAAQQqFSCU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WY9mRNfA2XbZNyuz9CzKqr02YGbDrYy+vss2Mn+UJJTFzs+xoP0z0mSu6BxQNJc7yrZFZ6zSy7FDinganl6/5dUltq8b+5eHBEEAAAQQ6ESCUdKLGa2oh0LVQUounH9RKLsn8kXOy/YD9ie1N1Vg6NSPnPjNufBBkU5+U50IAAQQQaLoAoaTpLTzAz0coGcDGvzEvM29tl/HdwWlXjSYYrADW6Kbk4RBAAAEEhFBCJ2isAKGksU3LgyGAAAIIIIBAwwQIJQ1rUB4nEiCU0BsQQAABBBBAAIF6CBBK6tFO1LIDAUJJB2i8BAEEEEAAAQQQqECgJqHkihzesk/mRo7LxSc3GkxLMj+2U64+dlHGNvknwIw//KyclyGZeGVmZZs/vbLOyn0rLaeCRuWWvgChhJ6AAAIIIIAAAgjUQ6DTUPL/I7uhS63qBIEAAAAASUVORK5CYII=

The tricky part is when what I type do not exactly match the value, example the real name of the street is "Crimée", but the user input "Crime"

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyIAAAAxCAYAAAAm5x32AAAJ50lEQVR4Xu3dQWgcVRzH8X+jCBYEsaCg0HaheBAppVLEBA/BQwtqe5CihyXYBo/SnryYnLKnnho8lrQS9iB4kIrFCpYgIb20llAQeghsFNqD0JPQixBl3ryZee/Nm9nZ9M3sZPvtyZjZN28+bza8377/m923s7Pzn/APAQQQQAABBBBAAAEEEGhQYB9BpEFtToUAAggggAACCCCAAAJKgCDCjYAAAggggAACCCCAAAKNCxBEGifnhAgggAACCCCAAAIIIEAQ4R5AAAEEEEAAAQQQQACBxgUIIo2Tc0IEEEAAAQQQQAABBBAgiHAPIIAAAggggAACCCCAQOMCBJHGyTkhAggggAACCCCAAAII7Lt79y7fI8J9gAACCCCAAAIIIIAAAo0KsCLSKDcnQwABBBBAAAEEEEAAgUiAIMJ9gAACCCCAAAIIIIAAAo0LEEQaJ+eECCCAAAIIIIAAAgggQBDhHkAAAQQQQAABBBBAAIHGBQgijZNzQgQQQAABBBBAAAEEECCIcA8ggA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sFKrhFRVv/51ytaIvNPQEEXvMZ2RhsSO9W8a4esfO/wWChebRrbXLdtST36JxC1Wapb4MtPw+D/r3jsYQQAABBBBAoEUCD+TGlXV5lPRozCGk9hWRFsnTFQQQQAABBBBAAAEEnmEBI4i0IIQQRJ7hW5FLRwABBBBAAAEEEEBgnAJhS7PSL/4r+T6HcV4t50YAAQQQQAABBBBAAIFWCAQOIq24JjqBAAIIIIAAAggggAACLRcgiLR8gOgeAggggAACCCCAAAKTKEAQmcRR5ZoQQAABBBBAAAEEEGi5AEGk5QNE9xBAAAEEEEAAAQQQmEQBgsgkjirXhAACCCCAAAIIIIBAywUIIi0fILqHAAIIIIAAAggggMAkChBEJnFUJ+ia7t27N0FXw6UggAACCCCAAAJ7W+D48ePBLoAgEoyShhBAAAEEEEAAAQQQQKCqAEGkqhTHIYAAAggggAACCCCAQDABgkgwShpCAAEEEEAAAQQQQACBqgIEkapSHIcAAggggAACCCCAAALBBAgiwShpCAEEEEAAAQQQQAABBKoKEESqSnEcAggggAACCCCAAAIIBBMgiASjpCEEEEAAAQQQQAABBBCoKkAQqSrFcQgggAACCCCAAAIIIBBMgCASjJKGEEAAAQQQQAABBBBAoKoAQaSqFMchgAACCCCAAAIIIIBAMIH/AcPNk65wcnoGAAAAAElFTkSuQmCC

The Google API is smart enough to guess what the user wants to type, even with spelling mistake, so I can load this in my rowList :

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAAEHCAYAAAAphBrmAAAgAElEQVR4Xu2dv27cuBbGz9ziIgHuC7hLsU4xmG47+wlsN67cOsACSbbyNCkCGEjjIkCa2SrwdG5duYk3L+B02xnGRbzFVou8QYILLOZClCiRlHhIUZRGfz53iUb88yP1zSGH59Nss9lsCH8gAAIgMEACMwjYAEcNTQYBEBAEIGCYCCAAAoMlAAEb7NCh4SAAAhAwzAEQAIHBEoCADXbo0HAQAAFWwP744w/6+eefQQkEQAAEekkAAtbLYUGjQAAEfAhAwHwo4TMgAAK9JAABS4blz99of/eB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sgdk///yz+de//jXYDqDhIAAC0yUw++9//7vZ2dmh//znPwQhm+5EQM9BYIgE/g/FKwmtVAfHGQAAAABJRU5ErkJggg==

		@Order(4500)
		public class MyAdresseSmartField extends AbstractProposalField<String> {
			@Override
			protected String getConfiguredLabel() {
				return TEXTS.get("Adressev2");
			}
			@Override
			protected void execInitField() {
				token = new PlaceAutocompleteRequest.SessionToken();
				super.execInitField();
			}
			@Override
			protected void lookupByTextInternal(String text, boolean synchronous) {
			List<LookupRow<String>> rows = new ArrayList<>();
                          //...
			  //loading rows from api using text variable	((AdresseValidationLookupCall)this.getLookupCall()).setLookupRows(rows);
				super.lookupByTextInternal(text, synchronous);
			}			

			@Override
			protected Class<? extends ILookupCall<String>> getConfiguredLookupCall() {
				return (Class<? extends ILookupCall<String>>) AdresseValidationLookupCall.class;
			}
			@Override
			public boolean isSearchRequired() {
				return true;
			}
		}


Maybe what I am trying to do is against the essence of smart field, if that is the case let me know and I will try to create a js widget instead.

Amazing work on version 11 :)

[Updated on: Tue, 23 March 2021 12:21]

Report message to a moderator

Re: Display all rows in proposalfield [message #1839534 is a reply to message #1839503] Tue, 23 March 2021 12:52 Go to previous message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
Hi Nico

I'd recommend not to override Scout methods named "internal", as they are not part of the public API and may change any time. Instead use the concept outlined here: https://eclipsescout.github.io/11.0/technical-guide.html#lookup-call

The "AdresseValidationLookupCall" is a good start, but I'd recommend to implement a dedicated service that does the lookup work and calls the Google API.
Reference that service in your LookupCall class. Dummy code:

public class AdresseValidationLookupCall extends LookupCall<String> {
  @Override
  protected Class<? extends ILookupService<String>> getConfiguredService() {
    return IAdresseValidationLookupService.class;
  }
}


Then implement the service class like this. In your case the important method here is getDataByText, which will receive the search query the user has typed into the proposal field and returns the collection of lookup rows to be displayed in the UI.

public class AdresseValidationLookupService implements IAdresseValidationLookupService {

  @Override
  public List<? extends ILookupRow<String>> getDataByText(ILookupCall<String> call0) {
    // your code to call google here...
  }

  // other lookup methods... if required

}


Hope that helps. Cheers,
André


Eclipse Scout Homepage | Documentation | GitHub

[Updated on: Wed, 24 March 2021 06:44]

Report message to a moderator

Previous Topic:Eclipse Scout 11 is out now!
Next Topic:Scout Based Desktop Product i.e. IDE
Goto Forum:
  


Current Time: Thu Feb 29 02:00:36 GMT 2024

Powered by FUDForum. Page generated in 0.02413 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top