[forge-issues] [JBoss JIRA] (FORGE-2290) Using an UICompleter does not work in interactive mode in the CLI
George Gastaldi (JIRA)
issues at jboss.org
Fri Mar 20 09:11:19 EDT 2015
[ https://issues.jboss.org/browse/FORGE-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi updated FORGE-2290:
-----------------------------------
Fix Version/s: 2.x Future
> Using an UICompleter does not work in interactive mode in the CLI
> -----------------------------------------------------------------
>
> Key: FORGE-2290
> URL: https://issues.jboss.org/browse/FORGE-2290
> Project: Forge
> Issue Type: Enhancement
> Components: UI - Shell
> Affects Versions: 2.15.2.Final
> Reporter: Claus Ibsen
> Fix For: 2.x Future
>
>
> I have a UIInput where the end user should enter a class name for a Camel route builder class.
> So I have a completer that implements the logic to find all route builders in the java source
> {code}
> routeBuilder.setCompleter(new RouteBuilderCompleter(facet));
> {code}
> And that only works from cli in non interactive mode, eg
> {code}
> [foo]$ camel-new-endpoint-routebuilder --componentName smtp --instanceName mail --routeBuilder com.foo.
> com.foo.MyRoute com.foo.YourRoute
> {code}
> When pressing TAB it shows the 2 route builder classes I have.
> But in interactive mode the TAB does not work
> {code}
> Press <ENTER> to confirm, or <CTRL>+C to cancel.
> ? componentName (Name of component type to add): [0-180] 146
> ? routeBuilder (The RouteBuilder class to use): co
> {code}
> I do not get any suggestions when pressing TAB.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the forge-issues
mailing list