Skip to content

Commit

Permalink
added user type for focus type field
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Mar 16, 2018
1 parent 2c1f9b3 commit 1ed3979
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -444,8 +444,7 @@ private Panel createTypedInputComponent(String id) {
new PropertyModel<>(getModel(), baseExpression));
}
if (AssignmentType.F_FOCUS_TYPE.equals(definition.getName())){
List<QName> typesList = WebComponentUtil.createAbstractRoleTypeList();
typesList.remove(AbstractRoleType.COMPLEX_TYPE);
List<QName> typesList = WebComponentUtil.createFocusTypeList();
DropDownChoicePanel<QName> typePanel = new DropDownChoicePanel<QName>(id, new PropertyModel(getModel(), baseExpression),
Model.ofList(typesList), new QNameObjectTypeChoiceRenderer(), true);
typePanel.getBaseFormComponent().add(new EmptyOnChangeAjaxFormUpdatingBehavior());
Expand Down

0 comments on commit 1ed3979

Please sign in to comment.