You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2015/02/13 16:23:39 UTC

[3/6] syncope git commit: [SYNCOPE-639] #resolve

[SYNCOPE-639] #resolve


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/070c0770
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/070c0770
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/070c0770

Branch: refs/heads/2_0_X
Commit: 070c0770d814517e1c8ed772d98797b24de3fcd9
Parents: 223c0cd
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri Feb 13 16:19:55 2015 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri Feb 13 16:19:55 2015 +0100

----------------------------------------------------------------------
 .../org/apache/syncope/console/pages/NotificationModalPage.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/070c0770/console/src/main/java/org/apache/syncope/console/pages/NotificationModalPage.java
----------------------------------------------------------------------
diff --git a/console/src/main/java/org/apache/syncope/console/pages/NotificationModalPage.java b/console/src/main/java/org/apache/syncope/console/pages/NotificationModalPage.java
index a44d179..520855f 100644
--- a/console/src/main/java/org/apache/syncope/console/pages/NotificationModalPage.java
+++ b/console/src/main/java/org/apache/syncope/console/pages/NotificationModalPage.java
@@ -189,14 +189,14 @@ class NotificationModalPage extends BaseModalPage {
         recipientAttrType.setChoices(new ArrayList<IntMappingType>(
                 IntMappingType.getAttributeTypes(AttributableType.USER,
                         EnumSet.of(IntMappingType.UserId, IntMappingType.Password))));
-        recipientAttrType.setRequired(true);
+        recipientAttrType.addRequiredLabel();
         form.add(recipientAttrType);
 
         final AjaxDropDownChoicePanel<String> recipientAttrName = new AjaxDropDownChoicePanel<String>(
                 "recipientAttrName", new ResourceModel("recipientAttrName", "recipientAttrName").getObject(),
                 new PropertyModel<String>(notificationTO, "recipientAttrName"));
         recipientAttrName.setChoices(getSchemaNames(recipientAttrType.getModelObject()));
-        recipientAttrName.setRequired(true);
+        recipientAttrName.addRequiredLabel();
         form.add(recipientAttrName);
 
         recipientAttrType.getField().add(new AjaxFormComponentUpdatingBehavior(Constants.ON_CHANGE) {