diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2015-05-05 16:34:30 +0200 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2015-05-05 16:34:30 +0200 |
commit | b4e8abf78acf92e6a40606ddd02d381e73a0d487 (patch) | |
tree | e8c2990878c1cd253ed36da6a13dcc4eb9ca54f8 | |
parent | d086e2f7c278b0b5034d058fe8deff34927bf811 (diff) | |
download | moa-id-spss-b4e8abf78acf92e6a40606ddd02d381e73a0d487.tar.gz moa-id-spss-b4e8abf78acf92e6a40606ddd02d381e73a0d487.tar.bz2 moa-id-spss-b4e8abf78acf92e6a40606ddd02d381e73a0d487.zip |
added required status to consent list
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java index 865cec5a3..baa2f1b40 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java @@ -150,7 +150,7 @@ public class ConsentEvaluator implements IAction { // assemble table String table = ""; for (PersonalAttribute current : container.getRequest().getPersonalAttributeList()) - table += "<tr><td><input type=\"checkbox\" checked=\"yes\" name=\"" + current.getName() + "\"></td><td>" + current.getName() + "</td></tr>\n"; + table += "<tr><td><input type=\"checkbox\" checked=\"yes\" name=\"" + current.getName() + "\"></td><td>" + current.getName() + (current.isRequired() ? "" : " (optional)") + "</td></tr>\n"; context.put("tablecontent", table); for(Entry<String, String> current : oaParam.getFormCustomizaten().entrySet()) |