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 it's always 0.

 

For example, the following does not work, but would seem intuitive for this
problem.

 

<command name="test/assign">

                                    <action
class="org.example.console.commands.MyAssign">

                                                <property name="myCommander"
ref="myCommander" />

                                                <property name="eventAdmin"
ref="eventAdmin" />

                                    </action>

                                    <completers>

                                                <ref
component-id="arg1Completer" />

                                                <ref
component-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:  <http://www.opsysinc.com/> www.opsysinc.com

 

<<image001.jpg>>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to