'could' correspond or 'should' correspond? Is this expected to work right now, or is this a desire for the future.
I'll try the AggregateCompleter. - Joel > -----Original Message----- > From: Jean-Baptiste Onofré [mailto:[email protected]] > Sent: Tuesday, August 21, 2012 8:33 AM > To: [email protected] > Subject: Re: Command with Multiple Arguments > > Hi Joel, > > by default, the list of completer could correspond to the arguments order. > You can also use a AggregateCompleter and handle the arguments > completion by yourself. > > Regards > JB > > On 08/21/2012 02:36 PM, Joel Schuster wrote: > > Is there a way to assign separate completers to different arguments? > > If I have a command with two arguments for example, how do I assign > > different completers? I would have assumed that even using a single > > completer I could key off of the cursor argument, but its always 0. > > > > For example, the following does not work, but would seem intuitive for > > this problem. > > > > <commandname=/"test/assign"/> > > > > <actionclass=/"org.example.console.commands.MyAssign"/> > > > > <propertyname=/"myCommander"/ ref=/"myCommander"/ /> > > > > <propertyname=/"eventAdmin"/ ref=/"eventAdmin"/ /> > > > > </action> > > > > <completers> > > > > <refcomponent-id=/"arg1Completer"/ /> > > > > <refcomponent-id=/"arg2Completer"/ /> > > > > <null/> > > > > </completers> > > > > </command> > > > > Description: OSI Logo - small > > > > *Joel Schuster* > > > > Operational Systems, Inc. > > > > 6514 Fairways Drive > > > > Longmont, CO 80503 > > > > Phone: 719 445 8789 > > > > Email: [email protected] > > > > Web: www.opsysinc.com <http://www.opsysinc.com/> > > > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com
smime.p7s
Description: S/MIME cryptographic signature
