isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: autoComplete on parameter working in 1.12.1?
Date Thu, 05 May 2016 05:57:51 GMT
Hmm, I can't see a mistake here.  Investigating...

On 5 May 2016 at 03:41, Stephen Cameron <steve.cameron.62@gmail.com> wrote:

> Hi,
>
> I am trying to use autoCompleteNXxxx() for the first time and not having
> any success with 1.12.1, it just doesn't seem to fire my routine at all. I
> have the following two methods an autoComplete and a validate, the first
> doesn't get used but the second does.
>
>     public List<String> autoComplete2UpdateStreetAddress(@MinLength(3)
> String search) {
>         return suburbs.listSuburbNamesLike(search);
>     }
>
>     public String validate2UpdateStreetAddress(String name) {
>         Suburb s = suburbs.suburbForName(name);
>         if (s != null) {
>             return null;
>         } else
>             return "Unknown suburb, please check spelling and use proper
> case";
>     }
>
> If someone can confirm its working for them in 1.12.1 or else tell me I
> have made a mistake.
>
> Steve Cameron
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message