um, try: public List<AbstractSelectableNumberElement> autoComplete1AddOption(VoipNumberArticle option, final String search)
? On 16 September 2014 13:27, Erik de Hair <[email protected]> wrote: > Hi Da, > > I have an action method: > > public Subscription addOption(VoipNumberArticle option, > AbstractSelectableNumberElement phoneNumberPrefix) > > and I tried the following autocomplete methods > > public List<AbstractSelectableNumberElement> > autoComplete1AddOption(VoipNumberArticle > option, AbstractSelectableNumberElement phoneNumberPrefix, final String > search) > > public List<AbstractSelectableNumberElement> autoComplete1AddOption(final > String search, VoipNumberArticle option, AbstractSelectableNumberElement > phoneNumberPrefix) > > but they both 'have probably been orphaned'. > > Any clue? Thanks, > Erik > > > > On 09/16/2014 02:17 PM, Dan Haywood wrote: > >> I'm pretty sure it works in much the same way, just use "autoComplete" as >> the prefix instead of choices, and specify the dependent parameter types. >> >> Dan >> >> On 16 September 2014 13:10, Erik de Hair <[email protected]> wrote: >> >> Hi, >>> >>> Is there some way to use an autocomplete with dependent parameters like >>> you can with a 'choices' method? >>> >>> Thanks, >>> Erik >>> >>> >
