Skip to content

Commit

Permalink
Fixed completion issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Oct 18, 2013
1 parent 968b770 commit 930223f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class RestEndpointFromEntityWizard extends AbstractJavaEECommand implemen
private UISelectOne<String> contentType;

@Inject
@WithAttributes(label = "Targets", required = true, type = InputType.CHECKBOX)
@WithAttributes(label = "Targets", required = true)
private UISelectMany<JavaClass> targets;

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ else if (inputType == InputType.DIRECTORY_PICKER && cwd.isDirectory())
{
strategy = new FileOptionCompleter(cwd, Filter.DIRECTORY);
}
else if (inputType == InputType.CHECKBOX || Boolean.class
.isAssignableFrom(component.getValueType()))
{
strategy = null;
}
else if (component instanceof SelectComponent)
{
strategy = new SelectComponentOptionCompleter((SelectComponent<?, Object>) component, converterFactory);
Expand Down

0 comments on commit 930223f

Please sign in to comment.